Convert tabgroup-menu.js to a module
Categories
(Firefox :: Tabbed Browser, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(4 external files)
browser/components/tabbrowser/content/tabgroup-menu.js is loaded into the browser window with Services.scriptloader.loadSubScript, so the tabbrowser TypeScript project can't check it. Convert it to a module loaded with { global: "current" }, the way bug 2066073 did for tabgroup.js and tabsplitview.js. The tsconfig's content/*.mjs include will then pick it up.
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Comment 2•1 month ago
|
||
browser.js defines ContentSharingUtils on the window with a module getter for the same module, and the local import would shadow that global under no-shadow once the file is renamed to .mjs.
| Assignee | ||
Comment 3•1 month ago
|
||
Behavior-neutral: every activeGroup assignment passes a group or null, #createRow never read the index it was passed, and the suggestion checkbox's change listener reads the checkbox it was added to rather than e.target.
| Assignee | ||
Comment 4•1 month ago
|
||
Updated•21 days ago
|
Updated•21 days ago
|
Updated•20 days ago
|
Updated•20 days ago
|
Updated•20 days ago
|
Updated•20 days ago
|
Comment 6•19 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/dcd0b521fbde
https://hg.mozilla.org/mozilla-central/rev/ba9acc1d41b8
https://hg.mozilla.org/mozilla-central/rev/9b9acd6edd53
https://hg.mozilla.org/mozilla-central/rev/31f51460221b
Description
•