Closed
Bug 2084412
Opened 1 month ago
Closed 1 month ago
tab-groups-list.mjs:79 TS2345: Argument of type 'WindowProxy' is not assignable to parameter of type 'BrowserWindow'.
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox-esr153 | --- | unaffected |
| firefox158 | --- | unaffected |
| firefox159 | --- | unaffected |
| firefox160 | --- | fixed |
People
(Reporter: robwu, Assigned: dao)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
The change of
this.#win.SessionStore.openSavedTabGroup
to
lazy.SessionStore.openSavedTabGroup
triggers permanent lint failures in the current tip of the tree. I undid that specific line and the linting error went away.
$ ./mach lint browser/components/tabbrowser/content/tab-groups-list.mjs
Unable to match regex against output: Type 'WindowProxy' is not assignable to type 'ChromeWindow'.
Unable to match regex against output: Types of property 'isChromeWindow' are incompatible.
Unable to match regex against output: Type 'boolean' is not assignable to type 'true'.
/path/to/gecko/browser/components/tabbrowser/content/tab-groups-list.mjs
79 error TS2345: Argument of type 'WindowProxy' is not assignable to parameter of type 'BrowserWindow'. (typescript)
✖ 1 problem (1 error, 0 warnings, 0 fixed)
Comment 1•1 month ago
|
||
Set release status flags based on info from the regressing bug 2082765
:dao, since you are the author of the regressor, bug 2082765, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
status-firefox158:
--- → unaffected
status-firefox159:
--- → unaffected
status-firefox160:
--- → affected
status-firefox-esr153:
--- → unaffected
Flags: needinfo?(dao+bmo)
| Assignee | ||
Updated•1 month ago
|
Blocks: tabbrowser-ts
Flags: needinfo?(dao+bmo)
| Assignee | ||
Comment 2•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/29ca5d599ca1
https://hg.mozilla.org/integration/autoland/rev/123e7149c5fb
Type the window tab-groups-list.mjs passes to SessionStore as a BrowserWindow. r=tabbrowser-reviewers,jsudiaman
Comment 4•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Updated•26 days ago
|
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in
before you can comment on or make changes to this bug.
Description
•