Evgenia Kotovich
0d0980ee0d
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-18 09:26:33 +00:00
Noemi Erli
2bba3cec69
Backed out changeset 2ab6bb03dcc1 (bug 1576768) for causing failures in test_double_submit.html CLOSED TREE
2021-10-18 02:05:57 +03:00
Evgenia Kotovich
3e3dff109c
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-17 14:59:14 +00:00
Alexandru Michis
dac6815201
Backed out changeset 7c08aa027893 (bug 1576768) for causing multiple failures.
...
CLOSED TREE
2021-10-15 16:52:43 +03:00
Evgenia Kotovich
a8b32926fa
Bug 1576768 - Automatically format .sjs files using prettier. r=Standard8,agi,zombie,extension-reviewers
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D128482
2021-10-15 12:58:11 +00:00
Kartik Gautam
f7ffcd09fb
Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
...
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Dorel Luca
7320ae982a
Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE
2020-12-13 16:38:21 +02:00
Kartik Gautam
caf549c200
Bug 1679758 - Remove trailing empty lines r=sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
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
Mark Banner
91b65009eb
Bug 1549945 - Avoid the need for import-globals-from when (x)html files load scripts via /tests/. r=mossop
...
When loading from /tests/ we can strip off the /tests/ part and find the file with the rest of the path.
Differential Revision: https://phabricator.services.mozilla.com/D71411
2020-04-20 16:15:11 +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
Victor Porof
0a8ff0ad85
Bug 1561435 - Format dom/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D35951
--HG--
extra : source : 62f3501af4bc1c0bd1ee1977a28aee04706a6663
2019-07-05 10:44:55 +02:00
Victor Porof
b5a4cb3848
Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D34535
--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Brian Grinstead
0d460e3432
Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
...
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27457
--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Mark Banner
dba6983e75
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Edwin Gao
bb0492c3e0
Bug 1535784 - disable all instances of test_event_listener_leaks.html r=jmaher
...
Disabled all instances of test_event_listener_leaks.html scattered across the `dom/` test suite.
There exists a bug, 1530894 to track the failures, which has seen no movement for the 3 weeks it has been on file for.
Differential Revision: https://phabricator.services.mozilla.com/D23755
--HG--
extra : moz-landing-system : lando
2019-03-18 18:15:46 +00:00
Alex Kong
1a4b7d1b8a
Bug 1508988 - Enable ESLint for dom/abort/, dom/asmjscache/, dom/battery/, dom/broadcastchannel/ and dom/console/ (manual changes). r=Standard8,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D14132
--HG--
extra : moz-landing-system : lando
2018-12-19 22:39:34 +00:00
Mark Banner
a26105ff45
Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D9661
--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00:00
Ben Kelly
0b6897561a
Bug 1450358
P2 Test AbortSignal for event listener related runtime leaks. r=baku
2018-04-04 11:25:42 -07:00
Florian Quèze
032c961e0a
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Andrea Marchesini
bbddef77bd
Bug 1415682 - Abort API exposed to System, r=qdot
2017-11-10 19:37:13 +01:00
Dan Banner
7caa92d5d8
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Andrea Marchesini
04cd5ddc32
Bug 1402317 - Remove dom.abortController.enabled and dom.abortController.fetch.enabled prefs, r=qdot
2017-09-27 03:50:46 +02:00
Andrea Marchesini
1fbe4316ad
Bug 1395006 - Use preferences to enable Abort API for testing in release. r=qdot
...
--HG--
rename : dom/tests/mochitest/fetch/slow.sjs => dom/abort/tests/slow.sjs
extra : rebase_source : 8bb35c3f2f92a06bebaba181d29c903d38deb40a
2017-08-29 23:09:00 -04:00
Andrea Marchesini
25cdcbf331
Bug 1378342 - AbortSignal/AbortController - part 12 - eslint for dom/abort tests, r=me
2017-08-29 11:31:07 +02:00
Andrea Marchesini
031018437a
Bug 1378342 - AbortSignal/AbortController - part 4 - Separate pref for AbortSignal/AbortController, r=bkelly
...
--HG--
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_abort_controller_fetch.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_abort_controller_fetch.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_abort_controller_fetch.js
2017-08-29 11:31:06 +02:00
Andrea Marchesini
6e67fd43cc
Bug 1378342 - AbortSignal/AbortController - part 3 - Removing the following algorithm, r=bkelly
2017-08-29 11:31:06 +02:00
Andrea Marchesini
186795d3eb
Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
...
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 11:31:06 +02:00
Andrea Marchesini
bf4a05e410
Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly
...
--HG--
rename : dom/fetch/FetchController.cpp => dom/abort/FetchController.cpp
rename : dom/fetch/FetchController.h => dom/abort/FetchController.h
rename : dom/fetch/FetchSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/fetch/FetchSignal.h => dom/abort/FetchSignal.h
rename : dom/tests/mochitest/fetch/file_fetch_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/tests/mochitest/fetch/test_fetch_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/tests/mochitest/fetch/worker_fetch_controller.js => dom/abort/tests/worker_fetch_controller.js
2017-08-29 11:31:05 +02:00
Sebastian Hengst
784834cf76
Backed out changeset 81c100a42bb6 (bug 1378342) for linting failures, e.g. in file_abort_controller.html. r=backout
...
--HG--
rename : dom/abort/FetchController.cpp => dom/fetch/FetchController.cpp
rename : dom/abort/FetchController.h => dom/fetch/FetchController.h
rename : dom/abort/FetchSignal.cpp => dom/fetch/FetchSignal.cpp
rename : dom/abort/FetchSignal.h => dom/fetch/FetchSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/tests/mochitest/fetch/file_fetch_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/tests/mochitest/fetch/test_fetch_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/tests/mochitest/fetch/worker_fetch_controller.js
2017-08-29 09:17:57 +02:00
Sebastian Hengst
ffe4336403
Backed out changeset e5c6f95530f2 (bug 1378342)
...
--HG--
rename : dom/abort/AbortController.cpp => dom/abort/FetchController.cpp
rename : dom/abort/AbortController.h => dom/abort/FetchController.h
rename : dom/abort/AbortSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/abort/AbortSignal.h => dom/abort/FetchSignal.h
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_fetch_controller.js
rename : dom/webidl/AbortController.webidl => dom/webidl/FetchController.webidl
rename : dom/webidl/AbortSignal.webidl => dom/webidl/FetchSignal.webidl
2017-08-29 09:17:21 +02:00
Sebastian Hengst
d71637fab2
Backed out changeset 203ad2fab9aa (bug 1378342)
2017-08-29 09:17:15 +02:00
Sebastian Hengst
12299a2c87
Backed out changeset bded779447b2 (bug 1378342)
...
--HG--
rename : dom/abort/tests/worker_abort_controller_fetch.js => dom/abort/tests/worker_abort_controller.js
2017-08-29 09:17:10 +02:00
Andrea Marchesini
60b5326da5
Bug 1378342 - AbortSignal/AbortController - part 4 - Separate pref for AbortSignal/AbortController, r=bkelly
...
--HG--
rename : dom/abort/tests/file_abort_controller.html => dom/abort/tests/file_abort_controller_fetch.html
rename : dom/abort/tests/test_abort_controller.html => dom/abort/tests/test_abort_controller_fetch.html
rename : dom/abort/tests/worker_abort_controller.js => dom/abort/tests/worker_abort_controller_fetch.js
2017-08-29 07:30:20 +02:00
Andrea Marchesini
df2bbaffa3
Bug 1378342 - AbortSignal/AbortController - part 3 - Removing the following algorithm, r=bkelly
2017-08-29 07:30:20 +02:00
Andrea Marchesini
9b66f91da8
Bug 1378342 - AbortSignal/AbortController - part 2 - Renaming FetchController/FetchSignal, r=bkelly
...
--HG--
rename : dom/abort/FetchController.cpp => dom/abort/AbortController.cpp
rename : dom/abort/FetchController.h => dom/abort/AbortController.h
rename : dom/abort/FetchSignal.cpp => dom/abort/AbortSignal.cpp
rename : dom/abort/FetchSignal.h => dom/abort/AbortSignal.h
rename : dom/abort/tests/file_fetch_controller.html => dom/abort/tests/file_abort_controller.html
rename : dom/abort/tests/test_fetch_controller.html => dom/abort/tests/test_abort_controller.html
rename : dom/abort/tests/worker_fetch_controller.js => dom/abort/tests/worker_abort_controller.js
rename : dom/webidl/FetchController.webidl => dom/webidl/AbortController.webidl
rename : dom/webidl/FetchSignal.webidl => dom/webidl/AbortSignal.webidl
2017-08-29 07:30:19 +02:00
Andrea Marchesini
ac5b9df285
Bug 1378342 - AbortSignal/AbortController - part 1 - Moving FetchController/FetchSignal into dom/abort, r=bkelly
...
--HG--
rename : dom/fetch/FetchController.cpp => dom/abort/FetchController.cpp
rename : dom/fetch/FetchController.h => dom/abort/FetchController.h
rename : dom/fetch/FetchSignal.cpp => dom/abort/FetchSignal.cpp
rename : dom/fetch/FetchSignal.h => dom/abort/FetchSignal.h
rename : dom/tests/mochitest/fetch/file_fetch_controller.html => dom/abort/tests/file_fetch_controller.html
rename : dom/tests/mochitest/fetch/test_fetch_controller.html => dom/abort/tests/test_fetch_controller.html
rename : dom/tests/mochitest/fetch/worker_fetch_controller.js => dom/abort/tests/worker_fetch_controller.js
2017-08-29 07:30:19 +02:00