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•1 year ago
|
||
Depends on D148595
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D148596
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D148597
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D148598
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D148599
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D148600
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D148601
Assignee | ||
Comment 8•1 year 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•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/5d24f102662e Part 1: Use .jsm extension for JSMs in toolkit/components/certviewer/. r=keeler
Comment 10•1 year ago
|
||
bugherder |
Comment 11•1 year ago
|
||
Pushed by mkmelin@iki.fi: https://hg.mozilla.org/comm-central/rev/51922775c5fc adjust Thunderbird for asn1js_bundle.js renaming. rs=bustage-fix DONTBUILD
Comment 12•1 year 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•1 year 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•1 year ago
|
Description
•