Commit Graph

272 Commits

Author SHA1 Message Date
Ricky Stewart
31b8ca9716 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
612312a64c 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
065d2eb893 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
95b44c982f Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
43baed3c18 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
pbz
496da9d280 Bug 613785 - Updated http auth prompt tests to support tab prompts. r=extension-reviewers,Gijs,zombie on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D75567
2020-09-14 10:27:41 +00:00
Cristina Coroiu
57dda83a21 Backed out 3 changesets (bug 613785) for license failure at toolkit/components/pictureinpicture/docs/PiP-diagram.svg on a CLOSED TREE
Backed out changeset 0f7dc1b122c6 (bug 613785)
Backed out changeset c8555693674c (bug 613785)
Backed out changeset 9df275f6cd8d (bug 613785)
2020-09-14 18:20:12 +03:00
pbz
3c3c34df44 Bug 613785 - Updated http auth prompt tests to support tab prompts. r=extension-reviewers,Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D75567
2020-09-14 10:27:41 +00:00
Bogdan Tara
29acabc120 Backed out 3 changesets (bug 1633370, bug 613785) for test_alert_opened_before_session_starts failures CLOSED TREE
Backed out changeset 4738b2f8406d (bug 613785)
Backed out changeset aeeb3f688098 (bug 613785)
Backed out changeset 36b1bf1d2320 (bug 1633370)
2020-09-09 05:00:22 +03:00
pbz
607df2bb89 Bug 613785 - Updated http auth prompt tests to support tab prompts. r=extension-reviewers,Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D75567
2020-09-08 16:33:46 +00:00
Andrea Marchesini
11a79e4f9b Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-17 09:55:56 +00:00
Bogdan Tara
8e3f9471c9 Backed out 4 changesets (bug 1658878) for blob related leaks CLOSED TREE
Backed out changeset 0288ef9ab65b (bug 1658878)
Backed out changeset a5af0e097560 (bug 1658878)
Backed out changeset 33c4b81f99a1 (bug 1658878)
Backed out changeset 16a33c7b4ff3 (bug 1658878)
2020-08-14 22:41:05 +03:00
Andrea Marchesini
128b190cb1 Bug 1658878 - Isolate BlobURLs per agent-cluster - pref, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D86968
2020-08-14 17:39:14 +00:00
Kashav Madan
b7a6b17646 Bug 1653674 - Unskip passing fission tests, r=kmag
It's possible that some of these are still failing intermittently. We can't
really know without first unskipping them.

https://github.com/annygakh/audit-tests

Differential Revision: https://phabricator.services.mozilla.com/D84017
2020-07-21 15:42:48 +00:00
Liang-Heng Chen
1f7ef71879 Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-10 10:28:40 +00:00
Csoregi Natalia
02adadcc4f Backed out changeset 4ed5a0e27c05 (bug 1647732) for font related wpt failures. CLOSED TREE 2020-07-07 12:31:27 +03:00
Liang-Heng Chen
d24b91b2b5 Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-07 07:49:38 +00:00
tkhan
00168e2bff 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
Andrea Marchesini
5bba204524 Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-22 11:03:24 +00:00
Emilio Cobos Álvarez
8db8f02779 Bug 1599160 - Clear the shared stylesheet cache in some mochitests. r=mayhemer,robwu
So that they keep testing the network cache / url classifier / etc...

Differential Revision: https://phabricator.services.mozilla.com/D77843
2020-06-12 19:06:15 +00:00
Razvan Maries
36281afc64 Backed out 7 changesets (bug 1599160) for damp failures. CLOSED TREE
Backed out changeset edb0e17f3c98 (bug 1599160)
Backed out changeset 64b42ac358e6 (bug 1599160)
Backed out changeset ce1521b895e1 (bug 1599160)
Backed out changeset 0b0ff0ad8db7 (bug 1599160)
Backed out changeset c7ef05dae614 (bug 1599160)
Backed out changeset 466cfd0ad5db (bug 1599160)
Backed out changeset b3f28494f0e7 (bug 1599160)
2020-06-12 02:40:38 +03:00
Razvan Maries
c40e3dabba Backed out 2 changesets (bug 1642667) for perma failures on test_peerConnection_basicAudioNATRelay.html. CLOSED TREE
Backed out changeset 94d3e7706178 (bug 1642667)
Backed out changeset f17d5aa45ecc (bug 1642667)
2020-06-12 00:46:08 +03:00
Andrea Marchesini
18cc690b6d Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-10 13:38:24 +00:00
Emilio Cobos Álvarez
eae30757c8 Bug 1599160 - Clear the shared stylesheet cache in some mochitests. r=mayhemer,robwu
So that they keep testing the network cache / url classifier / etc...

Differential Revision: https://phabricator.services.mozilla.com/D77843
2020-06-11 11:42:11 +00:00
Andrea Marchesini
2d9698adc5 Bug 1643288 - Isolate HTTP channel authentication per first-party when privacy.partition.network_state is set to true - part 3 - tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D78305
2020-06-10 14:44:18 +00:00
Narcis Beleuzu
a18032033f Backed out 2 changesets (bug 1642667) for mda failures on test_peerConnection_basicAudioNATRelay.html . CLOSED TREE
Backed out changeset c1672891baf5 (bug 1642667)
Backed out changeset 4745600e205a (bug 1642667)
2020-06-10 16:34:45 +03:00
Andrea Marchesini
c976f55200 Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78083
2020-06-09 11:55:21 +00:00
Narcis Beleuzu
654a049dcf Backed out 3 changesets (bug 1633370, bug 613785) for mochitest failures on test_prompt_promptAuth.html . CLOSED TREE
Backed out changeset 333d10fedb1a (bug 613785)
Backed out changeset fdc328259d08 (bug 613785)
Backed out changeset 6bcd571ae2fc (bug 1633370)
2020-06-03 01:10:04 +03:00
pbz
9ade45c244 Bug 613785 - Updated http auth prompt tests to support tab prompts. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D75567
2020-05-28 11:11:52 +00:00
Andrea Marchesini
900f2221ea Bug 1641479 - Test for favicon cache isolation per first-party when privacy.partition.network_state is set to true, r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D77219
2020-06-02 12:05:18 +00:00
Andrea Marchesini
3d93775880 Bug 1639154 - Isolate network cache per first-party when privacy.partition.network_state is set to true - part 2 - tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D75922
2020-05-21 05:41:50 +00:00
Tim Huang
73a1a014b0 Bug 1586726 - Make the test 'browser/components/originattributes/test/browser/browser_firstPartyIsolation_saveAs.js' working in Fission. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D76208
2020-05-20 20:17:06 +00:00
Gijs Kruitbosch
a7ff6e0ec9 Bug 1634051 - don't eagerly initialize the all tabs menu, r=mstriemer
The initialization costs of the TabList constructors is very small compared to
the cost of actually calling _populate, so instead of calling init() from an
idle task, we can just wait until the view actually needs to be shown.

Differential Revision: https://phabricator.services.mozilla.com/D73946
2020-05-15 17:04:29 +00:00
Liang-Heng Chen
58153eeb2c Bug 1634021 - Enable blocking access to storage from tracking resources by default; r=baku,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D73245
2020-05-04 04:21:41 +00:00
Tim Nguyen
c84a1b3dba Bug 1632097 - Clean up pageInfo.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D71928
2020-04-24 13:43:59 +00:00
Bogdan Tara
8efa2297a7 Backed out 2 changesets (bug 1632097) for browser_entry_point_telemetry.js failures CLOSED TREE
Backed out changeset a935561f64d9 (bug 1632097)
Backed out changeset 264bfa5a76dd (bug 1632097)
2020-04-24 15:44:07 +03:00
Tim Nguyen
f60cac5c62 Bug 1632097 - Clean up pageInfo.js. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D71928
2020-04-24 11:21:33 +00:00
sonakshi
700fb84ec0 Bug 1584797 - Remove unused aProxyService parameter from applyFilter method r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D69679
2020-04-06 20:21:03 +00:00
Mark Banner
1cc76add79 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509
2020-03-08 21:45:16 +00:00
Kris Maglione
3b58dc5fe6 Bug 1609443: Part 2 - Fix most dodgy uses of fission.autostart pref. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D64435
2020-02-26 19:43:32 +00:00
Neil Deakin
4b46a36e39 Bug 1598305, replace frame script in test browser_firstPartyIsolation_aboutPages.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61900
2020-02-19 22:28:34 +00:00
egao
0b29d615f4 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
2020-02-20 13:50:30 +00:00
Andrea Marchesini
81067bfb9a Bug 1612519 - Fix "Terminating worker revokes its URLs" WPT, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61360
2020-02-02 09:24:37 +00:00
Coroiu Cristina
d5f8c0ab30 Backed out changeset a422cac07967 (bug 1612519) for ESlint failure at browser/components/originattributes/test/browser/worker_blobify.js 2020-02-02 10:55:25 +02:00
Andrea Marchesini
5568898bec Bug 1612519 - Fix "Terminating worker revokes its URLs" WPT, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D61360
2020-02-02 08:24:55 +00:00
Coroiu Cristina
1423739362 Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE 2020-01-20 20:57:54 +02:00
Ehsan Akhgari
17b94762b5 Bug 1609491 - Stop accepting cookie name-value pairs without an equal sign; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D60040
2020-01-20 15:59:12 +00:00
Kristen Wright
808b327c82 Bug 1606888 - remove signon.management.page.enabled r=Gijs
Completely removes the signon.management.page.enabled pref.

Differential Revision: https://phabricator.services.mozilla.com/D58879
2020-01-07 01:42:32 +00:00
Kris Maglione
8c0d38f33d 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
2019-12-13 20:36:16 +00:00
shindli
0aa47af90e 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