<?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>12390</bug_id>
          
          <creation_ts>2011-03-29 06:19:45 +0000</creation_ts>
          <short_desc>A sandboxed MIME type attribute would be better than a fully qualified MIME type</short_desc>
          <delta_ts>2011-10-11 00:30: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>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://dev.w3.org/html5/spec/Overview.html#text-html-sandboxed</bug_file_loc>
          <status_whiteboard>K</status_whiteboard>
          <keywords>WGDecision</keywords>
          <priority>P1</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jacob Rossi [MSFT]">jrossi</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>adrianba</cc>
    
    <cc>ayg</cc>
    
    <cc>ian</cc>
    
    <cc>julian.reschke</cc>
    
    <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>rubys</cc>
    
    <cc>w3c</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>47020</commentid>
    <comment_count>0</comment_count>
    <who name="Jacob Rossi [MSFT]">jrossi</who>
    <bug_when>2011-03-29 06:19:45 +0000</bug_when>
    <thetext>I don&apos;t believe any browsers implement this yet. But a new MIME type specifically for sandboxed HTML content seems like the wrong way to go.

As it stands currently, only text/html has a sandboxed equivelant. What about image/svg+xml, or application/xhtml+xml? Do we really want to make a new fully qualified sandboxed MIME type for every existing type? They wouldn&apos;t really be new &quot;types.&quot; Rather, they look/feel/smell like existing types with the caveat of setting a single flag.

Instead, a MIME type attribute would be better (ex:  text/html;sandboxed  or application/xhtml+xml;sandboxed). This would allow any existing (or future) MIME types to be sandboxed with the unique origin flag.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48369</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">w3c</who>
    <bug_when>2011-05-09 18:45:58 +0000</bug_when>
    <thetext>The reason to use the MIME type is to get fail-closed behavior in legacy user agents.  My understanding is that having a MIME parameter defeats that goal.  If we want fail-open, then we can use something like Content-Security-Policy to deliver a sandbox directive.

Note: Using the MIME type does not fail-closed in 100% of situations.  There are a couple ways you can trick IE6 into failing open, even with a sandboxed MIME type, due to the lax content sniffing behavior in IE6.  As IE6 become less relevant, however, this issue probably matters less.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49616</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-06-15 06:01:24 +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: Rejected
Change Description: no spec change
Rationale: see comment 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49937</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2011-06-20 19:26:56 +0000</bug_when>
    <thetext>From the EDITOR&apos;S RESPONSE &quot;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&quot;

Does anybody want to propose title and text for the tracker issue?  Or to create the tracker issue themselves?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50099</commentid>
    <comment_count>4</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2011-06-22 02:02:01 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; From the EDITOR&apos;S RESPONSE &quot;please add the TrackerRequest keyword to this bug,
&gt; and suggest title and text for the tracker issue; or you may create a tracker
&gt; issue yourself, if you are able to do so&quot;
&gt; 
&gt; Does anybody want to propose title and text for the tracker issue?  Or to
&gt; create the tracker issue themselves?

Please provide a title and text for the tracker issue (including at least a brief technical description of the issue) by midnight Eastern time on Friday, June 25th, 2011, or the Chairs will remove the TrackerRequest keyword.

Anyone adding it back after that point should provide the information required.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50167</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2011-06-23 16:24:03 +0000</bug_when>
    <thetext>Created ISSUE 166.
http://www.w3.org/html/wg/tracker/issues/166</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54075</commentid>
    <comment_count>6</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:35:49 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57316</commentid>
    <comment_count>7</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2011-09-25 13:05:12 +0000</bug_when>
    <thetext>Decision:

http://lists.w3.org/Archives/Public/public-html/2011Sep/0212.html

Change Proposal:

http://www.w3.org/html/wg/wiki/ChangeProposals/text_html_sandboxed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58018</commentid>
    <comment_count>8</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-11 00:29:40 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6657.
Check-in comment: Drop text/html-sandboxed
http://html5.org/tools/web-apps-tracker?from=6656&amp;to=6657</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58019</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-11 00:30:08 +0000</bug_when>
    <thetext>Instead of removing the security warnings entirely, I replaced them with warnings that suggest alternative mitigations for the security risks that removing text/html-sandboxed introduces. I hope that&apos;s ok.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>