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
Mark Banner
07f6cf42b9
Bug 1745977 - Stop using the second argument to ChromeUtils.import in various files in services/. r=markh
...
Differential Revision: https://phabricator.services.mozilla.com/D133776
2021-12-15 10:05:35 +00:00
Daisuke Akatsuka
8bac8a33ce
Bug 1738815: Move quicksuggest tests into own dir. r=adw
...
Differential Revision: https://phabricator.services.mozilla.com/D131324
2021-11-25 01:14:51 +00:00
Mark Banner
dfb34709b9
Bug 1656282
- Enable ESLint no-unused-vars and no-undef rules where they are disabled on dom/**/*.xhtml files. r=smaug
...
Depends on D131911
Differential Revision: https://phabricator.services.mozilla.com/D131980
2021-11-24 11:26:37 +00:00
Mark Banner
adfb233872
Bug 1742588 - Rewrite test_fileconstructor.xhtml to correctly run its tests. r=baku
...
Depends on D131910
Differential Revision: https://phabricator.services.mozilla.com/D131911
2021-11-24 11:26:36 +00:00
William Durand
f5650872c0
Bug 1739618 - Move 'developer' object definition to the 'ManifestBase' schema type. r=rpl
...
This patch moves the `developer` definition to the `ManifestBase` near
the `author` and `homepage_url` props that this object is supposed to
override when defined.
The test case checks that dictionaries, langpacks and static themes can
now override `author` and `homepage_url` using the `developer` object,
which wasn't possible before. The test case fails without the change in
the json schema, so that's covered as well.
Differential Revision: https://phabricator.services.mozilla.com/D130470
2021-11-18 18:50:53 +00:00
Mark Banner
b5e3aa0e47
Bug 1741167 - Enable ESLint rule mozilla/use-services for rest of netwerk. r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D131131
2021-11-18 18:05:02 +00:00
Mark Banner
b2e123ddca
Bug 1739708 - Turn off ESLint rule mozilla/reject-importGlobalProperties for sjs files. r=Gijs,webdriver-reviewers,whimboo
...
sjs files have a separate sandbox, and require Cu.importGlobalProperties for now.
Differential Revision: https://phabricator.services.mozilla.com/D130693
2021-11-09 08:38:16 +00:00
raquelvargas
194d4eef76
Bug 1733549 - Remove uses of ChromeUtils.import(..., null) in enterprise policy code. r=Standard8,mkaply
...
Differential Revision: https://phabricator.services.mozilla.com/D129649
2021-11-05 09:49:47 +00:00