Skip to content

Commit

Permalink
[cgiowt] (2) Make sure not to autodetect an unsupported encoding...
Browse files Browse the repository at this point in the history
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@6865 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 9, 2011
1 parent 318a45d commit 9edf1ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion complete.html
Expand Up @@ -81080,7 +81080,8 @@ <h5 id=determining-the-character-encoding><span class=secno>12.2.2.1 </span>Dete
stream. Such algorithms may use information about the resource
other than the resource's contents, including the address of the
resource. If autodetection succeeds in determining a character
encoding, then return that encoding, with the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a>
encoding, and that encoding is a supported encoding, then return
that encoding, with the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a>
<i>tentative</i>, and abort these steps. <a href=#refsUNIVCHARDET>[UNIVCHARDET]</a></p>

<p class=note>The UTF-8 encoding has a highly detectable bit
Expand Down
3 changes: 2 additions & 1 deletion index
Expand Up @@ -81080,7 +81080,8 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>
stream. Such algorithms may use information about the resource
other than the resource's contents, including the address of the
resource. If autodetection succeeds in determining a character
encoding, then return that encoding, with the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a>
encoding, and that encoding is a supported encoding, then return
that encoding, with the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a>
<i>tentative</i>, and abort these steps. <a href=#refsUNIVCHARDET>[UNIVCHARDET]</a></p>

<p class=note>The UTF-8 encoding has a highly detectable bit
Expand Down
3 changes: 2 additions & 1 deletion source
Expand Up @@ -94047,7 +94047,8 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
stream. Such algorithms may use information about the resource
other than the resource's contents, including the address of the
resource. If autodetection succeeds in determining a character
encoding, then return that encoding, with the <span
encoding, and that encoding is a supported encoding, then return
that encoding, with the <span
title="concept-encoding-confidence">confidence</span>
<i>tentative</i>, and abort these steps. <a
href="#refsUNIVCHARDET">[UNIVCHARDET]</a></p>
Expand Down

0 comments on commit 9edf1ab

Please sign in to comment.