Mark Banner
58984048c6
Bug 1897221 - Exclude more Rust/mobile build artifacts from ESLint & Prettier. r=frontend-codestyle-reviewers,Gijs
...
Generated.txt doesn't seem the right place because that's for pre-built files that are added to the tree.
Hence adding to the ignore files.
Differential Revision: https://phabricator.services.mozilla.com/D210692
2024-05-20 13:47:38 +00:00
Geoff Brown
7a89041656
Bug 1881094 - 8. remove some eslint exclusions for firefox-android, using mach lint --fix r=android-reviewers,frontend-codestyle-reviewers,webcompat-reviewers,denschub,Gijs,gl
...
This eliminates some eslint errors on firefox-android code by running 'mach lint --linter=eslint --fix'.
The eslint --fix only addresses a few simple issues, but this allows us to remove some lint exclusions.
Differential Revision: https://phabricator.services.mozilla.com/D210107
2024-05-14 13:59:26 +00:00
Timothy Nikkel
7e8754f524
Bug 1864255. Move crashtests that leave window(s) open to the very end. r=dholbert,frontend-codestyle-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D193654
2024-04-21 21:37:49 +00:00
Yoshi Cheng-Hao Huang
bf48a8b593
Bug 1873610 - Part 2: Improve modules import/export error messages. r=jonco
...
Refactor the error message with the adding the information from the imported
module, for example:
// a.mjs
import { a } from "./b.mjs";
// b.mjs
const b = 1;
Originally the error message is "import not found: default", now it
becomes "The requested module: b.mjs doesn't provide an export named: a"
// c.mjs
import { c } from "./d.mjs";
// d.mjs
export * from "./d1.mjs";
export * from "./d2.mjs";
// d1.mjs
export const c = 1;
// d2.mjs
export const c = 2;
Originally the error message is "ambiguous import: c", now it becomes
"The requested module d.mjs contains ambiguous star export: c from
d1.mjs and d2.mjs"
Add another error message for circular import:
// e.mjs
export { e } from "f.mjs";
// f.mjs
export { e } from "e.mjs";
Originally it was "indirect export not found: e", now it is
"The request module: f.mjs contains circular import: e".
Differential Revision: https://phabricator.services.mozilla.com/D200345
2024-03-18 14:04:14 +00:00
Julien Cristau
9af36afde8
Bug 1879146 - update lint exclusions for a-c docs move. r=gl
...
Differential Revision: https://phabricator.services.mozilla.com/D202252
2024-02-20 11:08:26 +01:00
Geoff Brown
10c3e367f4
Bug 1825116 - Add lint exclusions for some troublesome firefox-android files. r=Standard8,bhearsum,geckoview-reviewers,releng-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D201455
2024-02-12 11:59:54 +01:00
Mark Banner
dd30d8567c
Bug 1861918 - Convert kinto-offline-client to an ES module. r=leplatrem,extension-reviewers,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D204431
2024-03-13 17:38:27 +00:00
Tooru Fujisawa
21b4e958e9
Bug 1877596 - Use original URL as base URL for internal scheme also in worker. r=jonco,dom-storage-reviewers,janv,dom-worker-reviewers,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D200129
2024-02-05 01:12:24 +00:00
Fred Chasen
466576038b
Bug 1871140 - Vendor Readability Library. r=cmkm
...
- Adds a moz.yaml to vendor the files from the Readability library on Github to `toolkit/components/reader/readability`.
- Updates includes to point to the new library location.
Differential Revision: https://phabricator.services.mozilla.com/D196998
2024-01-11 21:47:21 +00:00
Nipun Shukla
32825b041c
Bug 1869896 - Put automatic restart behind Nimbus experiment r=nalexander,application-update-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D196483
2023-12-20 18:57:53 +00:00
Mike Conley
b443310b40
Bug 1863400 - Part 6: Perform bundling within browser/components/aboutwelcome folder. r=pdahiya
...
Depends on D193120
Differential Revision: https://phabricator.services.mozilla.com/D193121
2023-11-28 01:37:37 +00:00
Mike Conley
7404423a13
Bug 1863400 - Part 5: Move bundled about:welcome components into browser/components/aboutwelcome folder. r=pdahiya,aminomancer
...
Depends on D193119
Differential Revision: https://phabricator.services.mozilla.com/D193120
2023-11-28 01:37:37 +00:00
Mark Banner
5d9fe97a25
Bug 1854786 - Move exclusion from linting for talos devtools pages to ThirdPartyPaths.txt. r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D192181
2023-11-01 08:00:39 +00:00
Gregory Pappas
e1c08f9fbf
Bug 1777492 - Merge geckoview-prefs.js and mobile.js r=geckoview-reviewers,Standard8,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D185400
2023-10-17 04:57:00 +00:00
Narcis Beleuzu
4b3f6f7f43
Backed out changeset 5a4a0b5fd195 (bug 1777492) for crashtest failure on data:text/html . CLOSED TREE
2023-10-17 07:01:25 +03:00
Gregory Pappas
b624d52de5
Bug 1777492 - Merge geckoview-prefs.js and mobile.js r=geckoview-reviewers,Standard8,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D185400
2023-10-17 01:53:54 +00:00
Mark Banner
fae54d1098
Bug 1596056 - Enable ESLint on reftest harness files (manual fixes). r=tnikkel
...
Depends on D189058
Differential Revision: https://phabricator.services.mozilla.com/D189059
2023-09-24 10:38:56 +00:00
Alexandre Poirot
2e2e9b1590
Bug 1320607 - [devtools] Remove the generated CSS Properties database. r=devtools-reviewers,nchevobbe
...
This wasn't really used anymore.
We are fetching the database from the server runtime in order to support
remote debugging correctly, where frontend CSS may be different from debuggee CSS.
Differential Revision: https://phabricator.services.mozilla.com/D187492
2023-09-07 20:59:34 +00:00
Butkovits Atila
ef58dad0ea
Backed out changeset fb19de542f01 (bug 1320607) for causing python failures complaining about test_devtools_database_parsing . CLOSED TREE
2023-09-07 18:58:05 +03:00
Alexandre Poirot
622b937669
Bug 1320607 - [devtools] Remove the generated CSS Properties database. r=devtools-reviewers,nchevobbe
...
This wasn't really used anymore.
We are fetching the database from the server runtime in order to support
remote debugging correctly, where frontend CSS may be different from debuggee CSS.
Differential Revision: https://phabricator.services.mozilla.com/D187492
2023-09-07 13:08:37 +00:00
Mark Banner
640bcbbba0
Bug 1563927 - Add JSON linting via ESLint. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D186882
2023-09-05 12:59:31 +00:00
Mark Banner
5eeac4e3f9
Bug 1778112 - Move dom/base/test/jsmodules/ to use mjs files, rather than defining sourceType for ESLint. r=allstarschh
...
Differential Revision: https://phabricator.services.mozilla.com/D183372
2023-07-13 13:56:12 +00:00
Mathieu Leplatre
712ef17f9e
Bug 1838440 - Migrate kinto-http-client to ES module r=Standard8,robwu
...
Differential Revision: https://phabricator.services.mozilla.com/D181066
2023-06-26 09:03:01 +00:00
Mark Banner
31ba906879
Bug 1836719 - Include all js dot files in ESLint checks. r=cmkm
...
Differential Revision: https://phabricator.services.mozilla.com/D179922
2023-06-06 16:44:07 +00:00
Gijs Kruitbosch
f238fa0035
Bug 1508369
- add stylelint linter support to mach lint, r=Standard8,dao,linter-reviewers,sylvestre
...
Differential Revision: https://phabricator.services.mozilla.com/D177477
2023-05-11 16:06:38 +00:00
Mark Banner
baa061e133
Bug 1829618 - Enable Prettier on json files (configuration changes). r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D176338
2023-05-09 16:14:52 +00:00
Mark Banner
dfd5830d4d
Bug 1830265 - Enable ESLint and Prettier on .babel-eslint.rc.js. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D176637
2023-05-04 17:21:03 +00:00
Mark Banner
2d03564d1e
Bug 1830265 - Tidy up .prettierignore. r=Gijs,sync-reviewers,markh
...
Enables Prettier for (these don't need to be excluded):
- extensions/pref/autoconfig/test/unit/autoconfig.js
- services/sync/tests/unit/prefs_test_prefs_store.js
Removes duplications where the files are already ignored in the .eslintignore section.
Re-organises the structure of the remaining parts to make it clearer why they are being excluded.
Differential Revision: https://phabricator.services.mozilla.com/D176636
2023-05-04 17:21:03 +00:00
Mark Banner
2f8c17920f
Bug 1830265 - Enable Prettier and ESLint on toolkit/components/backgroundtasks/defaults. r=nalexander
...
Differential Revision: https://phabricator.services.mozilla.com/D176634
2023-05-04 17:21:02 +00:00
Bilal
76a6a97929
Bug 1816987 - ESMified browser/components/enterprisepolicies/schemas r=kpatenio
...
Differential Revision: https://phabricator.services.mozilla.com/D174495
2023-04-27 19:23:00 +00:00
Cosmin Sabou
c244b16815
Backed out changeset d00b4179a45b (bug 1826548) for causing bug 1826804. CLOSED TREE
2023-04-06 20:11:55 +03:00
Mark Banner
0db39111aa
Bug 1826548 - Add more entries to .prettierignore. r=Gijs DONTBUILD
...
Unfortunately Prettier does not currently support multiple ignore files (see bug 1825508). Therefore we have to duplicate the entries from .eslintignore/Generated.txt/ThirdPartyPaths.txt for the time being.
Differential Revision: https://phabricator.services.mozilla.com/D174762
2023-04-06 15:19:39 +00:00
Mark Banner
82e49f1086
Bug 1825739 - Replace generic ESLint disable statements with specific and prettier ones in devtools. r=devtools-reviewers,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D174225
2023-04-03 10:23:52 +00:00
Mark Banner
07446898da
Bug 1823763 - Convert toolkit/components/reader to ES modules. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D173183
2023-03-23 12:11:43 +00:00
Mark Banner
0a0248d5ae
Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh
...
Differential Revision: https://phabricator.services.mozilla.com/D170061
2023-02-17 16:34:42 +00:00
Cristian Tuns
b3bf09cc0d
Backed out 6 changesets (bug 1816934, bug 1817182, bug 1817179, bug 1817183) for causing dt failures in browser_jsterm_autocomplete_null.js CLOSED TREE
...
Backed out changeset 17d4c013ed92 (bug 1817183)
Backed out changeset cfed8d9c23f3 (bug 1817183)
Backed out changeset 62fe2f589efe (bug 1817182)
Backed out changeset 557bd773fb85 (bug 1817179)
Backed out changeset 7f8a7865868b (bug 1816934)
Backed out changeset d6c1d4c0d2a0 (bug 1816934)
2023-02-17 10:51:33 -05:00
Mark Banner
09a6d475fe
Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh
...
Differential Revision: https://phabricator.services.mozilla.com/D170061
2023-02-17 09:01:45 +00:00
Julien Wajsberg
58de75b2da
Bug 1811853 - Move symbolication files to the shared/ directory r=canaltinova
...
Differential Revision: https://phabricator.services.mozilla.com/D167846
2023-02-13 16:46:38 +00:00
Mark Banner
1a90b9c57b
Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D167530
2023-01-24 22:53:55 +00:00
Nicolas Chevobbe
60a24410b8
Bug 1803360 - [devtools] Put pretty-fast library in tree. r=ochameau.
...
Differential Revision: https://phabricator.services.mozilla.com/D163560
2022-12-08 15:54:07 +00:00
Alexandre Poirot
db142838b3
Bug 1794693 - [devtools] Convert source-map jest test into mochitests. r=bomsy
...
Differential Revision: https://phabricator.services.mozilla.com/D159116
2022-11-08 16:01:01 +00:00
Mark Hammond
cf1e2c2545
Bug 1791851 - regenerate uniffi r=teshaq,LougeniaBailey,bdk
...
Differential Revision: https://phabricator.services.mozilla.com/D157980
2022-10-25 20:03:22 +00:00
Mark Banner
69a9e3e717
Bug 1792341 - Migrate most of the rest of toolkit/modules/ to be system ES modules. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D158451
2022-10-18 11:21:25 +00:00
Andrew McCreight
cbfad78f92
Bug 1793227, part 9 - Automated fixes for js/xpconnect/tests/browser/. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D158508
2022-10-10 22:22:02 +00:00
Andrew McCreight
c41c392332
Bug 1793227, part 6 - Automated fixes for XPCOMUtils.sys.mjs. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D158505
2022-10-10 22:22:01 +00:00
Andrew McCreight
d8c43d0ea1
Bug 1793227, part 3 - Automatic fixes for js/xpconnect/tests/chrome. r=kmag
...
Also change .eslintignore to cover the other directories.
This also fixes the indentation the automatic fixer messed up in a few XHTML files.
Differential Revision: https://phabricator.services.mozilla.com/D158503
2022-10-10 22:22:00 +00:00
Julian Descottes
5db63c4432
Bug 1790473 - [cdp] Convert /remote/cdp JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158297
Differential Revision: https://phabricator.services.mozilla.com/D158298
2022-09-30 11:08:09 +00:00
Julian Descottes
4a1ddfd485
Bug 1790471 - [marionette] Convert /remote/marionette JSM modules to ESM r=webdriver-reviewers,whimboo
...
Depends on D158295
Differential Revision: https://phabricator.services.mozilla.com/D158296
2022-09-30 11:08:08 +00:00
Julian Descottes
d1f7dbe55e
Bug 1790468 - [remote] Convert /remote/shared JSM modules to ESM r=webdriver-reviewers,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D158293
2022-09-30 11:08:06 +00:00
Ted Campbell
410e8dff3f
Bug 1790912 - Fix lint issues in js/ductwork/debugger. r=ochameau
...
When we move this out of the js/ directory, a number of lint exceptions stop
applying so we should just fix the issues now.
Differential Revision: https://phabricator.services.mozilla.com/D157521
2022-09-25 09:03:33 +00:00