Closed Bug 2053340 Opened 4 months ago Closed 4 months ago

Tab discarded via browser.tabs.discard API visually still display as loaded.

Categories

(Firefox :: Session Restore, defect)

Firefox 151
defect

Tracking

()

RESOLVED DUPLICATE of bug 2053343

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.

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.

Component: Untriaged → Session Restore

delete this particular bug, it's an accidental duplicate of an identical one:
https://bugzilla.mozilla.org/show_bug.cgi?id=2053343

Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Duplicate of bug: 2053343
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.