Closed Bug 1906653 Opened 3 months ago Closed 3 months ago

[wpt-sync] Sync PR 47033 - [WebDriver BiDi] default `beforeUnload` behavior is `accept`

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@chromium.org> wrote:

[WebDriver BiDi] default beforeUnload behavior is accept

According to WebDriver Classic spec, beforeUnload prompt should be accepted by default.
Step 4 of "Get the prompt handler" algorithm:

  1. If type is "beforeUnload", return a prompt handler configuration with handler "accept" and notify false.
Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 3 tests and 2 subtests

Status Summary

Firefox

OK : 3
PASS : 17
FAIL : 1

Chrome

OK : 3
PASS : 4
ERROR: 14

Safari

OK : 3
ERROR: 18

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/45365bed4185 [wpt PR 47033] - [WebDriver BiDi] default `beforeUnload` behavior is `accept`, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.