<?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>28094</bug_id>
          
          <creation_ts>2015-02-24 18:46:43 +0000</creation_ts>
          <short_desc>Unclear wording</short_desc>
          <delta_ts>2019-03-30 20:03:48 +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>MIME</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>[good first bug]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          <blocked>28100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Irish">paul.irish</reporter>
          <assigned_to name="Gordon P. Hemsley">gphemsley</assigned_to>
          <cc>annevk</cc>
    
    <cc>d</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
          
          <qa_contact>sideshowbarker+mimespec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>118123</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Irish">paul.irish</who>
    <bug_when>2015-02-24 18:46:43 +0000</bug_when>
    <thetext>https://mimesniff.spec.whatwg.org/

In Section 8... There is plenty of
  &quot;To determine the sniffed MIME type &quot; ...
  &quot;If the supplied MIME type is undefined, ….
  &quot;The sniffed MIME type is the supplied MIME type.&quot;

This ends in being very unclear. I believe the second line is a bug of incompleteness, but it makes reading this section unclear.



Later on 
&quot;If the supplied MIME type is an XML type, the sniffed MIME type is the supplied MIME type. Abort these steps.&quot;

This appears to be missing an &quot;or&quot; or something in the middle here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118134</commentid>
    <comment_count>1</comment_count>
    <who name="Gordon P. Hemsley">gphemsley</who>
    <bug_when>2015-02-25 00:23:20 +0000</bug_when>
    <thetext>(In reply to Paul Irish from comment #0)
&gt; https://mimesniff.spec.whatwg.org/
&gt; 
&gt; In Section 8... There is plenty of
&gt;   &quot;To determine the sniffed MIME type &quot; ...
&gt;   &quot;If the supplied MIME type is undefined, ….
&gt;   &quot;The sniffed MIME type is the supplied MIME type.&quot;
&gt; 
&gt; This ends in being very unclear. I believe the second line is a bug of
&gt; incompleteness, but it makes reading this section unclear.

Could you be more specify about what you feel is unclear? I may be biased (because I wrote those words), but they read fine to me. Both &quot;sniffed MIME type&quot; and &quot;supplied MIME type&quot; are defined terms.

&gt; Later on 
&gt; &quot;If the supplied MIME type is an XML type, the sniffed MIME type is the
&gt; supplied MIME type. Abort these steps.&quot;
&gt; 
&gt; This appears to be missing an &quot;or&quot; or something in the middle here.

This also reads fine to me. Where would you put the &quot;or&quot;? (&quot;XML type&quot; is a defined term, as well.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118136</commentid>
    <comment_count>2</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2015-02-25 00:30:03 +0000</bug_when>
    <thetext>I think what Paul found unclear is that in the phrase &quot;The X is the Y&quot;, all you&apos;re doing in English is equating the two, but you *mean* to be setting one to the other.  Which direction you intend the setting to go is unclear.

I usually try to use more explicit phrasing, like &quot;Set X to Y&quot; or similar.  In this case, it would be &quot;Set &lt;var&gt;sniffed mime type&lt;/var&gt; to &lt;var&gt;supplied mime type&lt;/var&gt;&quot; or similar.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>118140</commentid>
    <comment_count>3</comment_count>
    <who name="Gordon P. Hemsley">gphemsley</who>
    <bug_when>2015-02-25 00:56:41 +0000</bug_when>
    <thetext>Upon consultation with Tab and Tantek, I&apos;ve renamed &quot;sniffed MIME type&quot; to &quot;computed MIME type&quot;, which should make things a little clearer:

https://github.com/whatwg/mimesniff/commit/ced82b8e18b153ca06ad9ebc44daa3c80af1c5c4

I&apos;ll have to think a little harder about comment 2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129735</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2019-03-30 20:03:48 +0000</bug_when>
    <thetext>https://github.com/whatwg/mimesniff/issues/81 will take care of this, eventually.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>