Rename all .js files that use EXPORTED_SYMBOLS to .jsm in toolkit/
Categories
(Toolkit :: General, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 7 obsolete files)
+++ This bug was initially created as a clone of Bug #1773169 +++
To make the JSM-to-ESM migration easier, and also make the shim in bug 1766761 work, it's better using *.jsm
extension consistently for all JSMs.
Assignee | ||
Comment 1•3 years ago
|
||
Depends on D148595
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D148596
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D148597
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D148598
Assignee | ||
Comment 5•3 years ago
|
||
Depends on D148599
Assignee | ||
Comment 6•3 years ago
|
||
Depends on D148600
Assignee | ||
Comment 7•3 years ago
|
||
Depends on D148601
Assignee | ||
Comment 8•3 years ago
|
||
Given AddonManager.jsm exists, we cannot rename addonManager.js to
addonManager.jsm, given it conflicts on case-insensitive file system.
Depends on D148602
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 10•3 years ago
|
||
bugherder |
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
I'm a little confused about the state of this bug - are we only renaming the certviewer stuff now, or are we still intending to rename all the other ones? I don't think most of the other JSMs are used that much outside of m-c but perhaps my lack of visibility means I'm wrong about that?
Assignee | ||
Comment 13•3 years ago
•
|
||
For me, the biggest reason of the rename was to make these files target of the shim added by bug 1766761 (that supported only *.jsm
extension),
so that in-tree migration becomes easier.
Then, I overlooked about the out-of-tree consumer, at least for services/, as pointed out in bug 1609269 comment #8,
and that requires supporting *.js
in the shim, and that at the same time requires recognizing .jsm.js
separately.
And those 2 are supported in bug 1773603.
Now that *.js
and .jsm.js
are supported in the shim, there's not much reason to rename all those files immediately.
I still prefer renaming them, but leaving them as is is safer option.
So, I tentatively abandoned those patches. If there's any file that's definitely not referred from out-of-tree, I'll revive the patch.
Updated•3 years ago
|
Description
•