Closed
Bug 1500818
Opened 6 years ago
Closed 6 years ago
browser_contextmenu_linkopen.js doesn't wait for focus/activate events and can therefore manage to open and close a window, and only then get their focus/activate events, breaking popup opening
Categories
(Firefox :: General, enhancement, P1)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 65
People
(Reporter: Gijs, Assigned: Gijs)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
+++ This bug was initially created as a clone of Bug #1499234 +++ This uses waitForNewWindow - seems reasonable to just make the helper do the waiting, assuming that doesn't break stuff. Try push with a fix to see if unrelated stuff fails: https://treeherder.mozilla.org/#/jobs?repo=try&revision=eb74e36e627ab9b3e197cd335843ab405e761de9 The breakage in the test when removing about:blank stuff otherwise ( https://treeherder.mozilla.org/#/jobs?repo=try&revision=6fe4dffa507f64d3f8e51ed7f11f1c2ad0505158&selectedJob=206120788 ) is effectively caused by the deactivation/blurring of the original window calling 'rollup' for all open popups, which breaks opening the popup (if it happens between popupshowing and popupshown). This is effectively pretty much the same as bug 1499234 except for waitForNewWindow instead of openNewBrowserWindow. (And yes, perhaps we should unify these 2 things somehow, making openNewBrowserWindow rely on waitForNewWindow, but I'd rather not try to do that in this bug as there may be unrelated fallout).
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Priority: -- → P1
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e4d47f8261f7 wait for focus and activate of new windows in BTU.waitForNewWindow, r=dao
Comment 3•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e4d47f8261f7
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•