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
Mark Banner
263d555274
Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Mark Banner
e3ee71f734
Bug 1687235
- Enable ESLint rule no-setter-return for mobile/. r=agi
...
Differential Revision: https://phabricator.services.mozilla.com/D102156
2021-01-26 13:44:11 +00:00
Mark Banner
07d7dc3c7a
Bug 1687235
- Enable ESLint rule no-setter-return for dom. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D102155
2021-01-26 13:44:03 +00:00
Mark Banner
6f70e91a5d
Bug 1687235
- Enable ESLint rule no-setter-return for devtools. r=jdescottes
...
Differential Revision: https://phabricator.services.mozilla.com/D102154
2021-01-26 13:44:01 +00:00
Mark Banner
930543e681
Bug 1687235
- Enable ESLint rule no-setter-return for toolkit and services. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D102153
2021-01-26 13:43:58 +00:00
Mark Banner
c4afa9e9ad
Bug 1687235
- Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian
70ab748bed
Backed out 5 changesets (bug 1687235
) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
...
Backed out changeset 638c802ca1d1 (bug 1687235
)
Backed out changeset ec830b771bce (bug 1687235
)
Backed out changeset a7c933ddecfd (bug 1687235
)
Backed out changeset c36493fb0599 (bug 1687235
)
Backed out changeset 6eb33ad5d460 (bug 1687235
)
2021-01-26 10:58:43 +02:00
Mark Banner
94aaf448b5
Bug 1687235
- Enable ESLint rule no-setter-return for mobile/. r=agi
...
Depends on D102155
Differential Revision: https://phabricator.services.mozilla.com/D102156
2021-01-19 17:03:57 +00:00
Mark Banner
aae922599a
Bug 1687235
- Enable ESLint rule no-setter-return for dom. r=bryce
...
Depends on D102154
Differential Revision: https://phabricator.services.mozilla.com/D102155
2021-01-19 14:50:44 +00:00
Mark Banner
49127400c8
Bug 1687235
- Enable ESLint rule no-setter-return for devtools. r=jdescottes
...
Depends on D102153
Differential Revision: https://phabricator.services.mozilla.com/D102154
2021-01-18 10:30:49 +00:00
Mark Banner
9cbc91833a
Bug 1687235
- Enable ESLint rule no-setter-return for toolkit and services. r=mossop
...
Depends on D102152
Differential Revision: https://phabricator.services.mozilla.com/D102153
2021-01-25 22:27:01 +00:00