Closed Bug 1948700 Opened 5 months ago Closed 5 months ago

Do not return from "browsingContext.navigate" command when "wait" arguments equals "none" and beforeunload prompt opens

Categories

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

task
Points:
2

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: Sasha, Assigned: Sasha)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:m15], [wptsync upstream][webdriver:relnote] )

Attachments

(2 files)

Since the behavior of "wait" argument equal "none" changed, and now we have to return from "browsingContext.navigate" command when "browsingContext.navigationCommitted" event happened, in case a beforeunload prompt opens we should stop returning from navigate command and wait for the prompt to be handled.

Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Pushed by aborovova@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d0a0054e3724 Do not return from "browsingContext.navigate" command when "wait" arguments equals "none" and beforeunload prompt opens. r=webdriver-reviewers,jdescottes https://hg.mozilla.org/integration/autoland/rev/c4b057179c7c [wdspec] Move navigation tests for beforeunload in the separate file and fix the test for "browsingContext.navigationStarted" event for beforeunload. r=webdriver-reviewers,jdescottes
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/50962 for changes under testing/web-platform/tests
Points: --- → 2
Priority: -- → P2
Whiteboard: [webdriver:m15], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Upstream PR merged by moz-wptsync-bot
Whiteboard: [webdriver:m15], [wptsync upstream] → [webdriver:m15], [wptsync upstream][webdriver:relnote]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: