- 13 Jan, 2021 1 commit
-
-
Sam Foster authored
Differential Revision: https://phabricator.services.mozilla.com/D101410
-
- 11 Dec, 2020 1 commit
-
-
Mark Striemer authored
Differential Revision: https://phabricator.services.mozilla.com/D98679
-
- 10 Dec, 2020 1 commit
-
-
Mark Striemer authored
When changing printers one of them could be slower than another. If you change to a slow printer and back to an already loaded/fast printer then the slow printer shouldn't overwrite the settings once it finally loads. Example: Start print on PDF printer, switch to a physical printer and back to PDF. If the physical printer had to be contacted to pull settings this operation could take a few seconds, at which point the settings from the physical printer could overwrite the PDF printer settings. Differential Revision: https://phabricator.services.mozilla.com/D99135
-
- 09 Dec, 2020 5 commits
-
-
Sam Foster authored
Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod Differential Revision: https://phabricator.services.mozilla.com/D96737
-
Mihai Alexandru Michis authored
CLOSED TREE
-
Mark Striemer authored
Differential Revision: https://phabricator.services.mozilla.com/D98679
-
Csoregi Natalia authored
Backed out 2 changesets (bug 1654684) for browser chrome failures with .printPreviewCurrentPageNumber. CLOSED TREE Backed out changeset 2fdc1b5569e1 (bug 1654684) Backed out changeset 8ae1d037aa9c (bug 1654684)
-
Sam Foster authored
Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod Differential Revision: https://phabricator.services.mozilla.com/D96737
-
- 07 Dec, 2020 2 commits
-
-
Brindusan Cristian authored
Backed out changeset 5a0333ca8a19 (bug 1654684) Backed out changeset 87d06a4d6ab6 (bug 1654684)
-
Sam Foster authored
Bug 1654684 - Add sheet-indicator and preview navigation to the print preview. r=mstriemer,fluent-reviewers,flod Differential Revision: https://phabricator.services.mozilla.com/D96737
-
- 06 Nov, 2020 3 commits
-
-
Razvan Maries authored
Backed out changeset 905f54a1dfed (bug 1666734) for perma failures on test_get_printer_paper_sizes.html. CLOSED TREE
-
Erik Nordin authored
Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily This patch adds a new checkbox to the print UI for two-sided printing. The checkbox is only visible if the currently selected printer supports two-sided printing. Notable Changes: - Add new section and checkbox for two-sided printing. - Add new getter to settings proxy for supportsDuplex. - Add new setter/getter to settings proxy for printDuplex. - Add new test for no duplex with PDF printer. - Add new test for toggle duplex in portrait orientation. - Add new test for toggle duplex in landscape orientation. - Add new test for toggle orientation with duplex checked. - Correctly set duple mode in GTK print settings. Depends on D94026 Differential Revision: https://phabricator.services.mozilla.com/D93621
-
Erik Nordin authored
Bug 1666734 - Add two-sided printing checkbox to print UI r=sfoster,fluent-reviewers,flod,AlaskanEmily This patch adds a new checkbox to the print UI for two-sided printing. The checkbox is only visible if the currently selected printer supports two-sided printing. Notable Changes: - Add new section and checkbox for two-sided printing. - Add new getter to settings proxy for supportsDuplex. - Add new setter/getter to settings proxy for printDuplex. - Add new test for no duplex with PDF printer. - Add new test for toggle duplex in portrait orientation. - Add new test for toggle duplex in landscape orientation. - Add new test for toggle orientation with duplex checked. - Correctly set duple mode in GTK print settings. Depends on D94026 Differential Revision: https://phabricator.services.mozilla.com/D93621
-
- 14 Oct, 2020 2 commits
-
-
Razvan Maries authored
Backed out changeset 6fc2f6bba0a4 (bug 1666523) for perma failures on browser_print_paper_sizes.js. CLOSED TREE
-
Sam Foster authored
* Only use paperWidth/paperHeight values from the settings when searching for a paper size match * Calculate unit-appropriate values for paperWidth, paperHeight and write them to settings whenever a paper size is selected * Always write paperSizeUnit and the width/height values to settings to ensure any bad data from prefs is overwritten Differential Revision: https://phabricator.services.mozilla.com/D91021
-
- 08 Oct, 2020 1 commit
-
-
Emma Malysz authored
Differential Revision: https://phabricator.services.mozilla.com/D92163
-
- 07 Oct, 2020 4 commits
-
-
Emilio Cobos Álvarez authored
The browsing context group id needs to be an 64-bit integer. Otherwise when having a browsing context created by a child process, if it goes over INT32_MAX, parsing fails, and we end up creating a new BCG, which can end up in the wrong process, etc. Differential Revision: https://phabricator.services.mozilla.com/D92803
-
Mark Striemer authored
Bug 1661984 - Add a browser mochitest to make sure printing in a container tab doesn't crash. r=emilio,hiro Differential Revision: https://phabricator.services.mozilla.com/D88927
-
Emilio Cobos Álvarez authored
The browsing context group id needs to be an 64-bit integer. Otherwise when having a browsing context created by a child process, if it goes over INT32_MAX, parsing fails, and we end up creating a new BCG, which can end up in the wrong process, etc. Differential Revision: https://phabricator.services.mozilla.com/D92803
-
Emilio Cobos Álvarez authored
This allows to use the feature from the context menu and is very straight-forward. This has the benefit of working with fission (as print from the focused frame) and so on. Making a checkbox on the UI on top of this is doable, but it is a lot more complex (requires a bunch of both front-end and platform work) because undoing this implies restoring the DOM which "print selection" removes. I think the context menu entry is very useful regardless of whether we add a checkbox to undo it, and other browsers (with smaller context menus) seem to agree. Differential Revision: https://phabricator.services.mozilla.com/D92205
-
- 08 Oct, 2020 2 commits
-
-
Narcis Beleuzu authored
Backed out changeset 7c05a131c811 (bug 1668476) for bc failure on /browser_ext_tabs_printPreview.js . CLOSED TREE
-
Emma Malysz authored
Differential Revision: https://phabricator.services.mozilla.com/D92163
-
- 01 Oct, 2020 1 commit
-
-
Sam Foster authored
Differential Revision: https://phabricator.services.mozilla.com/D91498
-
- 30 Sep, 2020 1 commit
-
-
Jonathan Watt authored
Bug 1667953 p2. Fixup corrupted 'Save to PDF' printing pref for affected users. r=emalysz, a=jcristau Differential Revision: https://phabricator.services.mozilla.com/D91866
-
- 29 Sep, 2020 1 commit
-
-
Emilio Cobos Álvarez authored
Bug 1667723 - Don't block opening the print dialog if the page sandbox auxiliary navigations. r=nika, a=RyanVM Matches other browsers and fixes the regression. Print dialogs really aren't an auxiliary navigation, even though we implement them similarly. Differential Revision: https://phabricator.services.mozilla.com/D91739
-
- 25 Sep, 2020 1 commit
-
-
Emilio Cobos Álvarez authored
Bug 1667342 - Make the "deferred window close" keep making sense after bug 1636728. r=smaug, a=jcristau This was only being checked on OnDonePrinting() which isn't called in the original docshell. Move it to the window because we don't need to care about document viewers getting closed during print operations, they're top level browsers that don't run script. Differential Revision: https://phabricator.services.mozilla.com/D91416
-
- 01 Oct, 2020 1 commit
-
-
Sam Foster authored
Differential Revision: https://phabricator.services.mozilla.com/D91498
-
- 30 Sep, 2020 3 commits
-
-
Emma Malysz authored
Differential Revision: https://phabricator.services.mozilla.com/D90636
-
Jonathan Watt authored
Differential Revision: https://phabricator.services.mozilla.com/D91866
-
Razvan Maries authored
Backed out changeset 82da4e925317 (bug 1666827) for perma failures on browser_preview_navigate.js. CLOSED TREE
-
- 29 Sep, 2020 2 commits
-
-
Emilio Cobos Álvarez authored
Differential Revision: https://phabricator.services.mozilla.com/D91527
-
Emilio Cobos Álvarez authored
Bug 1667723 - Don't block opening the print dialog if the page sandbox auxiliary navigations. r=nika Matches other browsers and fixes the regression. Print dialogs really aren't an auxiliary navigation, even though we implement them similarly. Differential Revision: https://phabricator.services.mozilla.com/D91739
-
- 28 Sep, 2020 2 commits
-
-
Sebastian Hengst authored
Backed out changeset ce43b034a221 (bug 1666827) for failing browser-chrome's browser_preview_navigate.js
-
Emilio Cobos Álvarez authored
Differential Revision: https://phabricator.services.mozilla.com/D91527
-
- 01 Dec, 2020 1 commit
-
-
Sam Foster authored
Differential Revision: https://phabricator.services.mozilla.com/D97818
-
- 18 Sep, 2020 2 commits
-
-
Sebastian Hengst authored
Backed out changeset 5d68f435c87f (bug 1661984) for failing browser-chrome's browser_system_dialog_subdialog_hidden.js. CLOSED TREE
-
Hiroyuki Ikezoe authored
Bug 1661984 - Add a browser mochitest to make sure printing in a container tab doesn't crash. r=emilio,hiro Differential Revision: https://phabricator.services.mozilla.com/D88927
-
- 02 Nov, 2020 1 commit
-
-
Emma Malysz authored
Differential Revision: https://phabricator.services.mozilla.com/D94846
-
- 06 Sep, 2020 1 commit
-
-
Emilio Cobos Álvarez authored
Not really a fan of this, but I can't think of a better alternative really... Ideas welcome :) The main issue is that in bug 1662975 we made window.print() not return until the user has closed the print / print preview dialog (as it is needed for some use cases). This matches other browsers, too. We use an nsAutoSyncOperation here, in order not to violate the run-to-completion invariants, which turns off micro-tasks, timers, etc... However we'd still want promises inside mozPrintCallback to resolve and such, which is a bit contradictory. It is really awkward to have this behavior change based on whether we have a print callback... Differential Revision: https://phabricator.services.mozilla.com/D89298
-
- 31 Aug, 2020 1 commit
-
-
Emilio Cobos Álvarez authored
This was a pre-existing bug that my patch uncovered it. Co-Authored-By:
Hiroyuki Ikezoe <hikezoe.birchill@mozilla.com> Differential Revision: https://phabricator.services.mozilla.com/D88772
-