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

[wptrunner] Detect crash during script execution #16157

Merged
merged 2 commits into from Apr 1, 2019

Conversation

jugglinmike
Copy link
Contributor

As of 2019-03-29, WebDriver does not define expected behavior for cases
where the browser crashes during script execution [1]. The type of the
value returned by execute_script therefore may defy the expectations
of subsequent statements, resulting in a Python exception which obscures
the reason for the problem.

Raise an exception describing a crash to make test results more clear
than the Python type-related error that would otherwise occur.

[1] w3c/webdriver#1308

As of 2019-03-29, WebDriver does not define expected behavior for cases
where the browser crashes during script execution [1]. The type of the
value returned by `execute_script` therefore may defy the expectations
of subsequent statements, resulting in a Python exception which obscures
the reason for the problem.

Raise an exception describing a crash to make test results more clear
than the Python type-related error that would otherwise occur.

[1] w3c/webdriver#1308
@gsnedders gsnedders merged commit 4495595 into web-platform-tests:master Apr 1, 2019
marcoscaceres pushed a commit that referenced this pull request Jul 23, 2019
As of 2019-03-29, WebDriver does not define expected behavior for cases
where the browser crashes during script execution [1]. The type of the
value returned by `execute_script` therefore may defy the expectations
of subsequent statements, resulting in a Python exception which obscures
the reason for the problem.

Raise an exception describing a crash to make test results more clear
than the Python type-related error that would otherwise occur.

[1] w3c/webdriver#1308
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants