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
Mark Banner
44419c64f1
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-09 08:06:41 +00:00
Mark Banner
6d7ec21683
Bug 1705127 - Enable more ESLint rules for some more dom/security/test directories. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D112053
2021-04-15 11:11:18 +00:00
Mark Banner
c3d0fbb56a
Bug 1702166 - Update ESLint, Babel and associated modules to the latest versions. r=mossop,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D110606
2021-04-04 08:05:39 +00:00
Chris H-C
ea2a18d757
Bug 1697555 - Remove Telemetry portions of Accounts Ecosystem Telemetry r=Dexter
...
Differential Revision: https://phabricator.services.mozilla.com/D110091
2021-03-29 20:03:38 +00:00
Mark Banner
d2073b123d
Bug 1701734 - Re-enable ESLint on top-level dot files. r=ahal
...
Differential Revision: https://phabricator.services.mozilla.com/D110129
2021-03-29 19:49:12 +00:00
Alexandre Poirot
ded026f627
Bug 1700106 - [devtools] Remove now-useless eslint files related to mochitests. r=jdescottes,Standard8
...
I kept a few having some overrides. But they may be irrelevant.
And I kept some eslint files for all folder that aren't matching the pattern matching "**/test*/**/browser*/".
Ideally we would rename these folder to match.
Last but not least, I identified one case where we were using mochitest file for xpcshell tests!
Differential Revision: https://phabricator.services.mozilla.com/D109481
2021-03-23 15:51:18 +00:00
Niklas Goegge
bf279d8795
Bug 1698768 - Bundle sec-fetch-* tests within dom/security/tests/sec-fetch/ r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D108942
2021-03-18 15:00:37 +00:00
Mark Banner
5319c0f444
Bug 1696873
- Apply automatic fixes to enable more ESLint rules on remaining docshell xhtml files. r=smaug
...
This automatically fixes issues for these rules: dot-notation, object-shorthand and mozilla/no-useless-parameters
The other enabled rules had no issues associated with them, so are enabled without code changes.
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D107424
2021-03-08 13:41:52 +00:00
Mark Banner
acb019156a
Bug 1696873
- Enable ESLint rule no-undef on remaining docshell xhtml files. r=smaug
...
Depends on D100450
Differential Revision: https://phabricator.services.mozilla.com/D107423
2021-03-08 13:41:52 +00:00
Sonia Singla
c58860a007
Bug 1656293 - Enable ESLint no-unused-vars rules on docshell/test/chrome/*.xhtml files. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D100450
2021-03-08 09:20:53 +00:00
Emma Malysz
e2feec63e1
Bug 1686526, hide sidebar button in proton toolbar r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D105819
2021-02-24 20:00:15 +00:00
Emma Malysz
6369fb568d
Bug 1692214, hide library button by default in proton toolbar r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D105076
2021-02-19 22:14:21 +00:00
Csoregi Natalia
3aa417b128
Backed out changeset 6ce7064d4bf6 (bug 1692214) for browser-chrome failures on browser_proton_toolbar_hide_home_and_library_buttons.js. CLOSED TREE
2021-02-19 21:42:56 +02:00
Emma Malysz
1186c0fad7
Bug 1692214, hide library button by default in proton toolbar r=mstriemer
...
Differential Revision: https://phabricator.services.mozilla.com/D105076
2021-02-19 19:00:55 +00:00
Mark Banner
67bf517e00
Bug 1608272 - Extend an ESLint rule to disallow 'this' as the second argument to ChromeUtils.import. r=Gijs
...
Depends on D104684
Differential Revision: https://phabricator.services.mozilla.com/D104685
2021-02-11 22:02:16 +00:00