Closed Bug 1442924 Opened 8 years ago Closed 8 years ago

tabs.discard() fails with e10s disabled

Categories

(WebExtensions :: General, defect)

60 Branch
defect
Not set
normal

Tracking

(firefox58 affected, firefox59 affected, firefox60 affected)

RESOLVED INVALID
Tracking Status
firefox58 --- affected
firefox59 --- affected
firefox60 --- affected

People

(Reporter: konradmb, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180303100406 Steps to reproduce: 1. Open about:config and set browser.tabs.remote.autostart and browser.tabs.remote.autostart.2 to false 2. Restart browser 3. Install an extension to suspend tabs, which uses tabs.discard() API. For example: Discard Tab (https://addons.mozilla.org/en-US/firefox/addon/discard-tab/) 4. Right-click on some tab and select "Discard Tab" Actual results: Selected tab is not suspended (when coming back to inactive tab, it's opening instantly). Expected results: Selected tab should be suspended (when coming back to inactive tab, it's loaded back from scratch).
Build ID: 20180307100049 User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 I reproduced this issue on Windows 10 x64, Ubuntu 16.04 x64 and on Mac OS X 10.13 on the latest Firefox Nightly 60.0a1 (2018-03-07).
Status: UNCONFIRMED → NEW
Component: Untriaged → WebExtensions: General
Ever confirmed: true
Product: Firefox → Toolkit
(In reply to konradmb from comment #0) > 1. Open about:config and set browser.tabs.remote.autostart and > browser.tabs.remote.autostart.2 to false This disables e10s. discard only works with e10s enabled.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Summary: tabs.discard() is not working with electrolysis enabled → tabs.discard() fails with e10s disabled
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.