[html5] r3122 - [e] (0) Fix lack of consistency of naming of confidence flags. (bug 6423) (credi [...]
whatwg at whatwg.org
whatwg at whatwg.org
Sat May 23 22:42:47 PDT 2009
Author: ianh
Date: 2009-05-23 22:42:46 -0700 (Sat, 23 May 2009)
New Revision: 3122
Modified:
index
source
Log:
[e] (0) Fix lack of consistency of naming of confidence flags. (bug 6423) (credit: hs)
Modified: index
===================================================================
--- index 2009-05-24 05:32:29 UTC (rev 3121)
+++ index 2009-05-24 05:42:46 UTC (rev 3122)
@@ -59012,7 +59012,7 @@
<dfn id=concept-encoding-confidence title=concept-encoding-confidence>confidence</dfn>. The
confidence is either <i>tentative</i>, <i>certain</i>, or
<i>irrelevant</i>. The encoding used, and whether the confidence in
- that encoding is <i>tentative</i> or <i>confident</i>, is <a href=#meta-charset-during-parse>used during the parsing</a> to
+ that encoding is <i>tentative</i> or <i>certain</i>, is <a href=#meta-charset-during-parse>used during the parsing</a> to
determine whether to <a href=#change-the-encoding>change the encoding</a>. If no
encoding is necessary, e.g. because the parser is operating on a
stream of Unicode characters and doesn't have to use an encoding at
@@ -59453,7 +59453,7 @@
<li>If the new encoding is identical or equivalent to the encoding
that is already being used to interpret the input stream, then set
the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> to
- <i>confident</i> and abort these steps. This happens when the
+ <i>certain</i> and abort these steps. This happens when the
encoding information found in the file matches what the
<a href=#encoding-sniffing-algorithm>encoding sniffing algorithm</a> determined to be the
encoding, and in the second pass through the parser if the first
@@ -59467,21 +59467,21 @@
to the new converter for the encoding on the fly. Set the
<a href="#document's-character-encoding">document's character encoding</a> and the encoding used to
convert the input stream to the new encoding, set the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> to
- <i>confident</i>, and abort these steps.</li>
+ <i>certain</i>, and abort these steps.</li>
<li>Otherwise, <a href=#navigate>navigate</a> to the document again, with
<a href=#replacement-enabled>replacement enabled</a>, and using the same <a href=#source-browsing-context>source
browsing context</a>, but this time skip the <a href=#encoding-sniffing-algorithm>encoding
sniffing algorithm</a> and instead just set the encoding to the
new encoding and the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> to
- <i>confident</i>. Whenever possible, this should be done without
+ <i>certain</i>. Whenever possible, this should be done without
actually contacting the network layer (the bytes should be
re-parsed from memory), even if, e.g., the document is marked as
not being cacheable. If this is not possible and contacting the
network layer would involve repeating a request that uses a method
other than HTTP GET (<a href=#concept-http-equivalent-get title=concept-http-equivalent-get>or
equivalent</a> for non-HTTP URLs), then instead set the <a href=#concept-encoding-confidence title=concept-encoding-confidence>confidence</a> to
- <i>confident</i> and ignore the new encoding. The resource will be
+ <i>certain</i> and ignore the new encoding. The resource will be
misinterpreted. User agents may notify the user of the situation,
to aid in application development.</li>
Modified: source
===================================================================
--- source 2009-05-24 05:32:29 UTC (rev 3121)
+++ source 2009-05-24 05:42:46 UTC (rev 3122)
@@ -72463,7 +72463,7 @@
<dfn title="concept-encoding-confidence">confidence</dfn>. The
confidence is either <i>tentative</i>, <i>certain</i>, or
<i>irrelevant</i>. The encoding used, and whether the confidence in
- that encoding is <i>tentative</i> or <i>confident</i>, is <a
+ that encoding is <i>tentative</i> or <i>certain</i>, is <a
href="#meta-charset-during-parse">used during the parsing</a> to
determine whether to <span>change the encoding</span>. If no
encoding is necessary, e.g. because the parser is operating on a
@@ -72990,7 +72990,7 @@
<li>If the new encoding is identical or equivalent to the encoding
that is already being used to interpret the input stream, then set
the <span title="concept-encoding-confidence">confidence</span> to
- <i>confident</i> and abort these steps. This happens when the
+ <i>certain</i> and abort these steps. This happens when the
encoding information found in the file matches what the
<span>encoding sniffing algorithm</span> determined to be the
encoding, and in the second pass through the parser if the first
@@ -73005,7 +73005,7 @@
<span>document's character encoding</span> and the encoding used to
convert the input stream to the new encoding, set the <span
title="concept-encoding-confidence">confidence</span> to
- <i>confident</i>, and abort these steps.</li>
+ <i>certain</i>, and abort these steps.</li>
<li>Otherwise, <span>navigate</span> to the document again, with
<span>replacement enabled</span>, and using the same <span>source
@@ -73013,7 +73013,7 @@
sniffing algorithm</span> and instead just set the encoding to the
new encoding and the <span
title="concept-encoding-confidence">confidence</span> to
- <i>confident</i>. Whenever possible, this should be done without
+ <i>certain</i>. Whenever possible, this should be done without
actually contacting the network layer (the bytes should be
re-parsed from memory), even if, e.g., the document is marked as
not being cacheable. If this is not possible and contacting the
@@ -73021,7 +73021,7 @@
other than HTTP GET (<span title="concept-http-equivalent-get">or
equivalent</span> for non-HTTP URLs), then instead set the <span
title="concept-encoding-confidence">confidence</span> to
- <i>confident</i> and ignore the new encoding. The resource will be
+ <i>certain</i> and ignore the new encoding. The resource will be
misinterpreted. User agents may notify the user of the situation,
to aid in application development.</li>
More information about the Commit-Watchers
mailing list