Change about:protections module files to use mjs extensions.
Categories
(Firefox :: Protections UI, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
With the transition to using ES modules rather than JSMs getting started, we are now using the .mjs
extension for those files.
I'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 transition of the about:protections code.
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D148772
Comment 3•2 years ago
|
||
Backed out 2 changesets (bug 1773469, bug 1773468) for causing browser-chrome failures in test/static/browser_all_files_referenced.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/4cd8570b0fd1ff8d2c4569199893c0a2e76afecf
INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | there should be no unreferenced files - Got 2, expected +0
Assignee | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
bugherder |
Description
•