gecko-dev/toolkit
Emma Malysz 90d1ea0e46 Bug 499640: add frontend support for non-contiguous page ranges r=mstriemer,fluent-reviewers
A comma will separate the list of ranges, and a dash indicates a page range.
If the print preview returns an empty page, we send an update event
to display all pages and invalidate the form.

This patch also changes how we create deferred tasks and instead has the
PrintEventHandler create them. Depending on the type of setting changed,
the PrintEventHandler either immediately handles the event or arms the
delayed settings change task. If the input is invalid, we cancel the settings
change and disarm the task. We finalize any pending tasks when the user prints
and recreate them in case the print was "unsuccessful," meaning the form
is now invalid or the user cnacelled saving as a pdf.

Differential Revision: https://phabricator.services.mozilla.com/D95222
2020-12-07 21:19:16 +00:00
..
actors Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE 2020-12-07 12:59:10 +02:00
components Bug 499640: add frontend support for non-contiguous page ranges r=mstriemer,fluent-reviewers 2020-12-07 21:19:16 +00:00
content Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE 2020-12-07 12:59:10 +02:00
crashreporter Backed out changeset f1d785de7ab3 (bug 1661153) for causing symbols bustages. a=backout. 2020-12-03 00:49:17 +02:00
docs
library Bug 1677766 - P1: Update cubeb-coreaudio to 1e1222d r=cubeb-reviewers,padenot 2020-11-18 19:35:40 +00:00
locales Bug 499640: add frontend support for non-contiguous page ranges r=mstriemer,fluent-reviewers 2020-12-07 21:19:16 +00:00
modules Bug 1635561 - Add Locale to MozIntl; r=zbraniecki 2020-12-07 19:27:54 +00:00
mozapps Backed out changeset 98c3e6255c58 (bug 1597600) for browser_installssl.js failures CLOSED TREE 2020-12-07 21:01:50 +02:00
pluginproblem Bug 1675349: Replace plugin behavior with a basic fallback r=jmathies,mixedpuppy 2020-11-18 15:55:34 +00:00
profile Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
system Bug 1680768: Remove unused argument aPrincipal within closeAlert() in nsIAlertsService.idl r=nika 2020-12-07 17:44:34 +00:00
themes Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE 2020-12-07 12:59:10 +02:00
xre Bug 1679272 - Include ScopeExit.h exactly where used. r=andi 2020-12-07 14:25:59 +00:00
.eslintrc.js
l10n-registry.manifest
moz.build Bug 1654103: Standardize on Black for Python code in `mozilla-central`. 2020-10-26 18:34:53 +00:00
moz.configure Bug 1675441 - Use an x64 Widevine GMP Process for Apple Silicon Native Builds r=bryce,spohl 2020-11-11 02:37:57 +00:00
toolkit.mozbuild