<?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>13267</bug_id>
          
          <creation_ts>2011-07-15 08:14:20 +0000</creation_ts>
          <short_desc>sandboxing implication for plugins should be rephrased</short_desc>
          <delta_ts>2011-09-26 22:28:37 +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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/2011/WD-html5-20110525/Overview.html#attr-iframe-sandbox</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julian Reschke">julian.reschke</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>lrosenth</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</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>51094</commentid>
    <comment_count>0</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2011-07-15 08:14:20 +0000</bug_when>
    <thetext>&quot;The sandbox attribute, when specified, enables a set of extra restrictions on any content hosted by the iframe. Its value must be an unordered set of unique space-separated tokens that are ASCII case-insensitive. The allowed values are allow-same-origin, allow-top-navigation, allow-forms, and allow-scripts. When the attribute is set, the content is treated as being from a unique origin, forms and scripts are disabled, links are prevented from targeting other browsing contexts, and plugins are disabled.&quot;

This doesn&apos;t cover the case where a UI might be able to negotiate these restrictions with a plugin.

See context around &lt;http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-July/032429.html&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51133</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-07-15 19:04:46 +0000</bug_when>
    <thetext>Specifically, it would make the most sense to remove &quot;plugins are disabled&quot;, and add a sentence saying that the UA has to only allow plugins to run if it knows they&apos;ll meet these requirements.  E.g., NPAPI might be extended to have flags to signal this sort of thing, or maybe the browsers authors control the plugin themselves (like the Chrome PDF viewer).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51141</commentid>
    <comment_count>2</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2011-07-15 20:02:40 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Specifically, it would make the most sense to remove &quot;plugins are disabled&quot;,
&gt; and add a sentence saying that the UA has to only allow plugins to run if it
&gt; knows they&apos;ll meet these requirements.  E.g., NPAPI might be extended to have
&gt; flags to signal this sort of thing, or maybe the browsers authors control the
&gt; plugin themselves (like the Chrome PDF viewer).

+1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53453</commentid>
    <comment_count>3</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:14:00 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57256</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-23 19:40:15 +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.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57257</commentid>
    <comment_count>5</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-09-23 19:43:16 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6573.
Check-in comment: Define how sandboxing works with plugins in a hypothetical world where plugins honour the sandbox.
http://html5.org/tools/web-apps-tracker?from=6572&amp;to=6573</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57265</commentid>
    <comment_count>6</comment_count>
    <who name="Leonard Rosenthol">lrosenth</who>
    <bug_when>2011-09-23 19:53:00 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. 

I would recommend removing or changing the example for a secure-aware plugin, since &quot;pop-up windows&quot; has nothing to do with security.  A better example might be communicating with insecure data sources.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57275</commentid>
    <comment_count>7</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-23 22:35:27 +0000</bug_when>
    <thetext>I don&apos;t understand. What has communicating with insecure data sources got to do with the sandbox=&quot;&quot; attribute?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57382</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-09-26 22:28:37 +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.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: see comment 7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>