Closed Bug 1653281 Opened 4 years ago Closed 4 years ago

Calling WebDriver:NewWindow for a new tab returns too early in headless mode

Categories

(Remote Protocol :: Marionette, defect, P1)

defect

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

Just noticed while running wdspec tests in headless mode the WebDriver:NewWindow command returns too early. Means before the framescript is even registered within the content process. As such any called command right after can fail when a process change happens eg for a navigation.

This blocks bug 1652973.

Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46b53bec5ede
[marionette] WebDriver:NewWindow for a new tab has to wait for the framescript to be registered. r=marionette-reviewers,maja_zf
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: