[Bug 19297] New: May user agents apply additional restrictions on entering pointer lock?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=19297

           Summary: May user agents apply additional restrictions on
                    entering pointer lock?
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Pointer Lock
        AssignedTo: scheib@chromium.org
        ReportedBy: scheib@chromium.org
         QAContact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-webapps@w3.org


The pointer lock spec Working Draft 29 May 2012 is written specifying several
requirements to enter mouse lock, and leaving user agents to add additional
constraints to prevent nuisance and enforce security policies.  Specifically
the Element requestPointerLock method section [1] states "The user agent
determines if pointer lock state will be entered" and the Security section [2]
includes varying policies including 'A conservative approach' requiring user
gestures and 'A full screen approach' requiring full screen.

Initial implementations have added additional constraints beyond those
explicitly listed in [1]. Firefox 14 introduced pointer lock requiring that
fullscreen be entered and confirmed and that the pointer lock target match the
fullscreen element. Chrome 22 introduced pointer lock with a more permissive
policy, allowing pointer lock of any element after fullscreen has been
confirmed. Chrome also permitted pointer lock outside of fullscreen if it was
requested via a user gesture.

Concern was raised in public-webapps discussion [3] that all user agents should
use the same policy and that be incorporated into the specification.

[1] http://www.w3.org/TR/2012/WD-pointerlock-20120529/#methods
[2] http://www.w3.org/TR/2012/WD-pointerlock-20120529/#security
[3] http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0010.html

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Friday, 5 October 2012 16:45:27 UTC