Closed
Bug 2080284
Opened 1 month ago
Closed 23 days ago
Convert status-panel.js to a module
Categories
(Firefox :: Tabbed Browser, task)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 3 open bugs)
Details
Attachments
(2 external files)
browser/components/tabbrowser/content/status-panel.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•25 days ago
|
||
Updated•25 days ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•25 days ago
|
||
The panel and _labelElement getters replace themselves with Object.defineProperty, because tsc rejects deleting and assigning a getter-only property.
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/b792d5952b38
https://hg.mozilla.org/integration/autoland/rev/977cfe80af12
Declare the browser window's XULBrowserWindow and MousePosTracker for TypeScript. r=Standard8
Comment 4•23 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 23 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c7ef9706b55d
https://hg.mozilla.org/integration/autoland/rev/5e1bc97a77ed
Turn the status panel script into a module that browser.js loads lazily. r=tabbrowser-reviewers,frontend-codestyle-reviewers,niklas
Comment 6•13 days ago
|
||
| bugherder | ||
Updated•4 days ago
|
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in
before you can comment on or make changes to this bug.
Description
•