Closed Bug 1262878 Opened 8 years ago Closed 8 years ago

default_popup should auto close after chrome.tabs.create

Categories

(WebExtensions :: Untriaged, defect)

47 Branch
x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1171746

People

(Reporter: pmheil, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160404120533

Steps to reproduce:

Create a browser_action with a default_popup that has a button that when clicked opens a tab with chrome.tabs.create({"url": url_to_open});


Actual results:

New tab opens to "url_to_open", but popup remains open


Expected results:

Default behavior should have the popup close to match Chrome.  Adding "window.close();" works for Firefox, but conflicts with Chrome.
OS: Unspecified → Windows 7
Hardware: Unspecified → x86
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.