Convert browser-fullZoom.js to a module
Categories
(Firefox :: Tabbed Browser, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(3 external files)
browser/components/tabbrowser/content/browser-fullZoom.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•8 days ago
|
||
Updated•8 days ago
|
| Assignee | ||
Comment 2•8 days ago
|
||
browser.js creates the instance on first access rather than at delayed startup because onLocationChange can reach FullZoom before then, so the BrowserComponents.manifest entries name browser.js#FullZoom.
The content pref callbacks gain empty handleResult and handleError methods to satisfy nsIContentPrefCallback2's type; ContentPrefUtils' safeCallback skips a method the callback lacks, so this is behavior-neutral.
Updated•8 days ago
|
Updated•7 days ago
|
| Assignee | ||
Comment 3•7 days ago
|
||
| Assignee | ||
Updated•7 days ago
|
Comment 5•6 days ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 days ago
|
Comment 7•4 days ago
|
||
| bugherder | ||
Description
•