Closing all tabs with browser.tabs.closeWindowWithLastTab set to false shows Firefox View tab instead of new tab page
Categories
(Firefox :: Tabbed Browser, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox-esr102 | --- | unaffected |
firefox104 | --- | unaffected |
firefox105 | --- | unaffected |
firefox106 | --- | wontfix |
firefox107 | --- | wontfix |
firefox108 | --- | verified |
firefox109 | --- | verified |
People
(Reporter: ke5trel, Assigned: bigiri)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-firefox-view])
Attachments
(2 files)
STR:
- Set
browser.tabs.closeWindowWithLastTab = false
. - Click the Firefox View tab so it is loaded.
- Visit sites in new tabs and then close all tabs.
Expected:
Shows new tab page like before.
Actual:
Opens a new tab but switches to the Firefox View tab.
Does not happen if the Firefox View tab is unloaded. With browser.tabs.closeWindowWithLastTab = true
, the Firefox View tab is ignored and the window is closed as expected.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=38bea6dcef3951a8b6788d33ebf592bfd58aebd6&tochange=d2f85d26d71bfe0ef1f7ae279829a18c845c3454
Regressed by Bug 1771311.
Comment 1•2 years ago
|
||
:dao, since you are the author of the regressor, bug 1771311, could you take a look? Also, could you set the severity field?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Prevent pinned Firefox View Tab from being autoselected on tab closing.
Assignee | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
bugherder |
Comment 5•2 years ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit auto_nag documentation.
Comment 6•2 years ago
|
||
The patch landed in nightly and beta is affected.
:bigiri, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox107
towontfix
.
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Reproducible on a 2022-09-15 Nightly build on macOS 12 using the STR from Comment 0.
Verified as fixed on Firefox 108.0b2(build ID: 20221115200658) and Nightly 109.0a1(build ID: 20221116182402) on macOS 12, Windows 10, Ubuntu 22.
Description
•