Closed Bug 1866173 Opened 2 years ago Closed 1 year ago

PointerLock doesn't work on a very small oop iframe

Categories

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

defect

Tracking

()

VERIFIED FIXED
128 Branch
Tracking Status
firefox128 --- verified
firefox129 --- verified

People

(Reporter: edgar, Assigned: edgar)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(2 files)

Attached file test.html

STR:

  1. load test.html
  2. click gray square

Expected result:
pointer input is locked in iframe

Actual result:
Mouse keeps being moved to top-left of browser window.

Blocks: 1255338
Attachment #9365101 - Attachment description: Bug 1866173 - Make GetWindowClientRectCenter() working properly on oop iframe; → Bug 1866173 - Make GetWindowClientRectCenter() working properly on oop iframe; r?smaug
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4afa0c89126e Make GetWindowClientRectCenter() working properly on oop iframe; r=smaug

Hmm, I think it is a pointerlock bug on Android with mouse input, I disable the test on Android for now and filed bug 1897103.

https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&revision=542713c9648660fad5ba3f0f1256f365f67b8e91

Flags: needinfo?(echen)
Pushed by echen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e0b1624713c9 Make GetWindowClientRectCenter() working properly on oop iframe; r=smaug
Regressions: 1897207
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
Flags: qe-verify+

Issue is reproducible on a 2024-05-15 Nightly build on Windows 10.
Verified as fixed on Firefox 128.0b1 and Firefox Nightly 129.0a1 on Windows 10, Ubuntu 22, macOS 14.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: