Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1761634] Backed out changeset e721121e5f57 (bug 1761634) for causing several issues with WebDriver clients. a=backout #47922

Merged
merged 1 commit into from
Sep 3, 2024
Merged
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
9 changes: 3 additions & 6 deletions tools/wptrunner/wptrunner/executors/executormarionette.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,18 +275,15 @@ def get_test_window(self, window_id, parent, timeout=5):
def test_window_loaded(self):
"""Wait until the page in the new window has been loaded.

Hereby ignore Javascript exceptions that are thrown when
Hereby ignore Javascript execptions that are thrown when
the document has been unloaded due to a process change.
"""
while True:
try:
self.parent.base.execute_script(self.window_loaded_script, asynchronous=True)
break
except errors.JavascriptException as e:
if e.message.startswith("Script evaluation aborted: Actor"):
# Special-case JavaScript errors for a JSWindowActor destroy
# until a decision is made on bug 1673478.
pass
except errors.JavascriptException:
pass


class MarionettePrefsProtocolPart(PrefsProtocolPart):
Expand Down