Open Bug 1514601 Opened 5 years ago Updated 1 year ago
Selecting all tabs and then closing them while browser
.tabs .close Window With Last Tab is false can "break" that window
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
You need to log in before you can comment on or make changes to this bug.