NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 81 - Make the content-type sniffing for browsing context navigation optional when the Content-Type metadata is present.
Make the content-type sniffing for browsing context navigation optional when ...
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: HTML parser
HEAD
All All
: P2 normal
Assigned To: Henri Sivonen
http://svn.whatwg.org/webapps/source?...
: 70 119 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-03 13:05 CET by Nobody
Modified: 2008-03-14 12:41 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nobody 2008-03-03 13:05:43 CET
Index: source
===================================================================
--- source	(revision 1225)
+++ source	(revision 1226)
@@ -27016,6 +27016,17 @@
 
   <ol>
 
+   <li><p>Let <var title="">official type</var> be the type given by
+   the <span title="Content-Type">Content-Type metadata</span> for the
+   resource (in lowercase<!-- XXX ASCII case folding -->, ignoring any
+   parameters). If there is no such type, jump to the <em
+   title="content-type sniffing: unknown type">unknown type</em> step
+   below.</p></li>
+
+   <li><p>If the user agent is configured to strictly obey
+   Content-Type headers for this resource, then jump to the last step
+   in this set of steps.</p></li>
+
    <li><p>If the resource was fetched over an HTTP protocol, and there
    is no HTTP Content-Encoding header, but there is an HTTP
    Content-Type header and it has a value whose bytes exactly match
@@ -27043,13 +27054,6 @@
 
    </li>
 
-   <li><p>Let <var title="">official type</var> be the type given by
-   the <span title="Content-Type">Content-Type metadata</span> for the
-   resource (in lowercase<!-- XXX ASCII case folding -->, ignoring any
-   parameters). If there is no such type, jump to the <em
-   title="content-type sniffing: unknown type">unknown type</em> step
-   below.</p></li>
-
    <li><p>If <var title="">official type</var> is "unknown/unknown" or
    "application/unknown", jump to the <em title="content-type
    sniffing: unknown type">unknown type</em> step below.</p></p>
@@ -27074,8 +27078,8 @@
    jump to the <em title="content-type sniffing: feed or html">feed or
    HTML</em> section below.</p></li>
 
-   <li><p>Otherwise, the sniffed type of the resource is <var
-   title="">official type</var>.</p></li>
+   <li><p>The sniffed type of the resource is <var title="">official
+   type</var>.</p></li>
 
   </ol>
Comment 1 Henri Sivonen 2008-03-03 13:20:46 CET
*** Bug 70 has been marked as a duplicate of this bug. ***
Comment 2 Henri Sivonen 2008-03-03 18:39:27 CET
*** Bug 119 has been marked as a duplicate of this bug. ***
Comment 3 Henri Sivonen 2008-03-14 12:41:45 CET
Sniffer not supported.