<?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>28398</bug_id>
          
          <creation_ts>2015-04-03 08:42:54 +0000</creation_ts>
          <short_desc>&lt;img&gt; I want &quot;image MIME types&quot; to be defined</short_desc>
          <delta_ts>2016-08-11 08:01:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>dveditz</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119215</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-04-03 08:42:54 +0000</bug_when>
    <thetext>We already have a list of JavaScript MIME types (see bug 28397 for getting a &lt;dfn&gt;). I think we should have a list for images as well. Perhaps for now we should allow user agents to extend the list, but requiring a minimum of e.g. image/png and image/gif seems non-controversial.

Such a definition would help me define X-Content-Type-Options in Fetch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127117</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Veditz">dveditz</who>
    <bug_when>2016-08-11 00:02:00 +0000</bug_when>
    <thetext>Why do we need a list for images? Anything with an image type (any subtype) is an image. It may be one a particular browser knows nothing about and will error out later trying to render, but it&apos;s an image.

Javascript needs a list because there are multiple acceptable types mixed in with similar types that are definitely not javascript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127120</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-08-11 07:56:27 +0000</bug_when>
    <thetext>I guess that is fair. Images are rather special in that way that we managed to keep them all under the same type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127121</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-08-11 08:01:50 +0000</bug_when>
    <thetext>Thanks!

https://github.com/whatwg/fetch/commit/b9ad2f5c16d5c565ce25b336d1e6f5dce0f7a066</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>