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

334 Коммитов

Автор SHA1 Сообщение Дата
André Bargull 39ec824e84 Bug 1782212 - Part 29: Enable eslint 'curly' rule for selfhosted js. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D153200
2022-08-03 06:38:06 +00:00
criss 515e5262ad Merge autoland to mozilla-central. a=merge 2022-07-30 12:25:16 +03:00
Mark Banner f77e072cc5 Bug 1782192 - Fix ESLint no-unused-vars warnings in xpcshell-tests for toolkit. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D153164
2022-07-29 21:54:32 +00:00
André Bargull 440ca8257a Bug 1782190: Remove no longer used eslint definitions for js-shell module loader. r=jonco
The shell module loader was rewritten to C++ in bug 1637529.

"jsrtfuzzing-example.js" was changed to appease prettier, now that it's enabled.

Differential Revision: https://phabricator.services.mozilla.com/D153151
2022-07-29 09:44:27 +00:00
Mark Banner b598671f33 Bug 1782055 - Ignore chrome and resource URIs for ESLint's import/no-unresolved rule. r=arai
Differential Revision: https://phabricator.services.mozilla.com/D153086
2022-07-29 08:10:05 +00:00
Brenden Hyde 62c1ece648 Bug 1761614 - Configure eslint to disable check for unused variable "printAttrs" r=Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152949
2022-07-28 15:33:32 +00:00
Mark Banner 9e0b14ad60 Bug 1781026 - Fix xpcshell no-unused-vars warnings in testing/xpcshell/example/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D152621
2022-07-25 10:54:13 +00:00
Mark Banner edfd1b7e8d Bug 1780020 - Add a comment to the top-level .eslintrc.js explaining the path formats. r=linter-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D152165
2022-07-20 07:34:00 +00:00
Mark Banner ab82e73786 Bug 1778155 - Finish enabling no-unused-vars on the global scope for xpcshell files in services/. r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D151035
2022-07-07 21:54:34 +00:00
Tooru Fujisawa 23b1b92ed8 Bug 1774647 - Do not apply import/prefer-default-export rule. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D149549
2022-06-17 09:11:13 +00:00
Mark Banner 73fcd6408d Bug 1773452 - Disable ESlint warnings about use of osfile for osfile files. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D148754
2022-06-09 21:05:38 +00:00
Mark Banner 82a861e06e Bug 1773472 - Enable eslint-plugin-import for mjs files. r=Gijs
Depends on D148773

Differential Revision: https://phabricator.services.mozilla.com/D148774
2022-06-09 13:02:15 +00:00
Mark Banner 4e0bf63397 Bug 1773220 - Remove a couple of references to .xul from the ESLint setup code. r=Gijs
Depends on D148627

Differential Revision: https://phabricator.services.mozilla.com/D148628
2022-06-08 16:33:33 +00:00
Mark Banner 254a0dc016 Bug 1770727 - Fix remaining ESLint rules for sjs files. r=Gijs,necko-reviewers,kershaw
Depends on D147082

Differential Revision: https://phabricator.services.mozilla.com/D147083
2022-06-07 19:14:09 +00:00
Mark Banner 61c02dadbe Bug 1770727 - Fix ESLint rule mozilla/use-services on sjs files and expose Services to sjs files. r=Gijs
Depends on D147080

Differential Revision: https://phabricator.services.mozilla.com/D147081
2022-06-07 19:14:08 +00:00
Mark Banner 61e9715e53 Bug 1770727 - Fix some more ESLint rules on sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D147080
2022-06-07 19:14:08 +00:00
Molnar Sandor 05e3775a6c Backed out 4 changesets (bug 1770727) for causing mochitest failures in test_bug1180105/test_access_control. CLOSED TREE
Backed out changeset 6323b526b0ac (bug 1770727)
Backed out changeset fc7ea80aa2ff (bug 1770727)
Backed out changeset 2a358ba86652 (bug 1770727)
Backed out changeset 464d1af6523b (bug 1770727)
2022-05-24 17:24:40 +03:00
Mark Banner 5364458f47 Bug 1770727 - Fix remaining ESLint rules for sjs files. r=Gijs,necko-reviewers,kershaw
Depends on D147082

Differential Revision: https://phabricator.services.mozilla.com/D147083
2022-05-24 12:59:10 +00:00
Mark Banner dac6401c3b Bug 1770727 - Fix ESLint rule mozilla/use-services on sjs files and expose Services to sjs files. r=Gijs
Depends on D147080

Differential Revision: https://phabricator.services.mozilla.com/D147081
2022-05-24 12:59:09 +00:00
Mark Banner ef5633d319 Bug 1770727 - Fix some more ESLint rules on sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D147080
2022-05-24 12:59:08 +00:00
Mark Banner 7c198e01fd Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-18 08:13:19 +00:00
Mark Banner 3924c8914b Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-18 08:13:19 +00:00
Sebastian Hengst c552340e0c Backed out 5 changesets (bug 1769569) for causing devtools' browser/browser_page_redirection.js to fail. CLOSED TREE
Backed out changeset 66a42eb3a366 (bug 1769569)
Backed out changeset d3cc9629cd9a (bug 1769569)
Backed out changeset edcd3dade079 (bug 1769569)
Backed out changeset 29d8dd058b7a (bug 1769569)
Backed out changeset 1aed34fdf2d3 (bug 1769569)
2022-05-17 19:49:17 +02:00
Mark Banner 5865f044db Bug 1769569 - Fix remaining ESLint no-undef and no-unused-vars issues in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146452
2022-05-17 16:50:33 +00:00
Mark Banner 4acbb4ff59 Bug 1769569 - Automatically replace Components.* with C* in sjs files. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D146451
2022-05-17 16:50:33 +00:00
Jan Varga 2b350c618a Bug 1750933 - Add testing infrastructure for OPFS; r=dom-storage-reviewers,jari
Differential Revision: https://phabricator.services.mozilla.com/D136317
2022-05-03 11:38:15 +00:00
Tooru Fujisawa 10b3dff300 Bug 1765167 - Part 13: Fix eslint rule for Cu.import. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D144106
2022-05-03 06:32:33 +00:00
Dmitrij Feller 68e4da881d Bug 1766409 - Fix ESLint rule warnings for no-unused-vars in modules/libpref/unit/test_changeType.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D144706
2022-04-26 15:30:31 +00:00
Karnik Kanojia f56be3984d Bug 1762683 - Fix ESLint rule warnings for no-unused-vars in intl/uconv/tests/unit/test_bug317216.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D143223
2022-04-19 11:22:34 +00:00
Roy Christo aaf8a82db8 Bug 1762749 - Fix ESLint rule warnings for no-unused-vars in xpcom/tests/unit/test_hidden_files.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142765
2022-04-07 15:27:48 +00:00
Roy Christo 9e26010ae4 Bug 1762749 - Fix ESLint rule warnings for no-unused-vars in xpcom/tests/unit/test_localfile.js and upgrade tests to use add_task. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142764
2022-04-07 15:27:48 +00:00
Cosmin Sabou cb02113c4e Backed out 2 changesets (bug 1762749) for causing xpcshell failures on test_localfile.js. CLOSED TREE
Backed out changeset 798125b026fb (bug 1762749)
Backed out changeset 3a3ece958323 (bug 1762749)
2022-04-06 23:50:26 +03:00
Roy Christo 32b5831ee9 Bug 1762749 - Fix ESLint rule warnings for no-unused-vars in xpcom/tests/unit/test_hidden_files.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142765
2022-04-06 17:41:40 +00:00
Roy Christo f06d580993 Bug 1762749 - Fix ESLint rule warnings for no-unused-vars in xpcom/tests/unit/test_localfile.js and upgrade tests to use add_task. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142764
2022-04-06 17:41:40 +00:00
Karnik Kanojia fd15cc3599 Bug 1763000 - Fix ESLint rule warnings for no-unused-vars in caps/tests/unit/test_no_remote_registration.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142899
2022-04-05 20:39:36 +00:00
Mathew Hodson b1bff09171 Bug 1746686 - Use `ChromeUtils.import` with one parameter in add-ons test code. r=robwu
Export some new TestUtils objects for code only used by tests.
Remove obsolete code for the Adobe EME plugin.

Differential Revision: https://phabricator.services.mozilla.com/D134220
2022-04-01 15:17:50 +00:00
Leslie Orellana 4a4b8cfda1 Bug 1762498 - Fix ESLint rule warnings for no-unused-vars in caps/tests/unit/test_site_origin.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D142639
2022-04-01 10:21:34 +00:00
Ed Lee 70b90fb7c5 Bug 1553931 - Add eslint-plugin-react-hooks and enable for paths using React r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D140876
2022-03-25 18:01:21 +00:00
Mark Banner 52dca5fad1 Bug 1758107 - Stop using ChromeUtils.import(..., null) for importing modules in dom/push/. r=mt
Differential Revision: https://phabricator.services.mozilla.com/D140323
2022-03-23 12:03:28 +00:00
Mark Banner e215b57446 Bug 1758107 - Stop using ChromeUtils.import(..., null) for importing modules in dom/push/test/xpcshell/head.js. r=mt
Also tidy up how imports are managed.

Differential Revision: https://phabricator.services.mozilla.com/D140322
2022-03-23 12:03:27 +00:00
Mark Banner 3a6b2a9fff Bug 1758292 - Stop using ChromeUtils.import(..., null) for browser_actions_ShowHeartbeatAction.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140454
2022-03-08 16:59:20 +00:00
Mark Banner bc20120fc3 Bug 1758292 - Stop using ChromeUtils.import(..., null) for importing module in more locations in toolkit. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140453
2022-03-08 16:59:19 +00:00
Mark Banner 83eeffce12 Bug 1758108 - Stop using ChromeUtils.import(..., null) for importing modules in browser_memory_distribution_telemetry.js. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D140321
2022-03-08 16:59:19 +00:00
Mark Banner 8824cac727 Bug 1758106 - Stop using ChromeUtils.import(..., null) for importing modules in devtools/. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D140320
2022-03-08 16:59:18 +00:00
Mark Banner fbf379686b Bug 1758090 - Stop using ChromeUtils.import(..., null) for importing modules in browser/. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D140319
2022-03-08 16:59:18 +00:00
Gijs Kruitbosch ac056a416f Bug 1745810 - remove use of ChromeUtils.import(..., null) from CustomizableUI tests, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D139477
2022-02-25 22:18:32 +00:00
Marian-Vasile Laza acfb3e797d Merge autoland to mozilla-central. a=merge 2022-02-23 19:49:43 -08:00
Alexandre Poirot 4f6825b177 Bug 1755907 - [devtools] Enable eslint on debugger tests (except their test pages). r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D139366
2022-02-23 18:38:26 +00:00
Mathew Hodson 40a8dbfb72 Bug 1746751 - Use `ChromeUtils.import` with one parameter in blocklist test code. r=robwu DONTBUILD
Export new `BlocklistPrivate` to allow tests to reach implementation
objects.

Differential Revision: https://phabricator.services.mozilla.com/D134234
2022-01-07 10:06:51 +00:00
Mathew Hodson 3d1c6fbd90 Bug 1746709 - Use `ChromeUtils.import` with one parameter in test_GMPInstallManager.js. r=robwu
Export new `ProductAddonCheckerTestUtils` for methods only used by
tests.

Differential Revision: https://phabricator.services.mozilla.com/D134217
2022-01-04 17:36:49 +00:00