Граф коммитов

66367 Коммитов

Автор SHA1 Сообщение Дата
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
Dan Minor e96efeb12e Bug 1635561 - Add Locale to MozIntl; r=zbraniecki
This adds Locale to MozIntl and uses it to replaces some instances where we
used regular expressions to parse language tags. It is based on work done by
André Bargull in Bug 1639515.

Differential Revision: https://phabricator.services.mozilla.com/D98393
2020-12-07 19:27:54 +00:00
Dan Minor 9c8c96ad54 Bug 1635561 - Add ListFormat to MozIntl; r=zbraniecki
Keeping MozIntl in sync with Intl will allow people to use MozIntl consistently
until we're ready to remove it completely. This is based on work done by André
Bargull for Bug 1639515.

Differential Revision: https://phabricator.services.mozilla.com/D98392
2020-12-07 19:27:46 +00:00
Dan Minor 9cef0be9aa Bug 1635561 - Remove unnecessary wrappers around Intl in MozIntl; r=zbraniecki
Not that we use RegionalPrefLocales rather than AppLocale in
xpc_LocalizeRuntime, the wrappers in MozIntl to set this up are no longer
needed.

Differential Revision: https://phabricator.services.mozilla.com/D98391
2020-12-07 19:27:43 +00:00
Mats Palmgren 961ecbeca0 Bug 1676841 - Improve layout of about:telemetry in print media. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D98381
2020-12-06 00:59:29 +00:00
Bogdan Tara ade4d82c59 Backed out changeset 98c3e6255c58 (bug 1597600) for browser_installssl.js failures CLOSED TREE 2020-12-07 21:01:50 +02:00
Christoph Kerschbaumer 01b80dad31 Bug 1680768: Remove unused argument aPrincipal within closeAlert() in nsIAlertsService.idl r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98776
2020-12-07 17:44:34 +00:00
R. Martinho Fernandes c99fe51d2d Bug 1597600 - make certificate overrides depend on origin attributes r=keeler,geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D91962
2020-12-07 17:10:52 +00:00
Jan-Erik Rediger 3a44990fe0 Bug 1680230 - Update Glean to 33.7.0. r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D98905
2020-12-07 14:32:58 +00:00
Victor Porof d93f852725 Bug 1680230 - Part 1: Update rkv to 0.16.0, r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98594
2020-12-07 07:24:29 +00:00
Victor Porof c02ec2de44 Bug 1654192 - Part 3: Use manager instead of creating unique instances every time, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D98482
2020-12-07 07:24:32 +00:00
Victor Porof 86fb638006 Bug 1654192 - Part 2: Update xulstore to use RKV in safe mode, r=nanj,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D85315
2020-12-07 07:24:40 +00:00
Victor Porof 9c281e0cd5 Bug 1654192 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85314
2020-12-07 07:24:34 +00:00
Simon Giesecke 1c53236b70 Bug 1679272 - Include ScopeExit.h exactly where used. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D98888
2020-12-07 14:25:59 +00:00
Brindusan Cristian 6474307318 Backed out 2 changesets (bug 1654684) for bc failures at browser_ext_tabs_printPreview. CLOSED TREE
Backed out changeset 5a0333ca8a19 (bug 1654684)
Backed out changeset 87d06a4d6ab6 (bug 1654684)
2020-12-07 12:59:10 +02:00
Cristina Coroiu 6b41a63046 Merge mozilla-central to autoland a=merge 2020-12-07 11:42:35 +02:00
Cristina Coroiu 1843375acb Backed out 6 changesets (bug 1553982) for breaking updates on Linux (bug 1680935) a=backout
Backed out changeset 78dce99516dd (bug 1553982)
Backed out changeset 40d67c6dfdf3 (bug 1553982)
Backed out changeset 71742fced1ba (bug 1553982)
Backed out changeset 9dcf78cd576f (bug 1553982)
Backed out changeset 01d41760db29 (bug 1553982)
Backed out changeset 5040354e75c2 (bug 1553982)
2020-12-07 11:35:41 +02:00
Sam Foster 61cfb019d9 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
2020-12-07 08:44:14 +00:00
Sam Foster acf2633244 Bug 1654684 - Move chevron.svg to toolkit. r=remote-protocol-reviewers,desktop-theme-reviewers,ntim
Differential Revision: https://phabricator.services.mozilla.com/D97394
2020-12-07 08:44:06 +00:00
Xidorn Quan 8799a09b16 Bug 1661961 - Upgrade cstr to 0.2.x. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D98839
2020-12-07 08:01:04 +00:00
Mihai Alexandru Michis d88071abc9 Backed out 5 changesets (bug 1654192, bug 1680230) for causing tsan bc failures in RWLock.
CLOSED TREE

Backed out changeset 804ccdf33ae8 (bug 1680230)
Backed out changeset 2ced955ab891 (bug 1680230)
Backed out changeset b09ca0548784 (bug 1654192)
Backed out changeset a92f0deb07b2 (bug 1654192)
Backed out changeset 26abc175808e (bug 1654192)
2020-12-07 09:21:15 +02:00
Victor Porof f1a0384f67 Bug 1680230 - Part 1: Update rkv to 0.16.0, r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98594
2020-12-04 20:26:41 +00:00
Victor Porof f8c90db343 Bug 1654192 - Part 3: Use manager instead of creating unique instances every time, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D98482
2020-12-04 20:26:34 +00:00
Victor Porof 13845b7762 Bug 1654192 - Part 2: Update xulstore to use RKV in safe mode, r=nanj,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D85315
2020-12-07 06:29:40 +00:00
Victor Porof 0e467487a3 Bug 1654192 - Part 1: Update RKV dependency to safe-mode, r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D85314
2020-12-07 06:49:31 +00:00
Agi Sferro 0b9c0abdce Bug 1625233 - Move xpcshell browsingData to toolkit. r=robwu
Depends on D98368

Differential Revision: https://phabricator.services.mozilla.com/D98369
2020-12-04 21:43:32 +00:00
Agi Sferro 7c25d2ff06 Bug 1625233 - Add smoke test for browsingData.settings. r=robwu,owlish
Depends on D96154

Differential Revision: https://phabricator.services.mozilla.com/D98368
2020-12-04 21:43:24 +00:00
Agi Sferro 06e6777956 Bug 1625233 - Convert browsingData browser tests to mochitests. r=rpl
Depends on D96153

Differential Revision: https://phabricator.services.mozilla.com/D96154
2020-12-04 21:43:22 +00:00
Agi Sferro be73b6f3a4 Bug 1625233 - Implement ext-browsingData on Android. r=robwu,owlish,droeh
Depends on D96152

Differential Revision: https://phabricator.services.mozilla.com/D96153
2020-12-04 21:07:58 +00:00
Agi Sferro 25013d8d5f Bug 1625233 - Refactor ext-browsingData code so it can be shared with other platforms. r=rpl,robwu
Depends on D96150

Differential Revision: https://phabricator.services.mozilla.com/D96152
2020-12-04 20:52:52 +00:00
Shane Caraveo 3463b4f194 Bug 1495021 remove temp files when install system addon updates r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D74353
2020-12-04 20:39:25 +00:00
Scott 08e4769651 Bug 1672518 - Adding some user config telemetry to home prefs. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D98555
2020-12-04 19:54:28 +00:00
Mike Conley 2e689029d7 Bug 1666739 - Add site-specific PiP toggle visibility threshold to the WebCompat add-on. r=mstriemer,webcompat-reviewers,denschub,twisniewski
This also adds the first threshold of 0.9 for YouTube, which allows us to avoid
hittest false positives on the PiP toggle when the user has one of the YouTube
player menus open.

Differential Revision: https://phabricator.services.mozilla.com/D93124
2020-12-04 19:43:54 +00:00
brizental 00f6b7f260 Bug 1673642 - Implement C++ and JS APIs for the Boolean Metric Type. r=chutten
BONUS: Improve the docs for adding new metric type in C++ and JS,
added two missing steps to the C++ part and changed the layout
a bit to make it easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D95314
2020-12-04 18:18:27 +00:00
Barret Rennie 43bd9a2ac0 Bug 1673949 - Collect gfx.omtp.paint_wait_ratio on release channels r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D98683
2020-12-04 18:16:38 +00:00
Dale Harvey bea62c168a Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91214
2020-12-04 17:46:03 +00:00
Kevin Jacobs c27baf9ddb Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-04 15:26:17 +00:00
Alessio Placitelli 732d9030af Bug 1679835 - Collect the OS version in FOG. r=janerik
Currently, the Glean RLB do not collect a meaningful value
for the OS version ("unknown"). Moreover, FOG is interested
in recording the OS version as detected by Gecko, which is
very specific. This adds the Gecko-detected OS version as
a metric in FOG.

Differential Revision: https://phabricator.services.mozilla.com/D98742
2020-12-04 12:04:51 +00:00
Butkovits Atila df75ae580c Backed out changeset 8c0e2919f6b2 (bug 1678684) for causing Bug 1680661. CLOSED TREE 2020-12-04 11:26:44 +02:00
Tim Huang e6be6222e0 Bug 1679325 - Part 2: Add a test to ensure the saveVideoAs is correctly partitioned and the default file name is correct. r=smaug,dimi
Depends on D98455

Differential Revision: https://phabricator.services.mozilla.com/D98456
2020-12-03 14:19:42 +00:00
Tim Huang 9fadef5261 Bug 1679325 - Part 1: Making contentAreaUtils.saveURL to accept cookieJarSettings. r=smaug
This patch makes the contentAreaUtils.saveURL to be aware of the
cookieJarSettings, and updates all callers.

This also updates the documentation of the persistArgs
'cookieJarSettings' for internalPersist().

Differential Revision: https://phabricator.services.mozilla.com/D98455
2020-12-03 20:10:36 +00:00
Razvan Maries ae4e418a02 Backed out changeset e7c03faf2880 (bug 1678079) for perma failures on test_encrypted_client_hello.js. CLOSED TREE 2020-12-04 03:46:54 +02:00
alwu cc933e516a Bug 1678813 - part2 : await all promises to ensure window is focus and loaded. r=mconley
On try server, sometime I noticed that we would get intermittent failure on waiting the window focus. From its description [1], that method won't resolve the promise for already focus window. So we should call that method earlier in order to prevent the intermittent failure where the method is called on a focused window.

[1] https://searchfox.org/mozilla-central/rev/168c45a7acc44e9904cfd4eebcb9eb080e05699c/testing/mochitest/tests/SimpleTest/SimpleTest.js#933-938

Differential Revision: https://phabricator.services.mozilla.com/D98283
2020-12-03 22:43:13 +00:00
Matt Woodrow d58b85c3c9 Bug 1678684 - Initialize DXVA on the media thread, remove the mostly-unused dll blocklist, and the crashguard. r=jya
The main-thread requirements for DXVA appear to have been needed when we initialized a crash guard. We now only run DXVA in the GPU and RDD processes, which don't support crash guards. This removes the main thread dispatch and the crashguard code, and enforces that we're in the GPU/RDD process to init DXVA.

This also removes the DLL blocklist code. This was disabled via pref when in the GPU process, which should be the majority of the time. In rare cases we would have been running DXVA in the RDD process (on older win7 when the GPU process isn't available). In these cases we can just do the same as the GPU process, allowing crashes and recovering from them (and disabling DXVA).

Differential Revision: https://phabricator.services.mozilla.com/D98036
2020-12-04 00:49:27 +00:00
Emilio Cobos Álvarez 75be5de2e1 Bug 1666739 - Add an optional opacity threshold for visibility hit-test. r=mconley,miko
This is a best-effort thing of course, but so is the rest of the
visibility threshold stuff in practice and this should be good enough.

Differential Revision: https://phabricator.services.mozilla.com/D98360
2020-12-04 00:48:45 +00:00
Kagami Sascha Rosylight 9fc2fee9e3 Bug 1680167 - Part 8: MOZ_CAN_RUN_SCRIPT_BOUNDARY in toolkit r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D98631
2020-12-03 22:58:14 +00:00
Dale Harvey 9740a695a6 Bug 1675624 - Persist engine metadata for inactive AppProvided engines r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97283
2020-12-04 00:01:23 +00:00
Molly Howell 6206b305ec Bug 1553982 Part 5 - Add a test for the update semaphore and make existing tests support it. r=bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D95630
2020-12-03 21:52:10 +00:00
Molly Howell bf229b9aa5 Bug 1553982 Part 4 - Display a prompt when waiting for the update semaphore expires. r=bytesized,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D95629
2020-12-03 21:52:12 +00:00
Molly Howell 9947d273a0 Bug 1553982 Part 3 - Wait for the semaphore before performing update operations. r=bytesized,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D95628
2020-12-03 21:52:15 +00:00