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
raquelvargas
0aadb60b82
Bug 1738229 - Stop using the second argument to ChromeUtils.import in various files in browser. r=Standard8,webcompat-reviewers,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D129842
2021-11-02 17:21:07 +00:00
Mark Banner
e04689fad3
Bug 1738678 - Remove unnecessary ESLint warning rules for sjs files. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D130048
2021-11-02 08:55:52 +00:00
Mark Banner
ed96f8961f
Bug 1738236 - Clean up remaining production uses of the second argument to ChromeUtils.import and change rule to a warning. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D129824
2021-11-01 14:25:46 +00:00
Miriam Onuoha
d8cc061416
Bug 1738232 - Removed the second argument to ChromeUtils.import in password manager tests. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D129836
2021-10-29 08:44:13 +00:00
Mark Banner
9ec0a602e7
Bug 1738235 - Remove unused precompile_cache.js. r=firefox-build-system-reviewers,mhentges
...
Differential Revision: https://phabricator.services.mozilla.com/D129805
2021-10-28 14:28:54 +00:00
Mathew Hodson
adfcd3644a
Bug 1531368 - Use `ChromeUtils.import` with one parameter in extensions code. r=robwu
...
Simplify some instances where modules were lazy loaded.
Differential Revision: https://phabricator.services.mozilla.com/D118569
2021-10-25 14:42:59 +00:00
Evgenia Kotovich
228e38a58c
Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-25 11:12:41 +00:00
criss
152f71d4d3
Backed out changeset b60f98f26664 (bug 1576768) for causing mochitest failures. CLOSED TREE
2021-10-22 15:55:50 +03:00
Evgenia Kotovich
e29e29aa5a
Bug 1576768 [eslint] Turn on JavaScript linting and formatting rules for .sjs files. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D128483
2021-10-22 11:39:46 +00:00
msub2
d7037d2ab2
Bug 1726734 - Replace deprecated octal sequences to satisfy ESLint no-octal-rule. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D128684
2021-10-18 14:37:04 +00:00
Mark Banner
f7ee253451
Bug 1734823 - Enable ESLint rule no-unused-vars globally for xpcshell test*.js files. r=necko-reviewers,Gijs,valentin
...
This enables it as a warning for all files, and as an error for some files.
Differential Revision: https://phabricator.services.mozilla.com/D127944
2021-10-11 11:07:02 +00:00
Mark Banner
f3ee19dbc7
Bug 1727591 - Enable remaining ESLint rule on remaining docshell/ xhtml files. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D123657
2021-08-25 18:42:19 +00:00
Jasleen
d32a884ef2
Bug 1716642 - Replaced calls to GlobalManager.extensionMap.get() with WebExtensionPolicy.getByID(). r=Standard8,kmag,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D118407
2021-06-24 15:06:17 +00:00
Lasse
05a2d4bf17
Bug 1710381 - Stop using this argument in ChromeUtils.import for importing modules in toolkit/components/telemetry/tests/unit/. r=Standard8,chutten
...
We also expanded the EXPORTED_SYMBOLS lists of some .jsm files, because otherwise we got the error that these symbols were undefined.
Differential Revision: https://phabricator.services.mozilla.com/D116208
2021-06-14 13:03:57 +00:00
Silke Hofmann
3b01fc4248
Bug 1710273 - Stop using ChromeUtils.import(..., null) for importing EnterprisePolicies.jsm. r=nhnt11,extension-reviewers,preferences-reviewers,zombie
...
Differential Revision: https://phabricator.services.mozilla.com/D115024
2021-05-12 23:16:33 +00:00
Mark Banner
39a3db78d4
Bug 1707711 - Stop using ChromeUtils.import(..., null) in testing/. r=kmag
...
Also clean up some unused exclusions in .eslintrc.js.
Differential Revision: https://phabricator.services.mozilla.com/D114623
2021-05-10 08:56:05 +00:00
Sandor Molnar
8d9abf3285
Backed out changeset ed582ad8db97 (bug 1707711) for causing dt failures in browser_webconsole_stubs_page_error. CLOSED TREE
2021-05-09 18:46:56 +03:00