<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19773</bug_id>
          
          <creation_ts>2012-10-30 10:25:32 +0000</creation_ts>
          <short_desc>Add sandboxed pointer lock flag to HTML Sandboxing</short_desc>
          <delta_ts>2013-01-23 12:00:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>18647</dependson>
          <blocked>19752</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Edward O&apos;Connor">eoconnor</reporter>
          <assigned_to name="Silvia Pfeiffer">silviapfeiffer1</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>public-webapps</cc>
    
    <cc>scheib</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>77392</commentid>
    <comment_count>0</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-30 10:25:32 +0000</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #18647 +++

Pointer Lock API [1] adds capability that should be restricted by a sandbox flag unless an iframe is marked explicitly with sandbox=&quot;allow-pointer-lock&quot;

Rough edit suggestion to HTML:
http://dev.w3.org/html5/spec/origin-0.html#sandboxing

Add a section for The sandboxed pointer lock flag
+ &quot;The sandboxed pointer lock flag
+  This flag prevents content from using the Pointer Lock API&quot;
   with link to http://www.w3.org/TR/pointerlock/

Add a new flag parsing item:
After the text: &quot;When the user agent is to parse a sandboxing directive ...&quot;
Add
+ &quot;The sandboxed pointer lock flag, unless tokens contains the allow-pointer-lock keyword&quot;


[1] http://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77393</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-10-30 10:26:20 +0000</bug_when>
    <thetext>Silvia, see bug 18647 for the WHATWG fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>77403</commentid>
    <comment_count>2</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2012-10-30 11:00:55 +0000</bug_when>
    <thetext>Already staged:
https://github.com/w3c/html/tree/feature/whatwg_iframe_pointer_lock

Why would it need to go into HTML5 and not be held back for HTML.next?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81996</commentid>
    <comment_count>3</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-23 11:21:28 +0000</bug_when>
    <thetext>*** Bug 19752 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81997</commentid>
    <comment_count>4</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-01-23 11:58:23 +0000</bug_when>
    <thetext>
EDITOR&apos;S RESPONSE: This is an Editor&apos;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
document:   http://dev.w3.org/html5/decision-policy/decision-policy-v2.html

Status: Accepted

Change Description:
https://github.com/w3c/html/commit/e7c8dc0b9702656217ac50b003610fca568271a4

Rationale: accepted WHATWG change</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81998</commentid>
    <comment_count>5</comment_count>
    <who name="Silvia Pfeiffer">silviapfeiffer1</who>
    <bug_when>2013-01-23 12:00:08 +0000</bug_when>
    <thetext>Oops, wrong change URL. Here&apos;s right one:
https://github.com/w3c/html/commit/131ddb6159da41bc0dcb711118744eeb28e3fcc8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>