Closed Bug 1833659 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40058 - Don't make WebDriverExceptions force-fail the test

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 40058 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/40058
Details from upstream follow.

Christian Biesinger <cbiesinger@chromium.org> wrote:

Don't make WebDriverExceptions force-fail the test

Instead, allow JavaScript to catch them, and have the unhandledrejection handler trigger the test failure if they are not caught.

Fixes #40057

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
The PR was not expected to affect any tests, but the try push wasn't a success. Check the try results for infrastructure issues
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dcda3859da6f [wpt PR 40058] - Don't make WebDriverExceptions force-fail the test, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.