Open
Bug 1904287
Opened 5 days ago
Updated 4 days ago
Removing a new tab extension with one open tab closes Firefox
Categories
(WebExtensions :: Frontend, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: 08xjcec48, Unassigned)
Details
Attachments
(1 file)
155.63 KB,
video/mp4
|
Details |
Steps to reproduce:
- Install https://addons.mozilla.org/firefox/downloads/file/4282580/groupspeeddial-25.2.xpi
- Restart Firefox
- Remove the extension
Actual results:
Firefox closes itself.
Expected results:
Firefox should replace you custom new tab with Firefox Home.
Component: Untriaged → Frontend
OS: Unspecified → All
Product: Firefox → WebExtensions
Hardware: Unspecified → Desktop
Summary: Removing a new tab extension closes Firefox → Removing a new tab extension with one open tab closes Firefox
Comment 1•4 days ago
|
||
When an extension is uninstalled, all tabs associated with the extension are closed. We don't do anything special to keep the window or even Firefox around when this happens.
A work-around for users is to open Firefox after it has quit, and/or open a different tab/window before uninstalling (e.g. a private browsing window).
Note: some pages on the web can close themselves via window.close()
. When that page is the only tab, that also causes Firefox to quit. Test case:
- Visit example.com as the only tab.
- Open the devtools, run
onclick = () => window.open("/")
- Click inside the page, which opens example.com in a different tab.
- Close the original tab from step 1.
- Open the devtools in the only tab (from step 3) and run
window.close()
.
Result is that Firefox quits.
Severity: -- → S4
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•