- From: poot <cvsmail@w3.org>
- Date: Mon, 7 Jul 2008 16:42:13 +0900 (JST)
- To: public-html-diffs@w3.org
Oops, I'm just bad at maths. Also, define how UAs must fail in the face
of large data. (credit: pt) (whatwg r1847) (changed by: Ian Hickson)
Diffs for this change per section:
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1036.html#data-framing
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1036.html#ws-cd-length
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1036.html#ws-cd-data
Current content per affected section:
http://dev.w3.org/html5/spec/Overview.html#data-framing
http://dev.w3.org/html5/spec/Overview.html#ws-cd-length
http://dev.w3.org/html5/spec/Overview.html#ws-cd-data
Previously published WD content per affected section:
http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#data-framing
http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ws-cd-length
http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ws-cd-data
Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1035&r2=1.1036&f=h
http://html5.org/tools/web-apps-tracker?from=1846&to=1847
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1035
retrieving revision 1.1036
diff -u -d -r1.1035 -r1.1036
--- Overview.html 3 Jul 2008 19:49:50 -0000 1.1035
+++ Overview.html 3 Jul 2008 20:52:53 -0000 1.1036
@@ -41958,9 +41958,6 @@
<li>
<p>Let <var title="">length</var> be zero.
- <li>
- <p>Let <var title="">multiple</var> be 1.
-
<li id=ws-cd-length>
<p><em>Length</em>: Read a byte, let <var title="">b</var> be that
byte.
@@ -41971,14 +41968,9 @@
you would get by <i>and</i>ing <var title="">b</var> with 0x7f).
<li>
- <p>Multiply <var title="">length</var> by <var
- title="">multiple</var>, add <var title="">b<sub
- title="">v</sub></var> to that result, and store the final result in
- <var title="">length</var>.
-
- <li>
- <p>Multiply <var title="">multiple</var> by 128, and store that new
- value in <var title="">multiple</var>.
+ <p>Multiply <var title="">length</var> by 128, add <var
+ title="">b<sub title="">v</sub></var> to that result, and store the
+ final result in <var title="">length</var>.
<li>
<p>If the high-order bit of <var title="">b</var> is set (i.e. if
@@ -42031,6 +42023,10 @@
<p>Return to the first step to read the next byte.
</ol>
+ <p>If the user agent is faced with content that is too large to be handled
+ appropriately, then it must <a href="#fail-the">fail the Web Socket
+ connection</a>.
+
<hr>
<p>Once a <a href="#web-socket">Web Socket connection is established</a>,
Received on Monday, 7 July 2008 07:42:52 UTC