Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Nihanth Subramanya
c0113c940b
Bug 1603779 - Part 3: Update tests. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D82090
2020-07-10 15:15:02 +00:00
Nihanth Subramanya
1e3b0aa9da
Bug 1603779 - Part 2: Move doh-rollout mochitests into browser/components/doh/test/. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D82088
2020-07-10 15:14:16 +00:00
Nihanth Subramanya
18e89fb613
Bug 1603779 - Part 1: Implement DoHController.jsm and DoHHeuristics.jsm and minimalize doh-rollout extension. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D78598
2020-07-10 15:13:48 +00:00
Nihanth Subramanya
cf07be36e2
Bug 1651682 - React to captive portal connectivity available instead of state change. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82910
2020-07-09 19:12:46 +00:00
Nihanth Subramanya
b507e85bad
Bug 1649450 - Optimistically run heuristics immediately upon network-up. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D81707
2020-06-30 16:45:28 +00:00
Nihanth Subramanya
62a1db641a
Bug 1630093 - Don't run heuristics until internet connectivity has been established. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D80809
2020-06-24 09:13:28 +00:00
Nihanth Subramanya
5b314c8f3b
Bug 1646968 - Remove unnecessary DoH heuristics run at startup. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D80415
2020-06-23 05:29:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
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