Visitar URL original
[Gecko Bug 2089840] Switch to the new window in MarionetteRefTestExecutor so that reftests run in a focused window. by moz-wptsync-bot · Pull Request #64981 · web-platform-tests/wpt · GitHub
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/wptrunner/wptrunner/executors/executormarionette.py
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,8 @@ def do_test(self, test):
self.has_window = False

if not self.has_window:
self.protocol.base.create_window(type="window")
test_window = self.protocol.base.create_window(type="window")
self.protocol.base.set_window(test_window)
# Resize the browser window so that its inner dimensions have
# exactly a size of 800x600 pixels, which means ignoring all
# visible toolbars and sidebars.
Expand Down