Tab discarded via browser.tabs.discard API visually still display as loaded.
Categories
(Firefox :: Session Restore, defect)
Tracking
()
People
(Reporter: mk.eesti+bugzilla, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0
Steps to reproduce:
Tab discarded by addons via browser.tabs.discard API visually still display as loaded in the default Firefox UI.
Similarly, when browser is just started and previous session is restored, all tabs are displayed as loaded, even though they are all discarded.
This issue only happens in native Firefox UI, the addons that display their own tabs have no problem reacting to tabs being programmatically discarded (or already discarded on browser startup) and visually changing their display.
Versions tested:
Windows 152.0.4 (64-bit)
Windows 152.0.5 (64-bit)
Actual results:
Tabs discarded via browser.tabs.discard API or loaded from a pervious session as already discarded visually still display as loaded in the default Firefox UI.
Expected results:
Tabs discarded via browser.tabs.discard API or loaded from a pervious session as already discarded visually should display as discarded, to differentiate them from loaded tabs.
Comment 1•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Session Restore' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
delete this particular bug, it's an accidental duplicate of an identical one:
https://bugzilla.mozilla.org/show_bug.cgi?id=2053343
Updated•4 months ago
|
Description
•