Closed
Bug 1522413
Opened 7 years ago
Closed 7 years ago
WindowManagerMixin:open_chrome_window() registers focus event listeners too late
Categories
(Remote Protocol :: Marionette, enhancement, P2)
Remote Protocol
Marionette
Tracking
(firefox66 fixed)
RESOLVED
FIXED
mozilla66
| Tracking | Status | |
|---|---|---|
| firefox66 | --- | fixed |
People
(Reporter: whimboo, Assigned: whimboo)
References
Details
Attachments
(1 file)
The JS code in that method registers the event listeners for focus and activate after calling win.focus(). It means we have a race conditions for tests trying to open chrome windows.
The focus promise has to be setup before calling focus() on the window.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Priority: -- → P2
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9762341e99f9
[marionette] Register event listeners before focusing the new window in WindowManagerMixin.open_chrome_window(). r=ato
Comment 4•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
Updated•3 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•