Closed Bug 2080288 Opened 1 month ago Closed 18 days ago

Convert split-view-footer.js to a module

Categories

(Firefox :: Tabbed Browser, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(3 external files)

browser/components/tabbrowser/content/split-view-footer.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.

Blocks: 2080403
Attachment #9657183 - Attachment description: WIP: Bug 2080288 - Declare BrowserUtils on the browser window and the image property of tab elements for TypeScript. r?Standard8 → WIP: Bug 2080288 - Declare the image property of tab elements for TypeScript. r?Standard8
Assignee: nobody → dao+bmo
Attachment #9657183 - Attachment description: WIP: Bug 2080288 - Declare the image property of tab elements for TypeScript. r?Standard8 → Bug 2080288 - Declare the image property of tab elements for TypeScript. r?Standard8
Status: NEW → ASSIGNED
Attachment #9657184 - Attachment description: WIP: Bug 2080288 - Type the split view footer's tab and fragment. r?#tabbrowser-reviewers → Bug 2080288 - Type the split view footer's tab and fragment. r?#tabbrowser-reviewers
Attachment #9657185 - Attachment description: WIP: Bug 2080288 - Rename the split view footer script to .mjs (no functional change). r?#tabbrowser-reviewers → Bug 2080288 - Rename the split view footer script to .mjs (no functional change). r?#tabbrowser-reviewers
Pushed by dgottwald@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e58cd11300c4 https://hg.mozilla.org/integration/autoland/rev/afb631433f3c Declare the image property of tab elements for TypeScript. r=Standard8 https://github.com/mozilla-firefox/firefox/commit/9eaf2f2a88a1 https://hg.mozilla.org/integration/autoland/rev/b269db1cd652 Type the split view footer's tab and fragment. r=tabbrowser-reviewers,kcochrane https://github.com/mozilla-firefox/firefox/commit/0cebb2aa9b6e https://hg.mozilla.org/integration/autoland/rev/6bbf24b0705f Rename the split view footer script to .mjs (no functional change). r=tabbrowser-reviewers,kcochrane
Status: ASSIGNED → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: