Move DOM code to use mjs files, rather than defining sourceType for ESLint
Categories
(Core :: DOM: Core & HTML, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
With the transition to using ES modules rather than JSMs getting started, we are now using the .mjs
extension for those files.
We'd like to transition our content code that is using modules to use the .mjs
extension as well - the primary gains of this are that we a) don't need to manually specify sourceType: module
for ESLint, b) this gives a visual distinction to developers that the file is a module rather than a regular JavaScript file.
This bug is for the dom/ files.
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D183368
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D183369
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D183370
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D183371
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 7•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5e24c85c663c
https://hg.mozilla.org/mozilla-central/rev/16e5f361cab8
https://hg.mozilla.org/mozilla-central/rev/23ca6d57dfad
https://hg.mozilla.org/mozilla-central/rev/e0ed2dd89d6f
https://hg.mozilla.org/mozilla-central/rev/f502bc8aaed6
Description
•