Closed Bug 1928746 Opened 1 month ago Closed 1 month ago

browser_pointerlock_popup.js should ensure popup is opened before request pointer lock

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: edgar, Assigned: edgar)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently, test opens the popup and then request pointer lock immediately, it’s possible that pointer lock is requested before the popup fully opens, so pointer lock succeeds initially but then exits once the popup appears. However, the test expects the pointer lock request to be rejected, so it should ensure the popup is fully opened before requesting pointer lock.

Blocks: 1907085

By explicitly waiting for the popup state.

Assignee: nobody → echen
Status: NEW → ASSIGNED
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/768acc1dd99c Improve reliability of browser_pointerlock_popup.js; r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: