Closed Bug 1258823 Opened 9 years ago Closed 9 years ago

Close tab created with browser.tabs.create does not return to last tab

Categories

(WebExtensions :: Untriaged, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1238314

People

(Reporter: 6lobe, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0 Build ID: 20160322030417 Steps to reproduce: Create tab using browser.tabs.create in an extension. Close the tab created. Actual results: The tab that gets activated isnt the originating tab but instead the next one on the tabstrip. Expected results: The originating tab should get activated. Here is an example extension: https://addons.mozilla.org/en-US/firefox/addon/context-duckduckgo/ I had to do a hacky workaround by creating the tab before the originating tab on the tabstrip so that closing the tab with the search results would return me to the originating tab.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.