<?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>23106</bug_id>
          
          <creation_ts>2013-08-30 19:41:18 +0000</creation_ts>
          <short_desc>Spec should treat content type as an opaque string</short_desc>
          <delta_ts>2013-09-04 18:12:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>File API</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></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="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Arun">arun</assigned_to>
          <cc>annevk</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92761</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2013-08-30 19:41:18 +0000</bug_when>
    <thetext>Bug 18521, bug 18523, bug 18528 and bug 18529 claim:

&gt; We&apos;ve decided to treat type as an opaque string.

However, the Blob constructor [1] and the slice method [2] still lower-case their argument and limit it to the U+0020-U+007E range. This seems inconsistent.

[1] http://dev.w3.org/2006/webapi/FileAPI/#constructorBlob
[2] http://dev.w3.org/2006/webapi/FileAPI/#dfn-slice</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92847</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-09-03 09:41:27 +0000</bug_when>
    <thetext>I&apos;m pretty sure that&apos;s because we changed our mind. The question is where we should put the constraints and what conversion between code units and bytes we should make. It cannot be a code unit sequence without conversion algorithm to bytes. Making it a ByteString would make some sense...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92879</commentid>
    <comment_count>2</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2013-09-03 14:00:05 +0000</bug_when>
    <thetext>Ms2ger:

In fact, it&apos;s not an inconsistency so much as a compromise.  Sticking to rigid parsing of type would bind us to specs that are themselves inconsistent (but I treat http://mimesniff.spec.whatwg.org/ as normative these days).

Anne:

OK, I&apos;ve logged Bug 23138.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92994</commentid>
    <comment_count>3</comment_count>
    <who name="Arun">arun</who>
    <bug_when>2013-09-04 17:57:15 +0000</bug_when>
    <thetext>Since Bug 23138 was logged, I think this can be marked INVALID.  Bug 23138 brings an IDL change, and some prose change about code points.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>