Loading spinner animates forever if tabs is discarded while loading
Categories
(Firefox :: Tabbed Browser, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | verified |
People
(Reporter: aria, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
- Install tabs-tabs-tabs[1], Tab Center Reborn[2] or any other extension that has the tabs permission
[1]: https://github.com/mdn/webextensions-examples/tree/master/tabs-tabs-tabs
[2]: https://addons.mozilla.org/firefox/addon/tabcenter-reborn/ - Type
await browser.tabs.query({});
and get the id of a tab you can discard - Type
await browser.tabs.reload(tabId); setTimeout(() => browser.tabs.discard(tabId), 30);
by using the the tab id of above.
Note that this is not a theoretical case I can trigger it by doing F5 and unloading the tab with an extension that adds a context menu entry to do that.
Actual results:
Tab is discarded but the loading spinner doesn’t go away.
await browser.tabs.get(tabId);
reports the tab as both discarded: true
and status: loading
.
Expected results:
– Discarded tab get back its favicon, instead of the loading spinner.
– WebExtensions API reports its status as complete
instead of loading
like for other discarded tabs.
I wrote this whole report just to see that it has already been reported as bug 1611878.
Comment 2•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 3•4 years ago
|
||
This is an issue in tabbrowser.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
Comment 5•4 years ago
|
||
Resetting severity to default of --
.
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/501574a6e645 Remove busy, progress, pendingicon attributes when discarding browser. r=mixedpuppy
Comment 7•4 years ago
|
||
bugherder |
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Verified- Fixed on latest Nightly 78.0a1 and Beta 77.0b3
Reporter | ||
Comment 11•3 years ago
|
||
I still have this problem on Dev Edition 87.0b8 and Nightly 88.0a1.
Description
•