forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wptrunner] Report crash when WebDriver browser is not alive
This aligns with how the base class `TimedRunner` differentiates `CRASH` from other failure modes [0]. An `InvalidSessionIdException` after a browser death (e.g., [1]) is now coerced to `CRASH`, not the generic `INTERNAL-ERROR` for harness exceptions. Fixes web-platform-tests#39617 and https://crbug.com/41485463. [0]: https://github.com/web-platform-tests/wpt/blob/c338ceff/tools/wptrunner/wptrunner/executors/base.py#L216-L231 [1]: https://github.com/web-platform-tests/wpt/blob/c338ceff/tools/wptrunner/wptrunner/executors/base.py#L773
- Loading branch information
1 parent
cba84ff
commit 8f09689
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters