Open Bug 1514601 Opened 5 years ago Updated 2 years ago

Selecting all tabs and then closing them while browser.tabs.closeWindowWithLastTab is false can "break" that window

Categories

(Firefox :: Tabbed Browser, defect, P3)

64 Branch
defect

Tracking

()

People

(Reporter: flaviomonteiro2013, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: hang, regression, reproducible)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

Steps to reproduce:

1. Start browser
2. Have browser.tabs.insertAfterCurrent set as true in about:config
3. Have browser.tabs.closeWindowWithLastTab as false in about:config
2. Open a second tab
3. Right click on any of the tabs and click on "Select all"
4. Hit Ctrl + W



Actual results:

All tabs are closed succesfully, but a new zombie one appears. This tab can't load any websites. Also, Firefox gets "locked" from opening new tabs in that window, clicking on the new tab button or doing Ctrl + T has no result whatsoever.

Opening a new window and closing the current one is a possible workaround.


Expected results:

All old tabs are closed successfully and a new one spawns on that window, from which I can actually enter websites. Also, creation of new tabs doesn't get broken.
Summary: Selecting all tabs and then closing them while browser.tabs.insertAfterCurrent is set can prevents the creation of new tabs in that windows → Selecting all tabs and then closing them while browser.tabs.closeWindowWithLastTab is false can "break" that window
Component: Untriaged → Tabbed Browser
Priority: -- → P3

I can reproduce the issue on Nightly83.0a1 Windows10.
The zombie tab will hang up.

Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=7e9cac76980a2a4a10898c721c4a054db831ab4a&tochange=88ba9f723934257d34fde00d87b5ed4f54e258ca

Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1504277
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.