[Webkit-unassigned] [Bug 97722] New: webkitPointerLockElement returns NULL until accepted.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 26 13:24:15 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=97722

           Summary: webkitPointerLockElement returns NULL until accepted.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: scheib at chromium.org


Reproduce on Chrome via:
1. use a blank profile, or clear mouse content settings
2. http://scheib.github.com/HTMLMisc/PointerLockAndFullscreen.html
3. Press "Pointer Lock Target1", but do NOT Accept mouse lock
4. Click to Lock the mouse again.

Expected:
Text on page reads:
document.webkitPointerLockElement unlocked

Actual:
document.webkitPointerLockElement locked to target1



Work around:
Apps track if they have already requested pointer lock and do not send an additional request when one is pending and hasn't received a change or error event.


Related Chrome issue 
https://code.google.com/p/chromium/issues/detail?id=152509

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list