- Jan 15, 2021
-
-
Daniel Holbert authored
Bug 1686494 part 2: When gathering printed canvas elements for PDF.js, skip canvases on pages that aren't in the user's custom print range. r=TYLin This code currently does a recursive tree-traversal to get a list of all canvas elements that might be used for PDF.js content, so that we can invoke the appropriate callbacks on them to let PDF.js prepare for printing. In this patch, I'm adjusting the outermost level of that traversal to make it aware of the fact that PrintedSheetFrames may now contain many skipped nsPageFrames whose content we don't want to render. Depends on D101941 Differential Revision: https://phabricator.services.mozilla.com/D101942
-
Daniel Holbert authored
Bug 1686494 part 1: Change return type of nsPageSequence::GetCurrentSheetFrame to the actual concrete type, PrintedSheetFrame*, instead of nsIFrame*. r=TYLin This patch doesn't change behavior; it just adds a static_cast to a more-specific type that we know the variable has, and updates the signature and callsites. (The next patch will make use of the fact that we know this type.) Differential Revision: https://phabricator.services.mozilla.com/D101941
-
Jeff Gilbert authored
Differential Revision: https://phabricator.services.mozilla.com/D101948
-
Dan Minor authored
As is the case with GTK, Android provides an OS override to display times in AM/PM or 24 hour format. This moves the code for rewriting skeletons from the GTK specific code to OSPreferences, and calls it from the Android OSPreferences implementation. This was tested manually by visiting the file:/// uri. I don't believe this is feasible to test from automation, as it would require changing Android OS settings from within our test code. Differential Revision: https://phabricator.services.mozilla.com/D101641
-
Neil Deakin authored
Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D100803
-
Barret Rennie authored
This patch is a minor cleanup based on prior feedback to make all of IOUtils consistent. Differential Revision: https://phabricator.services.mozilla.com/D100058
-
Barret Rennie authored
Differential Revision: https://phabricator.services.mozilla.com/D99155
-
Barret Rennie authored
Differential Revision: https://phabricator.services.mozilla.com/D99154
-
Barret Rennie authored
RunOnBackgroundThread has been renamed to RunOnBackgroundThreadAndResolve. The body dealing with calling InvokeAsync for calling a function on the background event target and returning a MozPromise has been refactored into a new function, RunOnBackgroundThread. This allows us to have more complicated IOUtils methods that do not simply resolve their promises to whatever is returned by the background methods. Differential Revision: https://phabricator.services.mozilla.com/D99002
-
Scott authored
Differential Revision: https://phabricator.services.mozilla.com/D101949
-
Sam Foster authored
Differential Revision: https://phabricator.services.mozilla.com/D101694
-
Tim Huang authored
This patch adds two tests, one for the mochitest and another for WPT. Both tests will test the case of loading the about:blank page. And mochitest tests the case of setting document.domain additionally. The WPT framework won't support testing the document.domain case, so there is no such test in the WPT. Differential Revision: https://phabricator.services.mozilla.com/D101360
-
Tim Huang authored
Bug 1685807 - Part 1: Not to reset the window.name if it's navigating to an about:blank page from a non-about:blank page. r=smaug This patch changes the checking condition about the cases that we don't need to reset the window.name. Also, we take the domain into account when checking the principals of the old and new documents. This would make the window.name to be reset if the document.domain was changed to a cross-origin. Differential Revision: https://phabricator.services.mozilla.com/D101359
-
Markus Stange authored
This was an oversight in the original patch. I forgot to include the "bottom" variant in the @media scope. Differential Revision: https://phabricator.services.mozilla.com/D101952
-
André Bargull authored
Depends on D101917 Differential Revision: https://phabricator.services.mozilla.com/D101918
-
André Bargull authored
Depends on D101916 Differential Revision: https://phabricator.services.mozilla.com/D101917
-
André Bargull authored
Depends on D101915 Differential Revision: https://phabricator.services.mozilla.com/D101916
-
André Bargull authored
Depends on D101914 Differential Revision: https://phabricator.services.mozilla.com/D101915
-
André Bargull authored
Depends on D101913 Differential Revision: https://phabricator.services.mozilla.com/D101914
-
André Bargull authored
Depends on D101912 Differential Revision: https://phabricator.services.mozilla.com/D101913
-
André Bargull authored
Depends on D101911 Differential Revision: https://phabricator.services.mozilla.com/D101912
-
André Bargull authored
Depends on D101910 Differential Revision: https://phabricator.services.mozilla.com/D101911
-
André Bargull authored
Warp only uses `LSameValueD`, so we can remove `LSameValue{V,VM}` and also directly use `AllDoublePolicy` for `MSameValue`. Depends on D101909 Differential Revision: https://phabricator.services.mozilla.com/D101910
-
André Bargull authored
Depends on D101908 Differential Revision: https://phabricator.services.mozilla.com/D101909
-
André Bargull authored
Bug 1686692 - Part 34: Inline CodeGenerator::emitArrayPush() and remove the "V" suffix from "LArrayPushV". r=jandem Depends on D101907 Differential Revision: https://phabricator.services.mozilla.com/D101908
-
André Bargull authored
`LArrayPushT` was effectively disabled in bug 1401624, when `MArrayPush`'s policy was changed from `NoFloatPolicy` to `BoxPolicy`. Depends on D101906 Differential Revision: https://phabricator.services.mozilla.com/D101907
-
André Bargull authored
Depends on D101905 Differential Revision: https://phabricator.services.mozilla.com/D101906
-
André Bargull authored
Depends on D101904 Differential Revision: https://phabricator.services.mozilla.com/D101905
-
André Bargull authored
Depends on D101903 Differential Revision: https://phabricator.services.mozilla.com/D101904
-
André Bargull authored
Depends on D101902 Differential Revision: https://phabricator.services.mozilla.com/D101903
-
André Bargull authored
Depends on D101901 Differential Revision: https://phabricator.services.mozilla.com/D101902
-
André Bargull authored
Depends on D101900 Differential Revision: https://phabricator.services.mozilla.com/D101901
-
André Bargull authored
Depends on D101899 Differential Revision: https://phabricator.services.mozilla.com/D101900
-
André Bargull authored
Depends on D101897 Differential Revision: https://phabricator.services.mozilla.com/D101899
-
André Bargull authored
Depends on D101896 Differential Revision: https://phabricator.services.mozilla.com/D101897
-
André Bargull authored
Depends on D101895 Differential Revision: https://phabricator.services.mozilla.com/D101896
-
André Bargull authored
Depends on D101892 Differential Revision: https://phabricator.services.mozilla.com/D101895
-
André Bargull authored
Depends on D101891 Differential Revision: https://phabricator.services.mozilla.com/D101892
-
André Bargull authored
Depends on D101890 Differential Revision: https://phabricator.services.mozilla.com/D101891
-
André Bargull authored
Depends on D101889 Differential Revision: https://phabricator.services.mozilla.com/D101890
-