W3C home > Mailing lists > Public > public-html-diffs@w3.org > May 2012

hixie: Make WebSocket silently convert isolated surrogated to U+FFFD rather than throwing an exception. This will result in data corruption when a user types in astral-plane characters that get truncated by naiive script half-way through, rather than crashing the application. (whatwg r7084)

From: poot <cvsmail@w3.org>
Date: Wed, 02 May 2012 16:06:44 -0400
To: public-html-diffs@w3.org
Message-Id: <E1SPfoy-0004R8-4z@jay.w3.org>
hixie: Make WebSocket silently convert isolated surrogated to U+FFFD
rather than throwing an exception. This will result in data corruption
when a user types in astral-plane characters that get truncated by
naiive script half-way through, rather than crashing the application.
(whatwg r7084)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5643&r2=1.5644&f=h
http://html5.org/tools/web-apps-tracker?from=7083&to=7084

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5643
retrieving revision 1.5644
diff -u -d -r1.5643 -r1.5644
--- Overview.html	28 Apr 2012 04:01:51 -0000	1.5643
+++ Overview.html	2 May 2012 20:06:30 -0000	1.5644
@@ -321,7 +321,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-28-april-2012">Editor's Draft 28 April 2012</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-2-may-2012">Editor's Draft 2 May 2012</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -514,7 +514,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 28 April 2012 Editor's Draft.
+  This specification is the 2 May 2012 Editor's Draft.
   </p>
 
 
@@ -3826,7 +3826,10 @@
     property</dfn>, <dfn id="support-named-properties">support named properties</dfn>,
     <dfn id="supported-property-names">supported property names</dfn>, <dfn id="determine-the-value-of-a-named-property">determine the value of a
     named property</dfn>, <dfn id="platform-array-objects">platform array objects</dfn>, and <dfn id="dfn-read-only-array" title="dfn-read-only-array">read only</dfn> (when applied to
-    arrays) are used as defined in the Web IDL specification.</p>
+    arrays) are used as defined in the Web IDL specification. The
+    algorithm to <dfn id="convert-a-domstring-to-a-sequence-of-unicode-characters">convert a DOMString to a sequence of Unicode
+    characters</dfn> is similarly that defined in the Web IDL
+    specification.</p>
 
     <p id="float-nan">Except where otherwise specified, if an IDL
     attribute that is a floating point number type (<code title="">double</code>) is assigned an Infinity or Not-a-Number
Received on Wednesday, 2 May 2012 20:06:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 May 2012 20:06:47 GMT