+++ This bug was initially created as a clone of Bug #18647 +++
Pointer Lock API  adds capability that should be restricted by a sandbox flag unless an iframe is marked explicitly with sandbox="allow-pointer-lock"
Rough edit suggestion to HTML:
Add a section for The sandboxed pointer lock flag
+ "The sandboxed pointer lock flag
+ This flag prevents content from using the Pointer Lock API"
with link to http://www.w3.org/TR/pointerlock/
Add a new flag parsing item:
After the text: "When the user agent is to parse a sandboxing directive ..."
+ "The sandboxed pointer lock flag, unless tokens contains the allow-pointer-lock keyword"
Silvia, see bug 18647 for the WHATWG fix.
Why would it need to go into HTML5 and not be held back for HTML.next?
*** Bug 19752 has been marked as a duplicate of this bug. ***
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If
you are satisfied with this response, please change the state of
this bug to CLOSED. If you have additional information and would
like the Editor to reconsider, please reopen this bug. If you would
like to escalate the issue to the full HTML Working Group, please
add the TrackerRequest keyword to this bug, and suggest title and
text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this
Rationale: accepted WHATWG change
Oops, wrong change URL. Here's right one: