Closed
Bug 1420278
Opened 8 years ago
Closed 7 years ago
Toolbar popup doesn't properly switch to a new tab opened when the popup is closed
Categories
(Firefox for Android Graveyard :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: lkpost, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Build ID: 20171006080225
Steps to reproduce:
Use the following code snippet in a toolbar popup to simultaneously open a new tab and close the popup:
function openOptions() {
browser.tabs.create({
url: "/options/options.html"
});
window.close();
}
or
function openOptions() {
browser.tabs.create({
url: "/options/options.html"
}).then(() => {
window.close()
});
}
Actual results:
The browser opened the new tab, closed the popup, and switched to the page active when the toolbar button was clicked
Expected results:
The browser opens the new tab, closed the popup, and switched to the new tab. This is also what happens on desktop Firefox.
Updated•8 years ago
|
Component: Toolbar → General
[triage] Annoying, but non-critical as most add-ons are unlikely to take this approach. Susheel, please change priority if you disagree.
Flags: needinfo?(sdaswani)
Priority: -- → P3
(In reply to Michael Comella (:mcomella) [please needinfo for a response] from comment #1)
> [triage] Annoying, but non-critical as most add-ons are unlikely to take
> this approach. Susheel, please change priority if you disagree.
no disagreement.
Flags: needinfo?(sdaswani)
Comment 3•7 years ago
|
||
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
| Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•