Closed Bug 1905889 Opened 4 months ago Closed 3 months ago

Update user prompt handler behavior based on GitHub PR 1819

Categories

(Remote Protocol :: Agent, task, P2)

task
Points:
3

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: whimboo, Assigned: jdescottes)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [webdriver:m12])

Attachments

(1 file)

The following PR on GitHub changes the behavior of the unhandledPromptBehavior capability:

  • Make string valued handlers only set the alert/confirm/prompt modals, but object valued handlers with a default key set the default for all prompt types including beforeUnload
  • Unconditionally return the user prompt handler in the new session response

The upstream PR got merged. We potentially should work on those changes in M12.

Points: --- → 3
Priority: -- → P2
Whiteboard: [webdriver:m12]

Updates for tests were provided upstream and got synced downstream via bug 1907349. Updated meta-data this bug needs to take care of are in:

Depends on: 1907349

As spoken with Julian he is going to work on this bug. As first step he created a PR to fix some smaller inconsistencies:
https://github.com/w3c/webdriver/pull/1831

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b6a63f747d6d [remote] Update user prompt handler behavior based on GitHub PR 1819 r=webdriver-reviewers,whimboo
Status: ASSIGNED → 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.

Attachment

General

Created:
Updated:
Size: