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

3466 Коммитов

Автор SHA1 Сообщение Дата
Nihanth Subramanya a40b9621cb Bug 1647215 - Remove doorhanger-related code from doh-rollout extension and update tests. r=andreio,prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D80344
2020-06-23 05:55:24 +00:00
Zibi Braniecki f4aa5a2b5d Bug 1645922 - Reshuffle heuristic regexps to prioritize cc-name over generic name. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80338
2020-06-22 22:14:47 +00:00
Zibi Braniecki 9229df3b6b Bug 1645922 - Update Regexps used by heuristics to latest master. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80119
2020-06-23 01:58:59 +00:00
Narcis Beleuzu 7d97bd7510 Backed out changeset edfa1e36dbfd (bug 1646968) for bc failures on browser_policyOverride.js . CLOSED TREE 2020-06-23 02:04:10 +03:00
Brindusan Cristian 83d0df93cf Backed out 2 changesets (bug 1645922) for xpcshell failures at test_getInfo.js. CLOSED TREE
Backed out changeset 70a0f7fd1803 (bug 1645922)
Backed out changeset 2fd3a3846d59 (bug 1645922)
2020-06-23 01:10:09 +03:00
Zibi Braniecki cf10ddd578 Bug 1645922 - Reshuffle heuristic regexps to prioritize cc-name over generic name. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80338
2020-06-22 20:59:36 +00:00
Zibi Braniecki fbbe68bd28 Bug 1645922 - Update Regexps used by heuristics to latest master. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80119
2020-06-22 20:59:36 +00:00
Nihanth Subramanya 7ab2736269 Bug 1646968 - Remove unnecessary DoH heuristics run at startup. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D80415
2020-06-22 13:52:54 +00:00
tkhan 6ccabd4784 Bug 1602668 - M(1) manifest and test changes. r=kmag,karlt,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D70362
2020-06-22 19:09:49 +00:00
Zibi Braniecki dabd409d5f Bug 1647043 - Add support for IIN detection based on Credit Card Number. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80370
2020-06-22 16:06:14 +00:00
Csoregi Natalia 3d39d3b7dd Backed out changeset 0f0e045d2928 (bug 1647043) for multiple formautofill failures. CLOSED TREE 2020-06-22 09:11:13 +03:00
Zibi Braniecki 93a7d88e2d Bug 1647043 - Add support for IIN detection based on Credit Card Number. r=abr
Differential Revision: https://phabricator.services.mozilla.com/D80370
2020-06-22 04:14:23 +00:00
Nihanth Subramanya 37932bfc60 Bug 1646916 - [DoH rollout] Add missing enums to preferences API input params. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D80334
2020-06-19 06:13:57 +00:00
Nihanth Subramanya 5ab95662ca Bug 1644444 - Update NextDNS endpoint URL and migrate pref values. r=valentin,prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D79627
2020-06-18 08:18:58 +00:00
Gijs Kruitbosch d523471eac Bug 1644863 - fix trailing whitespace in browser/toolkit/devtools/mobile frontend code files, r=mossop,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D79201
2020-06-17 22:40:53 +00:00
Adam Roach [:abr] 5da9005f43 Bug 1429322: Add credit card logos to the autofill UI r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D79008
2020-06-16 21:53:05 +00:00
Adam Roach [:abr] eb216f2572 Bug 1642059: Open CC popup on field focus r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D78968
2020-06-16 21:28:10 +00:00
Adam Roach [:abr] 156bc67f75 Bug 1645487: Update Form Autofill Preferences "Learn More" link for Credit Cards r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D79535
2020-06-12 19:43:08 +00:00
Nihanth Subramanya ead758c5dc Bug 1642078 - [DoH] Enable/disable DoH via doh-rollout.mode instead of network.trr.mode. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D77579
2020-06-12 00:02:21 +00:00
Razvan Maries 33374e402c Backed out 2 changesets (bug 1642078) for perma failures on browser_policyOverride.js. CLOSED TREE
Backed out changeset c50c36be8110 (bug 1642078)
Backed out changeset da0da861012e (bug 1642078)
2020-06-12 02:37:05 +03:00
Nihanth Subramanya 68774a4c01 Bug 1642078 - [DoH] Enable/disable DoH via doh-rollout.mode instead of network.trr.mode. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D77579
2020-06-11 19:42:38 +00:00
Zibi Braniecki 9d127ef2c4 Bug 1642064 - Separate Add and Edit credit card and address entry UI title. r=abr,MattN
Differential Revision: https://phabricator.services.mozilla.com/D78847
2020-06-11 19:30:32 +00:00
Adam Roach [:abr] 32fd122bb0 Bug 1639795: Part II - "Migrate" older cards by deleting them. r=MattN
Depends on D78610

Differential Revision: https://phabricator.services.mozilla.com/D79193
2020-06-10 21:57:19 +00:00
Emma Malysz 082a5e072a Bug 1643402: add telemetry probe that collects information on all pdf fallback errors. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D78350
2020-06-10 02:42:47 +00:00
Ryan VanderMeulen 1af3749d41 Bug 1644142 - Update pdf.js to version 2.6.24. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D78684
2020-06-10 00:48:47 +00:00
Adam Roach [:abr] bc9b8c5433 Bug 1624646: Adding localization notes for macos prompts r=flod
Differential Revision: https://phabricator.services.mozilla.com/D78853
2020-06-09 06:34:05 +00:00
Nihanth Subramanya e48aa1b8ef Bug 1640741 - Run safe search heuristics before provider steering. r=valentin,johannh,NhiNguyen
Differential Revision: https://phabricator.services.mozilla.com/D78636
2020-06-09 01:50:05 +00:00
Dorel Luca b145d7c6b7 Backed out changeset 4eda95c210e0 (bug 1640741) for Browser-chrome failures in extensions/doh-rollout/test/browser/browser_providerSteering.js. CLOSED TREE 2020-06-09 04:01:55 +03:00
Adam Roach [:abr] 2624663db2 Bug 1624646: Fix macOS re-auth strings r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D78816
2020-06-08 22:39:54 +00:00
Nihanth Subramanya ab78778f46 Bug 1640741 - Run safe search and zscaler heuristics before provider steering. r=valentin,johannh,NhiNguyen
Differential Revision: https://phabricator.services.mozilla.com/D78636
2020-06-08 21:51:38 +00:00
Zibi Braniecki 02fec8feb0 Bug 1619320 - Disable address field in Credit Card Entry. r=abr,MattN
Differential Revision: https://phabricator.services.mozilla.com/D78157
2020-06-08 19:02:53 +00:00
Adam Roach [:abr] e8899386cf Bug 1642058: Add expiration date in card list view under Preferences r=zbraniecki,fluent-reviewers,MattN,flod
***

Differential Revision: https://phabricator.services.mozilla.com/D77953
2020-06-08 15:00:58 +00:00
Neil Deakin 9ad88f80ae Bug 1614773, use AsyncPrefs for setting pdf preferences instead of custom message manager messages, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D76951
2020-06-06 21:49:46 +00:00
Neil Deakin fcb7a6eb5e Bug 1614773, convert pdf viewer to use JSWindowActors so that it will work in out of process frames, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D76950
2020-06-06 21:49:33 +00:00
Butkovits Atila b7336ae493 Backed out changeset 85183f00ced0 (bug 1642058) for causing failure at browser_manageCreditCardsDialog.js. CLOSED TREE 2020-06-06 00:14:13 +03:00
Adam Roach [:abr] 1915544e02 Bug 1642058: Add expiration date in card list view under Preferences r=zbraniecki,fluent-reviewers,MattN,flod
***

Differential Revision: https://phabricator.services.mozilla.com/D77953
2020-06-05 19:56:59 +00:00
Nihanth Subramanya b3aa3561a5 Bug 1640709 - Also clear doh-rollout.uri if doh-rollout.trr-selection.commit-result is falsey. r=valentin,johannh
Depends on D76619

Differential Revision: https://phabricator.services.mozilla.com/D76728
2020-06-05 08:12:37 +00:00
Nihanth Subramanya 257903552e Bug 1631609 - Test provider steering heuristic. r=valentin,johannh
Depends on D76618

Differential Revision: https://phabricator.services.mozilla.com/D76619
2020-06-05 08:12:29 +00:00
Nihanth Subramanya 1d6dcb63c4 Bug 1631609 - Use an actual URI for dummy TRR in tests. r=johannh,valentin
This ensures we can check gDNSService.currentTrrURI

Depends on D76617

Differential Revision: https://phabricator.services.mozilla.com/D76618
2020-06-05 08:11:21 +00:00
Nihanth Subramanya 6d80d2fa01 Bug 1631609 - Stop mocking DoH heuristics for tests. r=johannh
Depends on D76414

Differential Revision: https://phabricator.services.mozilla.com/D76617
2020-06-05 08:10:54 +00:00
Nihanth Subramanya 760f65289a Bug 1631609 - Steer to network-indicated DoH endpoint if detected. r=valentin,dragana,NhiNguyen,johannh
Differential Revision: https://phabricator.services.mozilla.com/D76414
2020-06-05 08:10:41 +00:00
Csoregi Natalia 529ff034d6 Backed out 5 changesets (bug 1640709, bug 1631609) for failures on browser_providerSteering.js. CLOSED TREE
Backed out changeset 823fd61b186a (bug 1640709)
Backed out changeset ff63aadf849b (bug 1631609)
Backed out changeset 82d569115be0 (bug 1631609)
Backed out changeset d07c7c9978d5 (bug 1631609)
Backed out changeset cdc7ddcbeae9 (bug 1631609)
2020-06-05 06:33:47 +03:00
Noemi Erli 795e870d49 Backed out changeset 94f2fb2c3a94 (bug 1619320) for causing failures in browser_editCreditCardDialog.js 2020-06-05 04:27:52 +03:00
Nihanth Subramanya a3f2cd5e58 Bug 1640709 - Also clear doh-rollout.uri if doh-rollout.trr-selection.commit-result is falsey. r=valentin,johannh
Depends on D76619

Differential Revision: https://phabricator.services.mozilla.com/D76728
2020-06-04 23:45:28 +00:00
Nihanth Subramanya 7175799fec Bug 1631609 - Test provider steering heuristic. r=valentin,johannh
Depends on D76618

Differential Revision: https://phabricator.services.mozilla.com/D76619
2020-06-04 23:45:15 +00:00
Nihanth Subramanya 10630a0f0d Bug 1631609 - Use an actual URI for dummy TRR in tests. r=johannh,valentin
This ensures we can check gDNSService.currentTrrURI

Depends on D76617

Differential Revision: https://phabricator.services.mozilla.com/D76618
2020-06-04 23:44:56 +00:00
Nihanth Subramanya f896e6c2c0 Bug 1631609 - Stop mocking DoH heuristics for tests. r=johannh
Depends on D76414

Differential Revision: https://phabricator.services.mozilla.com/D76617
2020-06-04 23:44:27 +00:00
Nihanth Subramanya 43af9d8860 Bug 1631609 - Steer to network-indicated DoH endpoint if detected. r=valentin,dragana,NhiNguyen,johannh
Differential Revision: https://phabricator.services.mozilla.com/D76414
2020-06-04 23:44:13 +00:00
Zibi Braniecki 7c97f420c8 Bug 1619320 - Disable address field in Credit Card Entry. r=abr,MattN
Differential Revision: https://phabricator.services.mozilla.com/D78157
2020-06-04 23:27:06 +00:00
Csoregi Natalia cd4ffe7bbe Backed out 5 changesets (bug 1640709, bug 1631609) for doh-rollout failures. CLOSED TREE
Backed out changeset 9e1db3f3e44a (bug 1640709)
Backed out changeset 87f51b855906 (bug 1631609)
Backed out changeset f201e950b155 (bug 1631609)
Backed out changeset b40a0f8c92b4 (bug 1631609)
Backed out changeset a72c39358236 (bug 1631609)
2020-06-05 01:50:19 +03:00
Nihanth Subramanya 179f4f7c58 Bug 1640709 - Also clear doh-rollout.uri if doh-rollout.trr-selection.commit-result is falsey. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D76728
2020-06-04 20:02:28 +00:00
Nihanth Subramanya dfa242407d Bug 1631609 - Test provider steering heuristic. r=valentin,johannh
Depends on D76618

Differential Revision: https://phabricator.services.mozilla.com/D76619
2020-06-04 19:02:33 +00:00
Nihanth Subramanya 9d6398b7db Bug 1631609 - Use an actual URI for dummy TRR in tests. r=johannh,valentin
This ensures we can check gDNSService.currentTrrURI

Depends on D76617

Differential Revision: https://phabricator.services.mozilla.com/D76618
2020-06-04 19:02:30 +00:00
Nihanth Subramanya 8078cd8def Bug 1631609 - Stop mocking DoH heuristics for tests. r=johannh
Depends on D76414

Differential Revision: https://phabricator.services.mozilla.com/D76617
2020-06-04 19:01:21 +00:00
Nihanth Subramanya 9c7d8bdc02 Bug 1631609 - Steer to network-indicated DoH endpoint if detected. r=valentin,dragana,NhiNguyen,johannh
Differential Revision: https://phabricator.services.mozilla.com/D76414
2020-06-04 19:05:37 +00:00
Nihanth Subramanya 52674d1803 Bug 1642723 - Also check doh-rollout.uri in browser_trrSelection_disable.js test. r=valentin
Depends on D78126

Differential Revision: https://phabricator.services.mozilla.com/D78127
2020-06-04 15:46:03 +00:00
Nihanth Subramanya b30f322f18 Bug 1642723 - Pref-off automatic TRR-selection by default (back-port from mozilla-release). r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D78126
2020-06-04 15:46:56 +00:00
Jared Wein e69e59d5fb Bug 1643101 - Remove 'whitelist' from Form Autofill code. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D78124
2020-06-04 01:44:14 +00:00
Adam Roach [:abr] 3a99c5f7ec Bug 1628188: Fix formautofill unit tests r=zbraniecki
Differential Revision: https://phabricator.services.mozilla.com/D78125
2020-06-03 20:19:17 +00:00
Ian Bicking d5ed54159b Bug 1637706 - remove Sentry reporting in Screenshots; r=_6a68
Additionally remove a console warning message, since catcher.js will have already reported the error in the console.

Differential Revision: https://phabricator.services.mozilla.com/D75168
2020-05-13 19:12:07 +00:00
Ryan VanderMeulen 58e186a2d9 Bug 1641916 - Update pdf.js to version 2.6.2. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D77480
2020-06-03 16:07:02 +00:00
Dale Harvey ab8d86b7da Bug 1627545 - Update FormAutoFill to new Region.jsm api. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D76949
2020-05-27 20:16:48 +00:00
Matt Woodrow 5cf1f845a8 Bug 1631405 - Update tests to account for security UI only living in the parent process. r=kmag,ckerschb,webcompat-reviewers,twisniewski
This is mostly changes to handle retrieving the security state asynchronously via the parent process, needing lots of async/await additions.

It also removes the docshell mixed content flag checks (which don't seem to be used in code, only tests), which are mostly still covered by checks of the security UI.

Differential Revision: https://phabricator.services.mozilla.com/D75448
2020-05-27 00:31:25 +00:00
Matt Woodrow e060a86c42 Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing context instead of docshell. r=nika,ckerschb,Gijs,webcompat-reviewers,twisniewski
This removes all docshell nsISecureBrowserUI and mixed content properties, and moves them into CanonicalBrowsingContext/WindowGlobalParent. It makes the mixed content blocker just compute the state for the current load, and then send the results to the parent process, where we update the security state accordingly.

I think we could in the future remove onSecurityChange entirely, and instead just fire an event to the <browser> element notifying it of changes to the queryable securityUI.

Unfortunately we have a lot of existing code that depends on specific ordering between onSecurityChange and onLocationChange, so I had to hook into the RemoteWebProgress implementation in BrowserParent to mimic the same timings.

Differential Revision: https://phabricator.services.mozilla.com/D75447
2020-05-27 00:28:59 +00:00
Bogdan Tara a54ec3073f Backed out 4 changesets (bug 1631405) for multiple mochitest failures CLOSED TREE
Backed out changeset 9963cc0b23cb (bug 1631405)
Backed out changeset 469ac933ed7c (bug 1631405)
Backed out changeset 0c5f55864268 (bug 1631405)
Backed out changeset 20dcbcc2f3b8 (bug 1631405)
2020-05-27 01:30:20 +03:00
Matt Woodrow d692732bdd Bug 1631405 - Update tests to account for security UI only living in the parent process. r=kmag,ckerschb,webcompat-reviewers,twisniewski
This is mostly changes to handle retrieving the security state asynchronously via the parent process, needing lots of async/await additions.

It also removes the docshell mixed content flag checks (which don't seem to be used in code, only tests), which are mostly still covered by checks of the security UI.

Differential Revision: https://phabricator.services.mozilla.com/D75448
2020-05-26 21:19:28 +00:00
Matt Woodrow 240d417eb6 Bug 1631405 - Move nsISecureBrowserUI to be owned by the canonical browsing context instead of docshell. r=nika,ckerschb,Gijs,webcompat-reviewers,twisniewski
This removes all docshell nsISecureBrowserUI and mixed content properties, and moves them into CanonicalBrowsingContext/WindowGlobalParent. It makes the mixed content blocker just compute the state for the current load, and then send the results to the parent process, where we update the security state accordingly.

I think we could in the future remove onSecurityChange entirely, and instead just fire an event to the <browser> element notifying it of changes to the queryable securityUI.

Unfortunately we have a lot of existing code that depends on specific ordering between onSecurityChange and onLocationChange, so I had to hook into the RemoteWebProgress implementation in BrowserParent to mimic the same timings.

Differential Revision: https://phabricator.services.mozilla.com/D75447
2020-05-26 21:17:01 +00:00
Nihanth Subramanya 88c2ed6ab9 Bug 1638502 - [DoH] Persist TRR-selection dry-run result. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D75660
2020-05-26 15:43:30 +00:00
Nihanth Subramanya 9fe605615b Bug 1638502 - Clean up DoH doorhanger's TabProgressListener properly. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D76786
2020-05-26 15:43:30 +00:00
Nihanth Subramanya 0a46357bbd Bug 1607822 - Use waitForPrefChange instead of waitForCondition to observe pref changes in DoH tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D76778
2020-05-26 15:43:18 +00:00
Csoregi Natalia 5adf5ce323 Backed out changeset 680c68517121 (bug 1638502) for browser-chrome failures on browser_userInterference.js. CLOSED TREE 2020-05-26 01:50:53 +03:00
Nihanth Subramanya 41f3e7c879 Bug 1638502 - [DoH] Persist TRR-selection dry-run result. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D75660
2020-05-25 17:35:17 +00:00
Bogdan Tara 65394e0589 Backed out changeset 46fe0af8f03d (bug 1638502) for browser_trrSelect.js failures CLOSED TREE 2020-05-24 14:24:24 +03:00
Nihanth Subramanya 0188840e39 Bug 1638502 - [DoH] Persist TRR-selection dry-run result. r=valentin,johannh
Differential Revision: https://phabricator.services.mozilla.com/D75660
2020-05-20 13:31:15 +00:00
Ryan VanderMeulen e100d61b06 Bug 1638364 - Update pdf.js to version 2.5.179. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D75560
2020-05-20 17:49:46 +00:00
Mike Taylor e943dbb1da Bug 1631858 - Import webcompat addon v11.0.0 sources r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D75996
2020-05-19 16:37:00 +00:00
Brendan Dahl 8ddc16d1ad Bug 1630844 - Collect telemetry on why pdf.js showed the fallback bar. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D73378
2020-05-07 20:26:10 +00:00
Gijs Kruitbosch 998df7c063 Bug 1633270 - view application/octet-stream PDFs in PDF.JS and add a pref to turn this off, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D75582
2020-05-18 15:41:15 +00:00
Narcis Beleuzu da3bd17056 Backed out 2 changesets (bug 1633270) for mochitest failure on test_allowContentRetargeting.html
Backed out changeset 77d5aff05a0e (bug 1633270)
Backed out changeset cb53eac110d1 (bug 1633270)
2020-05-16 16:16:57 +03:00
Gijs Kruitbosch 3e4119afb1 Bug 1633270 - view application/octet-stream PDFs in PDF.JS and add a pref to turn this off, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D75582
2020-05-16 00:51:37 +00:00
Lina Cambridge 6245c3b363 Bug 1636365 - Split out persistence from `Tracker` into `LegacyTracker`. r=markh,rfkelly
The tracker base class currently does two things: bump the score in
response to observer notifications, and store a list of changed IDs.
The bookmarks, form autofill, and now bridged trackers need to hack
around this to opt out of persistence, since they handle change
tracking in the storage layer.

This commit keeps the score logic in `Tracker`, but moves all the
persistence code into an intermediate `LegacyTracker` class, and
changes all engines that need persistence to inherit from it.

`ignoreAll` is more interesting. We want new-style stores to emit
observer notifications with change sources, so that the tracker knows
to ignore changes made by Sync. Ignoring all observer notifications
during a sync is a blunter version of this. But, not every new store
supports change sources, so we reimplement `ignoreAll` manually for
ones that don't.

Differential Revision: https://phabricator.services.mozilla.com/D74374
2020-05-13 03:56:53 +00:00
Ian Bicking 04a09d6f70 Bug 1636568 - suppress Sentry reporting of a common Screenshots failure r=_6a68
Starting with Firefox 76 we're seeing this (seemingly benign) error being reported much more commonly, causing unnecessary load on our Sentry instance. Adding .noReport=true keeps this from being reported to Sentry.

Differential Revision: https://phabricator.services.mozilla.com/D74471
2020-05-08 20:19:51 +00:00
Ryan VanderMeulen fd1ec3e717 Bug 1636528 - Update pdf.js to version 2.5.153. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D74430
2020-05-08 17:02:43 +00:00
Gijs Kruitbosch 88153109ac Bug 1633790 - pass channels to stream conversion getContentType and always allow PDF.js use for user-opened local PDF files, r=mattwoodrow,jaws
Differential Revision: https://phabricator.services.mozilla.com/D73511
2020-05-06 20:34:51 +00:00
Gijs Kruitbosch 6c3c9b5bf3 Bug 1633790 - allow PDF.js use when we've misled the user into misconfiguring PDF handlers, r=jaws,mattwoodrow
Prior to this patch, PDF.js tracks both its own 'disabled' pref (which is used
by enterprise policy) and whether it is the default handler per the handler
service - but it tracks both in one bool, which determines whether its
streamconverter registers.

Really, what we want is to never use PDF.js if it's preffed off.

However, if there is some other default, it should be acceptable to use PDF.js
in some circumstances, like for <embed> or <object>s where otherwise we
would show no content at all.

Even for toplevel PDFs, if the user has configured Firefox to open PDFs in
an external helper app which is Firefox (which is currently an easy mistake
to make in the unknownContentType dialog), or has it set to the OS default,
but has changed their OS default to Firefox, we really still want to open
those PDFs with PDF.js.

This patch fixes all of this by splitting out the pref tracking from the
handler state tracking. Only the pref will completely disable PDF.js.

Then, in the streamconverter code, we check whether PDF.js should be used for
PDFs, and if there's a misconfiguration that we can correct. This code is
invoked from the parent process when we load PDFs in frames or toplevel
documents, and will prevent us from invoking PDF.js in the child if the user
would prefer that not to happen.

As a driveby, this cleans up how we track the pref inside PDF.js, and how we
get notified of changes to the handler - we were missing changes made in the
unknown content type dialog, so it seemed worth making it generic.

Differential Revision: https://phabricator.services.mozilla.com/D73510
2020-05-06 20:28:36 +00:00
Ian Moody 011b59d595 Bug 1536556 - Replace raw thrown Cr.ERRORs with Components.Exception. r=mossop,remote-protocol-reviewers,marionette-reviewers,whimboo,necko-reviewers,geckoview-reviewers,valentin,agi
Raw Cr.ERROR don't get stack information, same as throwing JS literals instead
of `new Error()`s.

This was done automatically with a new eslint rule that will be introduced in
the next commit.  One instance of a raw Cr.ERROR was not replaced since it is
used in a test that specifically checks the preservation of raw Cr values in
XPCJS.  The rule will be disabled for that instance.

Differential Revision: https://phabricator.services.mozilla.com/D28073
2020-05-05 17:41:36 +00:00
Ryan VanderMeulen af8f6fcadb Bug 1632623 - Update pdf.js to version 2.5.145. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D72203
2020-05-04 17:26:56 +00:00
Nihanth Subramanya eae10ebb4f Bug 1631822 - Return a random TRR from getFastestTRR if requested. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D73359
2020-05-01 20:05:47 +00:00
Nihanth Subramanya 7745d09edf Bug 1631822 - Implement multiple TRR selection dry-run. r=valentin,johannh
This patch uses TRRPerformance.jsm to get the fastest TRR and store it in a pref
before running DoH heuristics. The chosen TRR URI is sent in a telemetry event.

Differential Revision: https://phabricator.services.mozilla.com/D72790
2020-05-01 20:05:15 +00:00
Razvan Maries 9ca0c558c5 Bug 1632098 - Disabled browser_autocomplete_marked_detached_tab.js on macos. r=jya CLOSED TREE 2020-04-30 16:47:47 +03:00
Jean-Yves Avenard b2f78e617a Bug 1632098 - P5. Disabling more tests on macos. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73238
2020-04-30 11:18:01 +00:00
Jean-Yves Avenard 854326114b Bug 1632098 - P4. Disable test on macos. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D73225
2020-04-30 10:07:01 +00:00
Ksenia Berezina 2cd4291aa0 Bug 1633838 - Remove Gmail Microphone intervention r=webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D72923
2020-04-28 18:28:18 +00:00
Ksenia Berezina e9d728c40f Bug 1632947 - Fix to hangouts microphone intervention.r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D72768
2020-04-27 23:27:54 +00:00
Valentin Gosu 0e4d439b71 Bug 1626057 - Add experiments.heuristics.setDetectedTrrURI API r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D68874
2020-04-27 17:18:08 +00:00
Jean-Yves Avenard f9e2f2e9a6 Bug 1630320 - in browser_autocomplete_footer.js wait for the tab to load before attempting to retrieve its content. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72507
2020-04-26 10:35:57 +00:00
Arthur Iakab 4de4edd78c Backed out 2 changesets (bug 1630320, bug 1632098) for causing high frequency mochitest failures.
Backed out changeset f3323f5ac02c (bug 1630320)
Backed out changeset 43b914eee3e3 (bug 1632098)
2020-04-26 00:05:50 +03:00
Jean-Yves Avenard 4a3efc9476 Bug 1630320 - in browser_autocomplete_footer.js wait for the tab to load before attempting to retrieve its content. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72507
2020-04-25 14:50:22 +00:00
Ksenia Berezina 84299fb66d Bug 1632217 - Import WebCompat GoFaster 10.1.0 sources. r=webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D72003
2020-04-22 16:43:18 +00:00
Nihanth Subramanya 68f862be80 Bug 1631790 - DoH: Make the doorhanger text TRR-provider-agnostic. r=valentin,flod
Differential Revision: https://phabricator.services.mozilla.com/D71762
2020-04-21 14:05:03 +00:00
Thomas Wisniewski 117f2ccc23 Bug 1603473 - modify report-site-issue to use a JSWindowActorChild to gather tab info; r=kmag,webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D58676
2020-04-21 14:15:33 +00:00
Ksenia Berezina 815da62f97 Bug 1625222 - Import WebCompat GoFaster 10.0.0 sources. r=webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D71602
2020-04-20 18:09:19 +00:00
Ryan VanderMeulen 12bac77b70 Bug 1630806 - Update pdf.js to version 2.5.95. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D71246
2020-04-17 22:37:35 +00:00
Thomas Wisniewski 238a06621d Bug 1630995 - bump the manifest version number for the report-site-issue sytem addon; r=miketaylr,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D71401
2020-04-17 19:46:23 +00:00
Jared Wein afdb6934ea Bug 1628029 - Add telemetry events for OS authentication. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D70069
2020-04-16 21:23:58 +00:00
Thomas Wisniewski f34a076ccb Bug 1627738 - expose GPU troubleshooting information to webcompat reports; r=Gijs,webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D70278
2020-04-09 21:11:37 +00:00
aarushivij 5a709f46e1 Bug 1519099 - removeFromDb parameter of nsIAutoCompleteResult::RemoveValueAt is always true r=mak
Differential Revision: https://phabricator.services.mozilla.com/D70704

--HG--
extra : moz-landing-system : lando
2020-04-15 10:05:12 +00:00
Ryan VanderMeulen a1da71c534 Bug 1629150 - Update pdf.js to version 2.5.80. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D70557

--HG--
extra : moz-landing-system : lando
2020-04-13 16:01:39 +00:00
Emma Malysz a7282ce447 Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866

--HG--
extra : moz-landing-system : lando
2020-04-08 16:17:50 +00:00
Razvan Maries 072b678c5a Backed out changeset 6b7c81561ecc (bug 1590573) for marionette perma failures on test_refresh_firefox.py. CLOSED TREE 2020-04-08 07:43:49 +03:00
Emma Malysz b657384896 Bug 1590573, create a unified approach for caching fragments in our Custom Elements r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D58866

--HG--
extra : moz-landing-system : lando
2020-04-07 23:56:45 +00:00
Itiel 350283acc3 Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/extensions r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D69725

--HG--
extra : moz-landing-system : lando
2020-04-07 16:30:10 +00:00
Mihai Alexandru Michis b719a733f2 Backed out 7 changesets (bug 1627477) for causing bc failures in browser_parsable_css.js
CLOSED TREE

Backed out changeset 96fcd3331e0a (bug 1627477)
Backed out changeset 30f7c9f36229 (bug 1627477)
Backed out changeset 4486a79e5691 (bug 1627477)
Backed out changeset 9d27d7893501 (bug 1627477)
Backed out changeset 4e1b2198a30a (bug 1627477)
Backed out changeset 2ff6d4196daf (bug 1627477)
Backed out changeset 9d13b52d9960 (bug 1627477)
2020-04-07 18:51:52 +03:00
Itiel afb2f50f03 Bug 1627477 - Convert all relevant uses of left/right to logical properties in browser/extensions r=webcompat-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D69725

--HG--
extra : moz-landing-system : lando
2020-04-06 17:18:52 +00:00
Ryan VanderMeulen 4e317e27ab Bug 1627021 - Update pdf.js to version 2.5.49. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D69412

--HG--
extra : moz-landing-system : lando
2020-04-02 18:16:00 +00:00
jayati 1019d55765 Bug 1533029 - Add flex display for correct rendering of warning. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D68145

--HG--
extra : moz-landing-system : lando
2020-03-31 23:04:42 +00:00
Ryan VanderMeulen 7bb0df2436 Bug 1625949 - Update pdf.js to version 2.5.42. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D68800

--HG--
extra : moz-landing-system : lando
2020-03-31 21:04:19 +00:00
Jonas Jenwald 7015ab6e16 Bug 1625430 - Allow clean-up of the DOM event dispatching in the PDF Viewer. r=bdahl
As part of the work to clean-up the event dispatching in the PDF Viewer, particularily re-dispatching of internal `EventBus` events to the DOM, this patch is necessary to unblock the upstream work that's currently pending in [PR 11655](https://github.com/mozilla/pdf.js/pull/11655).

Finally, the patch also removes the `ChromeActions.supportsDocumentColors` method given that it's been unused since [bug 1611175](https://bugzilla.mozilla.org/show_bug.cgi?id=1611175) and [PR 11521](https://github.com/mozilla/pdf.js/pull/11521).

Differential Revision: https://phabricator.services.mozilla.com/D68533

--HG--
extra : moz-landing-system : lando
2020-03-27 17:27:30 +00:00
Mike Taylor 15c0cefbdb Bug 1621062 - Import WebCompat Addon v9.0.0 sources. r=webcompat-reviewers,denschub
Differential Revision: https://phabricator.services.mozilla.com/D68413

--HG--
rename : browser/extensions/webcompat/injections/js/bug1577245-salesforce-communities-hide-unsupported.js => browser/extensions/webcompat/injections/js/bug1623375-salesforce-communities-hide-unsupported.js
rename : browser/extensions/webcompat/lib/google.js => browser/extensions/webcompat/lib/intervention_helpers.js
extra : moz-landing-system : lando
2020-03-26 20:15:46 +00:00
Sam Foster 2db8ec19f5 Bug 1622514 - Move OSKeyStore.jsm into toolkit/modules. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D68133

--HG--
rename : browser/modules/OSKeyStore.jsm => toolkit/modules/OSKeyStore.jsm
rename : browser/modules/test/OSKeyStoreTestUtils.jsm => toolkit/modules/tests/modules/OSKeyStoreTestUtils.jsm
rename : browser/modules/test/unit/test_osKeyStore.js => toolkit/modules/tests/xpcshell/test_osKeyStore.js
extra : moz-landing-system : lando
2020-03-25 08:21:24 +00:00
Ryan VanderMeulen bfb8c00f81 Bug 1624500 - Update pdf.js to version 2.5.23. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D67965

--HG--
extra : moz-landing-system : lando
2020-03-25 15:50:56 +00:00
Ryan VanderMeulen bdbb0b4ec0 Bug 1622069 - Update pdf.js to version 2.4.445. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D66645

--HG--
extra : moz-landing-system : lando
2020-03-23 15:34:07 +00:00
Sylvestre Ledru d0b079ddce Bug 1622328 - aboutCompat.html: Add the license r=ksenia
Differential Revision: https://phabricator.services.mozilla.com/D66834

--HG--
extra : moz-landing-system : lando
2020-03-19 21:18:11 +00:00
Sylvestre Ledru be18fd4dba Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D67319

--HG--
extra : moz-landing-system : lando
2020-03-19 13:47:51 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Jared Wein cc57cbe8d2 Bug 1194529 - Update OSKeyStore pref names now that the module is moved. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61745

--HG--
extra : moz-landing-system : lando
2020-03-12 14:47:28 +00:00
Jared Wein 11ed78ea66 Bug 1194529 - Move OSKeyStore.jsm to browser/modules since it is no longer used by just Form Autofill. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61743

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/modules/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/fixtures/OSKeyStoreTestUtils.jsm => browser/modules/test/OSKeyStoreTestUtils.jsm
rename : browser/extensions/formautofill/test/unit/test_osKeyStore.js => browser/modules/test/unit/test_osKeyStore.js
extra : moz-landing-system : lando
2020-03-12 14:47:18 +00:00
Dorel Luca 7d0c94a0e9 Backed out 8 changesets (bug 1506602, bug 1194529) for Browser-chrome failures in browser/browser_aaa_eventTelemetry_run_first.js. CLOSED TREE
Backed out changeset 0848e3945164 (bug 1506602)
Backed out changeset a8b80ec1830e (bug 1506602)
Backed out changeset e83a89eb5007 (bug 1194529)
Backed out changeset 7bf0a8463e53 (bug 1194529)
Backed out changeset 5b5cbd52e30f (bug 1194529)
Backed out changeset 55c38d92f65a (bug 1194529)
Backed out changeset 3242adb0ff8e (bug 1194529)
Backed out changeset c2f10d341da8 (bug 1194529)

--HG--
rename : browser/modules/OSKeyStore.jsm => browser/extensions/formautofill/OSKeyStore.jsm
rename : browser/modules/test/OSKeyStoreTestUtils.jsm => browser/extensions/formautofill/test/fixtures/OSKeyStoreTestUtils.jsm
rename : browser/modules/test/unit/test_osKeyStore.js => browser/extensions/formautofill/test/unit/test_osKeyStore.js
2020-03-11 01:48:36 +02:00
Jared Wein dfde50fb60 Bug 1194529 - Update OSKeyStore pref names now that the module is moved. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61745

--HG--
extra : moz-landing-system : lando
2020-03-10 20:00:58 +00:00
Jared Wein 2642cc0cdb Bug 1194529 - Move OSKeyStore.jsm to browser/modules since it is no longer used by just Form Autofill. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D61743

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/modules/OSKeyStore.jsm
rename : browser/extensions/formautofill/test/fixtures/OSKeyStoreTestUtils.jsm => browser/modules/test/OSKeyStoreTestUtils.jsm
rename : browser/extensions/formautofill/test/unit/test_osKeyStore.js => browser/modules/test/unit/test_osKeyStore.js
extra : moz-landing-system : lando
2020-03-10 20:00:55 +00:00
Ryan VanderMeulen b5c95c8f94 Bug 1620601 - Update pdf.js to version 2.4.407. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D65726

--HG--
extra : moz-landing-system : lando
2020-03-09 19:25:11 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Masayuki Nakano dace885161 Bug 1449831 - part 4: Add automated tests for `InputEvent.getTargetRanges()` r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D64731

--HG--
extra : moz-landing-system : lando
2020-03-03 03:41:16 +00:00
Michael Forney 2e80ca8853 Bug 1618411 - Fix installed file conditions on non-Linux platforms using GTK r=dao
TwemojiMozilla.ttf is used on all GTK platforms, not just Linux.

import-export.svg and sort.svg aren't used on GTK platforms, so
they shouldn't be installed for non-Linux GTK platforms.

autocomplete-item.css and editDialog.css are used on all GTK
platforms, not just Linux.

Differential Revision: https://phabricator.services.mozilla.com/D64496

--HG--
extra : moz-landing-system : lando
2020-03-02 19:54:43 +00:00
Mike Conley 361158206b Bug 1619110 - Apply Picture-in-Picture toggle policy to more Udemy domains. r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D64956

--HG--
extra : moz-landing-system : lando
2020-03-02 15:21:11 +00:00
Ryan VanderMeulen 832b836f88 Bug 1618875 - Update pdf.js to version 2.4.392. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D64743

--HG--
extra : moz-landing-system : lando
2020-02-28 16:43:57 +00:00
Boris Zbarsky 4750163d3b Bug 911444 part 3. Store the principal a PDF viewer document would have had if the PDF viewer had not messed with the principal. r=bdahl,bholley
Differential Revision: https://phabricator.services.mozilla.com/D63709

--HG--
extra : moz-landing-system : lando
2020-02-27 14:54:53 +00:00
Tim Nguyen 4e7d364d5a Bug 1618203 - Fix appearance of autofill popup icons on custom themes. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D64374

--HG--
extra : moz-landing-system : lando
2020-02-26 18:24:15 +00:00
Dennis Schubert 7229e0ca1f Bug 1618128 - Import WebCompat GoFaster 8.0.0 sources. r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D64323

--HG--
extra : moz-landing-system : lando
2020-02-26 17:54:25 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Dorel Luca 1def5d818a Backed out 4 changesets (bug 911444) for Mochitest failures in dom/base/test/test_pdf_print.html. CLOSED TREE
Backed out changeset d156bbaabbd5 (bug 911444)
Backed out changeset a32592af0b11 (bug 911444)
Backed out changeset b96d0a37ed1a (bug 911444)
Backed out changeset fd2e3e8728d9 (bug 911444)
2020-02-25 00:11:50 +02:00
Boris Zbarsky cf22ea5cf0 Bug 911444 part 3. Store the principal a PDF viewer document would have had if the PDF viewer had not messed with the principal. r=bdahl,bholley
Differential Revision: https://phabricator.services.mozilla.com/D63709

--HG--
extra : moz-landing-system : lando
2020-02-24 21:05:04 +00:00
egao a3a95d7b94 Bug 1613983 - adjust test manifests for linux64 browser-chrome tests on ubuntu 1804, r=jmaher.
Depends on D63435

Differential Revision: https://phabricator.services.mozilla.com/D63436

--HG--
extra : moz-landing-system : lando
2020-02-20 13:50:30 +00:00
Ryan VanderMeulen a9e9474027 Bug 1616560 - Update pdf.js to version 2.4.375. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D63326

--HG--
extra : moz-landing-system : lando
2020-02-19 18:23:01 +00:00
Christian Holler 66d030b34d Bug 1612711 - Enable Mochitests and XPCShell tests for TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62628

--HG--
extra : moz-landing-system : lando
2020-02-12 19:03:36 +00:00
Gijs Kruitbosch a3d7372669 Bug 1545167 - write default pdf behaviour to handlers.json without going to the OS, r=florian,mkaply
I'm taking the opportunity to remove isDefaultHandlerApp messaging as the
content-side calls were removed in bug 1353029.

Depends on D59788

Differential Revision: https://phabricator.services.mozilla.com/D59789

--HG--
extra : moz-landing-system : lando
2020-02-10 23:52:21 +00:00
Ryan VanderMeulen fc773ab807 Bug 1614330 - Update pdf.js to version 2.4.349. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D62255

--HG--
extra : moz-landing-system : lando
2020-02-10 21:13:02 +00:00
Nihanth Subramanya 47120318ab Bug 1613994 - Wait for state telemetry event after resetting enabled pref to ensure add-on has a chance to react. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62102

--HG--
extra : moz-landing-system : lando
2020-02-10 08:07:26 +00:00
Daniel Varga b3b9fbdc55 Backed out changeset 2176eab309a8 (bug 1613953) for causing xpcshell failures at browser/extensions/doh-rollout/test/unit/test_localStorageMigration.js
CLOSED TREE
2020-02-07 18:52:02 +02:00
Nihanth Subramanya 68aa52dd77 Bug 1613953 - Install doh-rollout add-on as builtin rather than temporary in local storage migration test. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D62047

--HG--
extra : moz-landing-system : lando
2020-02-07 15:57:20 +00:00
Nihanth Subramanya 09a54a4c12 Bug 1613659 - Ensure proper rollback if no longer enabled after a restart. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D62022

--HG--
extra : moz-landing-system : lando
2020-02-07 15:43:43 +00:00
Nihanth Subramanya 3a915325be Bug 1613659 - Remove network listeners and reset TRR mode when enabled pref is rolled back. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61845

--HG--
extra : moz-landing-system : lando
2020-02-06 22:22:26 +00:00
Bogdan Tara 3f6cc7f3b5 Backed out changeset 28a9e4b075af (bug 1613659) for doh-rollout related failures CLOSED TREE 2020-02-06 21:54:47 +02:00
Nihanth Subramanya 1dc638a167 Bug 1613659 - Remove network listeners and reset TRR mode when enabled pref is rolled back. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61845

--HG--
extra : moz-landing-system : lando
2020-02-06 18:35:10 +00:00
Narcis Beleuzu c8f08e0930 Backed out 2 changesets (bug 1547693, bug 1545167) for xpcshell failures on test_handlerService.js . CLOSED TREE
Backed out changeset 0e6e758f47b5 (bug 1545167)
Backed out changeset f74a32d5753a (bug 1547693)
2020-02-06 18:49:44 +02:00
Gijs Kruitbosch f3a6914b76 Bug 1545167 - write default pdf behaviour to handlers.json without going to the OS, r=florian,mkaply
I'm taking the opportunity to remove isDefaultHandlerApp messaging as the
content-side calls were removed in bug 1353029.

Depends on D59788

Differential Revision: https://phabricator.services.mozilla.com/D59789

--HG--
extra : moz-landing-system : lando
2020-01-23 15:27:26 +00:00
Ryan VanderMeulen 20e7951d6c Bug 1613426 - Update pdf.js to version 2.4.326. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D61713

--HG--
extra : moz-landing-system : lando
2020-02-05 17:18:48 +00:00
Ryan VanderMeulen 3adabd99a5 Bug 1611175 - Update pdf.js to version 2.4.292. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D60852

--HG--
extra : moz-landing-system : lando
2020-02-04 16:46:55 +00:00
Christian Holler 71231ac083 Bug 1612707 - Disable various slow tests under TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D61562

--HG--
extra : moz-landing-system : lando
2020-02-04 14:34:07 +00:00
Andrew Swan ac50447267 Bug 1611715 Fix screenshots Copy/Download buttons to include img and text r=_6a68
Differential Revision: https://phabricator.services.mozilla.com/D61138

--HG--
extra : moz-landing-system : lando
2020-02-03 21:41:33 +00:00
Ksenia Berezina 7455ec021f Bug 1612909 - Import WebCompat GoFaster 7.0.0 sources; r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D61482

--HG--
extra : moz-landing-system : lando
2020-02-03 18:01:37 +00:00
Brian Grinstead 3d2d2d0ea7 Bug 1608281 - Automated rewrite away from reading properties on the global `this` in JSM files - round 1 r=mossop
This patch was generated with a script. It doesn't include all files:

- Files that use the preprocessor or fail to parse are skipped
- Files that are loaded as JSMs but don't use the .jsm extension are skipped (those will be renamed in Bug 1609269)

It was generated with the following command using d855222aa2/no-this-property-read.js:

```
hg revert --all &&
cp .gitignore .rgignore &&
rg --files-without-match -g '*.jsm' '^#endif|^#include|^#filter' | jscodeshift --stdin --transform ~/Code/jsm-rewrites/no-this-property-read.js --ignore-pattern ./mobile/android/modules/Sanitizer.jsm --ignore-pattern ./js/xpconnect/tests/unit/syntax_error.jsm &&
./mach eslint `hg st | rg '^M ' | sed 's/^M //'`
```

Differential Revision: https://phabricator.services.mozilla.com/D60187

--HG--
extra : moz-landing-system : lando
2020-01-29 21:50:04 +00:00
Mike Conley 3defe1872c Bug 1610993 - Adjust Picture-in-Picture toggle to be at 25% from the top for Instagram videos. r=denschub
Depends on D61010

Differential Revision: https://phabricator.services.mozilla.com/D61011

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:53 +00:00
Mike Conley 97955a01e0 Bug 1606195 - Adjust Picture-in-Picture toggle to be at 25% from the top for Udemy videos. r=denschub
Depends on D61009

Differential Revision: https://phabricator.services.mozilla.com/D61010

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:25 +00:00
Mike Conley 9745b30124 Bug 1608425 - Adjust Picture-in-Picture toggle to be at 25% from the top for Twitch videos. r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D61009

--HG--
extra : moz-landing-system : lando
2020-01-28 08:50:02 +00:00
Andrew Swan 906e1a31e3 Bug 1587544 Part 2: Migrate screenshots to fluent r=fluent-reviewers,_6a68,flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D49785

--HG--
extra : moz-landing-system : lando
2020-01-25 17:09:54 +00:00
Andrew Swan 1de1359036 Bug 1587544 Part 1: Remove screenshots onboarding r=_6a68
Screenshots is now part of the browser first-run experience so get rid of
the onboarding slides embedded in screenshots.  This means fewer strings
that need to be ported to fluent.

Differential Revision: https://phabricator.services.mozilla.com/D58815

--HG--
extra : moz-landing-system : lando
2020-01-25 15:35:25 +00:00
Nihanth Subramanya 53ec6e72dc Bug 1605297 - Don't expect telemetry after restarting add-on in policy override test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D60804

--HG--
extra : moz-landing-system : lando
2020-01-24 08:55:51 +00:00
Nihanth Subramanya 5d02e4862b Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-23 08:39:49 +00:00
Nihanth Subramanya ec2865c8d7 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:44 +00:00
Nihanth Subramanya 150f590937 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:46 +00:00
Nihanth Subramanya cb4ffdf160 Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-22 22:16:48 +00:00
Andreea Pavel 950995415e Backed out 2 changesets (bug 1587544) for failing browser_all_files_referenced.js on a CLOSED TREE
Backed out changeset 919eb56fa574 (bug 1587544)
Backed out changeset 483a2f094c2b (bug 1587544)
2020-01-24 00:42:32 +02:00
Andrew Swan 38d82e180b Bug 1587544 Part 1: Remove screenshots onboarding r=_6a68
Screenshots is now part of the browser first-run experience so get rid of
the onboarding slides embedded in screenshots.  This means fewer strings
that need to be ported to fluent.

Differential Revision: https://phabricator.services.mozilla.com/D58815

--HG--
extra : moz-landing-system : lando
2020-01-23 19:30:02 +00:00
Andrew Swan 6a910cddaf Bug 1587544 Part 2: Migrate screenshots to fluent r=fluent-reviewers,_6a68,flod
Differential Revision: https://phabricator.services.mozilla.com/D49785

--HG--
extra : moz-landing-system : lando
2020-01-23 19:27:50 +00:00
Cosmin Sabou 158024baa6 Backed out 4 changesets (bug 1600109, bug 1609037, bug 1608320) for turning bug 1605297 into permafail.
Backed out changeset ca3381ffade1 (bug 1609037)
Backed out changeset 6f3358db89c7 (bug 1608320)
Backed out changeset 0614bbf65c82 (bug 1600109)
Backed out changeset ea650c48ddcb (bug 1600109)
2020-01-23 00:12:00 +02:00
Kris Maglione ab5a99dd15 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Mihai Alexandru Michis 745c94b1df Backed out changeset 006f4e50e8e5 (bug 1602898) for causing multiple failures.
CLOSED TREE
2020-01-21 22:55:37 +02:00
Kris Maglione aa0306477e Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 18:48:26 +00:00
Nihanth Subramanya dde23c4501 Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-21 08:28:25 +00:00
Nihanth Subramanya 7dc0b07882 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:03 +00:00
Nihanth Subramanya 0d2a8199d0 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:01 +00:00
Nihanth Subramanya eee7b4fa3c Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-21 08:21:59 +00:00
Cosmin Sabou 6ed6078578 Backed out 2 changesets (bug 1600109) for browser chrome failures on browser_policyOverride.js CLOSED TREE
Backed out changeset 18ebd4ba0148 (bug 1600109)
Backed out changeset 76363bc85344 (bug 1600109)
2020-01-18 01:17:07 +02:00
Cosmin Sabou 9b6e5f8e66 Backed out changeset 4c303f6ec2e6 (bug 1602898) for browser chrome failures on browser_ssb_windowlocation. 2020-01-18 01:06:34 +02:00
Kris Maglione 036e960542 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-17 21:36:10 +00:00
Narcis Beleuzu a024104573 Backed out 2 changesets (bug 1609037, bug 1608320) for bc failures on browser_cleanFlow.js . CLOSED TREE
Backed out changeset 44539f8e0cea (bug 1609037)
Backed out changeset 3dddea4c5d73 (bug 1608320)
2020-01-17 19:18:49 +02:00
Nihanth Subramanya 73ad962480 Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-17 14:58:52 +00:00
Nihanth Subramanya 2a5d7c0fe8 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-17 15:00:46 +00:00
Nihanth Subramanya 1ff5f9a747 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-15 16:08:10 +00:00
Nihanth Subramanya c64c07e5af Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-08 10:21:38 +00:00
Dimi Lee 45330c2c4e Bug 1601310 - Add GetContentBlockingEvents IPC method for the child to retrive content blocking event in the parent. r=timhuang,twisniewski,Ehsan
This patch does the following:
1. Add a WindowGlobalChild IPC method - GetContentBlockingEvents. Documents can use the method
   retrieve content blocking events stored in the parent process.
2. Update nsIDocShell::GetHasTrackingContentBlocked to return a promise.
3. Replace API in report-site-issue to use the promise-based GetHasTrackingContentBlocked API

Differential Revision: https://phabricator.services.mozilla.com/D56204

--HG--
extra : moz-landing-system : lando
2019-12-17 11:05:06 +00:00
shindli fca74ac308 Bug 1603014 - unskip browser_pdfjs_zoom.js on mac r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D59271

--HG--
extra : moz-landing-system : lando
2020-01-15 07:53:22 +00:00
Masayuki Nakano 90cd2122dd Bug 970802 - part 5: Make `AutoEditActionDataSetter` created method dispatch "beforeinput" event r=smaug,m_kato
`AutoEditActionDataSetter` is created in the stack when editor's public method
is called and that guarantees lifetime of global objects in editor such as
editor itself, selection controller, etc.

The dispatcher of `beforeinput` event returns `NS_ERROR_EDITOR_ACTION_CANCELED`
if an event is actually dispatched but canceled.  The reason why it's an error
is, editor code must stop handling anything when any methods return error.
So, returning an error code is reasonable in editor module.  But when it's
filtered by `EditorBase::ToGenericNSResult()` at return statement of public
methods, it's converted to `NS_SUCCESS_DOM_NO_OPERATION`.  This avoids throwing
new exception, but editor class users in C++ can distinguish whether each edit
action is canceled or handled.  The reason why we should not throw new
exception from XPCOM API is, without taking care of each caller may break some
our UI (especially for avoiding to break comm-central).  Therefore, this patch
does not make XPCOM methods return error code when `beforeinput` event is
canceled.

In most cases, immediately after creating `AutoEditActionDataSetter` is good
timing to dispatch `beforeinput` event since editor has not touched the DOM
yet.  If `beforeinput` requires `data` or `dataTransfer`, methods need to
dispatch `beforeinput` event after that.  Alhtough this is not a good thing
from point of view of consistency of the code.  However, I have no better
idea.

Note 1: Our implementation does NOT conform to the spec about event order
between `keypress` and `beforeinput` (dispatching `beforeinput` event after
`keypress` event).  However, we follow all other browsers' behavior so that it
must be safe and the spec should be updated for backward compatibility.
Spec issue: https://github.com/w3c/uievents/issues/220

Note 2: Our implementation does NOT conform to the spec about event order
between `compositionupdate` and `beforeinput`.  Our behavior is same as
Safari, but different from Chrome.  This might cause web-compat issues.
However, our behavior does make sense from point of view of consistency of
event spec.  Additionally, at both `compositionupdate` and `beforeinput`,
composition string in editor has not been modified yet.  Therefore, this
may not cause web-compat issues (and I hope so).
Spec issue: https://github.com/w3c/input-events/issues/49

Note that this patch makes editor detect bugs that `beforeinput` event hasn't
been handled yet when it dispatches `input` event or modifying `data` and
`dataTransfer` value are modified after dispatching `beforeinput` event with
`MOZ_ASSERT`s.

Differential Revision: https://phabricator.services.mozilla.com/D58127

--HG--
extra : moz-landing-system : lando
2020-01-14 07:18:51 +00:00
Masayuki Nakano 18b65250c8 Bug 970802 - part 4: Make `TextControlState` dispatch "beforeinput" event if there is no `TextEditor` r=smaug
If `TextControlState` does not have `TextEditor` and its `SetValue()` is called
from `SetUserInput()`, `TextControlState` itself needs to dispatch `beforeinput`
event.

If the value is modified by `beforeinput` event listener, it's intended that
`preventDefault()` is called by the web apps.  However, the behavior in this
case is not mentioned by UI Events nor Input Events spec.  We should just file
a spec issue instead of emulating Chrome's behavior for now because it requires
more changes, but this case must be an edge case.
The spec issue is: https://github.com/w3c/input-events/issues/106

Differential Revision: https://phabricator.services.mozilla.com/D58126

--HG--
extra : moz-landing-system : lando
2020-01-14 07:16:34 +00:00
Masayuki Nakano 0bf0eeeaa0 Bug 970802 - part 1: Add `beforeinput` event tests into existing mochitests r=smaug
This patch adds a lot of `beforeinput` event tests into existing mochitests
which test `input` events.  But this does not add tests of canceling
`beforeinput` event because it requires really complicated path until
implementing `beforeinput` actually.

Note that `beforeinput` event is not fired with `Document.execCommand()`.
Therefore, this patch does not add WPT for testing `beforeinput` event.
And unfortunately, WPT cannot test most cases of the new tests.

Differential Revision: https://phabricator.services.mozilla.com/D58123

--HG--
extra : moz-landing-system : lando
2020-01-14 07:14:50 +00:00
Razvan Maries 0df75c8122 Backed out 5 changesets (bug 970802) for xpcshell perma fails. CLOSED TREE
Backed out changeset 5511edd700f7 (bug 970802)
Backed out changeset 1fb9cf2264b6 (bug 970802)
Backed out changeset 6b185296c742 (bug 970802)
Backed out changeset ce6853e64ed6 (bug 970802)
Backed out changeset aa9bd45c09b1 (bug 970802)
2020-01-14 04:41:15 +02:00
Masayuki Nakano 00f4c31bb7 Bug 970802 - part 5: Make `AutoEditActionDataSetter` created method dispatch "beforeinput" event r=smaug,m_kato
`AutoEditActionDataSetter` is created in the stack when editor's public method
is called and that guarantees lifetime of global objects in editor such as
editor itself, selection controller, etc.

The dispatcher of `beforeinput` event returns `NS_ERROR_EDITOR_ACTION_CANCELED`
if an event is actually dispatched but canceled.  The reason why it's an error
is, editor code must stop handling anything when any methods return error.
So, returning an error code is reasonable in editor module.  But when it's
filtered by `EditorBase::ToGenericNSResult()` at return statement of public
methods, it's converted to `NS_SUCCESS_DOM_NO_OPERATION`.  This avoids throwing
new exception, but editor class users in C++ can distinguish whether each edit
action is canceled or handled.  The reason why we should not throw new
exception from XPCOM API is, without taking care of each caller may break some
our UI (especially for avoiding to break comm-central).  Therefore, this patch
does not make XPCOM methods return error code when `beforeinput` event is
canceled.

In most cases, immediately after creating `AutoEditActionDataSetter` is good
timing to dispatch `beforeinput` event since editor has not touched the DOM
yet.  If `beforeinput` requires `data` or `dataTransfer`, methods need to
dispatch `beforeinput` event after that.  Alhtough this is not a good thing
from point of view of consistency of the code.  However, I have no better
idea.

Note 1: Our implementation does NOT conform to the spec about event order
between `keypress` and `beforeinput` (dispatching `beforeinput` event after
`keypress` event).  However, we follow all other browsers' behavior so that it
must be safe and the spec should be updated for backward compatibility.
Spec issue: https://github.com/w3c/uievents/issues/220

Note 2: Our implementation does NOT conform to the spec about event order
between `compositionupdate` and `beforeinput`.  Our behavior is same as
Safari, but different from Chrome.  This might cause web-compat issues.
However, our behavior does make sense from point of view of consistency of
event spec.  Additionally, at both `compositionupdate` and `beforeinput`,
composition string in editor has not been modified yet.  Therefore, this
may not cause web-compat issues (and I hope so).
Spec issue: https://github.com/w3c/input-events/issues/49

Note that this patch makes editor detect bugs that `beforeinput` event hasn't
been handled yet when it dispatches `input` event or modifying `data` and
`dataTransfer` value are modified after dispatching `beforeinput` event with
`MOZ_ASSERT`s.

Differential Revision: https://phabricator.services.mozilla.com/D58127

--HG--
extra : moz-landing-system : lando
2020-01-14 01:09:45 +00:00
Masayuki Nakano f52c17a188 Bug 970802 - part 4: Make `TextControlState` dispatch "beforeinput" event if there is no `TextEditor` r=smaug
If `TextControlState` does not have `TextEditor` and its `SetValue()` is called
from `SetUserInput()`, `TextControlState` itself needs to dispatch `beforeinput`
event.

If the value is modified by `beforeinput` event listener, it's intended that
`preventDefault()` is called by the web apps.  However, the behavior in this
case is not mentioned by UI Events nor Input Events spec.  We should just file
a spec issue instead of emulating Chrome's behavior for now because it requires
more changes, but this case must be an edge case.
The spec issue is: https://github.com/w3c/input-events/issues/106

Differential Revision: https://phabricator.services.mozilla.com/D58126

--HG--
extra : moz-landing-system : lando
2020-01-08 09:24:33 +00:00
Masayuki Nakano 583465bce4 Bug 970802 - part 1: Add `beforeinput` event tests into existing mochitests r=smaug
This patch adds a lot of `beforeinput` event tests into existing mochitests
which test `input` events.  But this does not add tests of canceling
`beforeinput` event because it requires really complicated path until
implementing `beforeinput` actually.

Note that `beforeinput` event is not fired with `Document.execCommand()`.
Therefore, this patch does not add WPT for testing `beforeinput` event.
And unfortunately, WPT cannot test most cases of the new tests.

Differential Revision: https://phabricator.services.mozilla.com/D58123

--HG--
extra : moz-landing-system : lando
2020-01-08 09:22:50 +00:00
Johann Hofmann 620e65a48a Bug 1608763 - Assign DoH Rollout component to Firefox::Security. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D59659

--HG--
extra : moz-landing-system : lando
2020-01-14 00:34:17 +00:00
Tooru Fujisawa 8a7e982608 Bug 1259822 - Part 2: Show property key in the error message when target object value is null or undefined. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D58104

--HG--
extra : moz-landing-system : lando
2020-01-11 05:10:54 +00:00
Ryan VanderMeulen 5af29b2e62 Bug 1608186 - Update pdf.js to version 2.4.264. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D59379

--HG--
extra : moz-landing-system : lando
2020-01-10 21:29:12 +00:00
Nihanth Subramanya 3be5f39f0a Bug 1605008 - Don't overwrite skip heuristics pref to ensure heuristics aren't run after network changes. r=maxxcrawford
Ported from Github PR #214 https://github.com/mozilla/doh-rollout/pull/214

Differential Revision: https://phabricator.services.mozilla.com/D58169

--HG--
extra : moz-landing-system : lando
2020-01-09 02:10:29 +00:00
Kris Maglione d85d1fedb7 Bug 1603014: Wait for content tasks to add listener before triggering things they're listening for. r=mccr8
SpecialPowers.spawn bounces tasks off SpecialPowersParent before sending them
to SpecialPowersChild, which means that any operations which are sent
immediately afterwards and take a more direct route (like zoom changes) will
get to the content process before the task starts running. In the case of
tasks which depending on registering a listener before said operations take
place, this is obviously a problem.

So this patch fixes those cases in this test to wait for the listeners to be
setup before continuing.

Differential Revision: https://phabricator.services.mozilla.com/D57870

--HG--
extra : moz-landing-system : lando
2020-01-05 00:38:19 +00:00
Brindusan Cristian 3a213de941 Bug 1603014 - Disable on OSX for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58698

--HG--
extra : moz-landing-system : lando
2020-01-05 11:51:47 +00:00
Daniel Varga 1d798d7582 Bug 1605297 - disable browser_policyOverride.js for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D58421

--HG--
extra : moz-landing-system : lando
2020-01-01 23:34:25 +00:00
Emily McDonough 2847897c46 Bug 1606342 - Make sure dropdowns in the saved addresses preferences keep within their parent max-width. r=MattN
This was broken by bug 1591925, which changed the min-size calculation for
auto/unspecified min-width on elements inside of flexbox.

Differential Revision: https://phabricator.services.mozilla.com/D58469

--HG--
extra : moz-landing-system : lando
2020-01-02 18:14:42 +00:00
Michael Kaply ce18ace1e4 Bug 1599935 - Make unsupported PDF features a warning. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D55527

--HG--
extra : moz-landing-system : lando
2020-01-02 18:30:16 +00:00
Ryan VanderMeulen c0c02a8427 Bug 1606634 - Update pdf.js to version 2.4.254. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D58521

--HG--
extra : moz-landing-system : lando
2020-01-02 18:20:07 +00:00
Noemi Erli eb29d678e9 Backed out changeset b2027d7f6480 (bug 1605297) for failures in browser_cleanFlow.js CLOSED TREE 2020-01-02 20:22:39 +02:00
Nihanth Subramanya 15616d95ec Bug 1605297 - Wait for balrog migration at test start to prevent intermittent failures in DoH tests. r=JuniorHsu
There was a race between the add-on adding its pref listener and us flipping the enabled pref. By waiting for
the balrog migration, we give the add-on time to start listening for the pref before setting it.

Differential Revision: https://phabricator.services.mozilla.com/D58422

--HG--
extra : moz-landing-system : lando
2020-01-01 23:34:25 +00:00
Mike Conley 8bdfa0e67a Bug 1592286 - Add a WebCompat experimental API for mapping MatchPatterns to Picture-in-Picture toggle position policies. r=denschub
Differential Revision: https://phabricator.services.mozilla.com/D57375

--HG--
extra : moz-landing-system : lando
2019-12-20 21:10:25 +00:00
shindli 143073ad50 Backed out changeset bf4b4d3108f9 (bug 1602898) for causing bc failures in browser/components/ssb/tests/browser/browser_ssb_windowlocation.js CLOSED TREE 2019-12-21 02:22:06 +02:00
Kris Maglione a8523a3bae Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2019-12-20 21:41:26 +00:00
Nihanth Subramanya e033906053 Bug 1598221 - Implement tests for DoH rollout add-on. r=JuniorHsu,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D57414

--HG--
extra : moz-landing-system : lando
2019-12-19 23:27:48 +00:00
mcrawford@mozilla.com c584b43463 Bug 1603478 - The 1.3.0 in-tree add-on doesn't respect user's set policies r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D57118

--HG--
extra : moz-landing-system : lando
2019-12-17 17:05:28 +00:00
Matt Woodrow a925a86ada Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky
We don't want to run stream conversion in the parent (since a lot of them require access to the document), so this instead adds a way to find out what their output type will be.

Differential Revision: https://phabricator.services.mozilla.com/D56134

--HG--
extra : moz-landing-system : lando
2019-12-17 03:02:02 +00:00
Oana Pop Rus 5545e5a016 Backed out 9 changesets (bug 1574372) for bustage and wpt failures. on a CLOSED TREE
Backed out changeset b0183a606fec (bug 1574372)
Backed out changeset b7c96254826e (bug 1574372)
Backed out changeset 196d61adc272 (bug 1574372)
Backed out changeset 419b94b1210e (bug 1574372)
Backed out changeset c192e499eb47 (bug 1574372)
Backed out changeset 4e57038c3518 (bug 1574372)
Backed out changeset 6ec2aa542b59 (bug 1574372)
Backed out changeset d71b4c0aac1a (bug 1574372)
Backed out changeset a05c3b113ac1 (bug 1574372)
2019-12-17 03:26:38 +02:00
Matt Woodrow d1851fa263 Bug 1574372 - Add API to test stream converters to find out their output type. r=bzbarsky
We don't want to run stream conversion in the parent (since a lot of them require access to the document), so this instead adds a way to find out what their output type will be.

Differential Revision: https://phabricator.services.mozilla.com/D56134

--HG--
extra : moz-landing-system : lando
2019-12-16 21:40:06 +00:00
Kirk Steuber b882153384 Bug 1603554 - Replace XULElement.align with getAttribute/setAttribute r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D57157

--HG--
extra : moz-landing-system : lando
2019-12-13 21:26:05 +00:00
Kris Maglione 3cb2072737 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:40 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Emma Malysz be0238569b Bug 1601090, rename .xul files to .xhtml in toolkit/mozapps r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D55837

--HG--
rename : toolkit/mozapps/downloads/content/unknownContentType.xul => toolkit/mozapps/downloads/content/unknownContentType.xhtml
rename : toolkit/mozapps/extensions/content/blocklist.xul => toolkit/mozapps/extensions/content/blocklist.xhtml
rename : toolkit/mozapps/extensions/content/extensions.xul => toolkit/mozapps/extensions/content/extensions.xhtml
rename : toolkit/mozapps/handling/content/dialog.xul => toolkit/mozapps/handling/content/dialog.xhtml
rename : toolkit/mozapps/update/content/updateElevation.xul => toolkit/mozapps/update/content/updateElevation.xhtml
extra : moz-landing-system : lando
2019-12-12 16:30:59 +00:00
Ryan VanderMeulen 0e1aa31bb9 Bug 1602858 - Update pdf.js to version 2.4.176. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D56568

--HG--
extra : moz-landing-system : lando
2019-12-11 22:59:06 +00:00
Neil Deakin e27bc63563 Bug 1595154, make sure the message observer is removed after focus is complete in form autofill tests, also move removing of observer from willDestroy to didDestroy so it is more consistently called, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D54945

--HG--
extra : moz-landing-system : lando
2019-12-11 13:38:35 +00:00
Neil Deakin a3b79c2f38 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-12-11 13:38:13 +00:00
Neil Deakin c93677f198 Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-12-11 13:37:59 +00:00
Neil Deakin 75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione d7164b11c3 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:28 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Kirk Steuber 589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

Differential Revision: https://phabricator.services.mozilla.com/D52411

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 84fa9ffb2a Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione 63b8ddb1c0 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione cd579034cc Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:43 +00:00
Kris Maglione 41c61c2bb9 Bug 1596918: Part 4e - Fix callers which rely on frame message manager globals. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53746

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:29 +00:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00