Skip to content

Commit

Permalink
[e] (0) use the term 'isolated' instead of 'unpaired', for consistenc…
Browse files Browse the repository at this point in the history
…y. link to Unicode for completeness.

Affected topics: WebSocket API

git-svn-id: http://svn.whatwg.org/webapps@7055 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 17, 2012
1 parent 1161bcc commit 2b1d471
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
10 changes: 5 additions & 5 deletions complete.html
Expand Up @@ -80954,9 +80954,9 @@ <h4 id=the-websocket-interface><span class=secno>10.3.2 </span>The <code><a href
<code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception and abort these
steps.</li>

<li><p>If the method's second argument has any unpaired surrogates,
<li><p>If the method's second argument has any isolated surrogates,
then throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these
steps.</li>
steps. <a href=#refsUNICODE>[UNICODE]</a></li>

<li><p>If the method's second argument is present, then let <var title="">reason</var> be the result of encoding that argument as
UTF-8. If <var title="">reason</var> is longer than 123 bytes, then
Expand Down Expand Up @@ -81109,10 +81109,10 @@ <h4 id=the-websocket-interface><span class=secno>10.3.2 </span>The <code><a href

<dd>

<p>If the <var title="">data</var> argument has any unpaired
<p>If the <var title="">data</var> argument has any isolated
surrogates, then throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception. If
<i><a href=#the-websocket-connection-is-established>the WebSocket connection is established</a></i>, and the string has
no unpaired surrogates, and <i title="the WebSocket closing
no isolated surrogates, and <i title="the WebSocket closing
handshake is started"><a href=#the-websocket-closing-handshake-is-started>the WebSocket closing handshake has not yet
started</a></i>, then the user agent must <i>send a WebSocket
Message</i> comprised of <var title="">data</var> using a text
Expand All @@ -81122,7 +81122,7 @@ <h4 id=the-websocket-interface><span class=secno>10.3.2 </span>The <code><a href
invocation of this method with a string argument that does not
throw an exception must increase the <code title=dom-WebSocket-bufferedAmount><a href=#dom-websocket-bufferedamount>bufferedAmount</a></code>
attribute by the number of bytes needed to express the argument as
UTF-8. <a href=#refsRFC3629>[RFC3629]</a> <a href=#refsWSP>[WSP]</a></p>
UTF-8. <a href=#refsUNICODE>[UNICODE]</a> <a href=#refsRFC3629>[RFC3629]</a> <a href=#refsWSP>[WSP]</a></p>

</dd>

Expand Down
10 changes: 5 additions & 5 deletions index
Expand Up @@ -80954,9 +80954,9 @@ interface <dfn id=websocket>WebSocket</dfn> : <a href=#eventtarget>EventTarget</
<code><a href=#invalidaccesserror>InvalidAccessError</a></code> exception and abort these
steps.</li>

<li><p>If the method's second argument has any unpaired surrogates,
<li><p>If the method's second argument has any isolated surrogates,
then throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception and abort these
steps.</li>
steps. <a href=#refsUNICODE>[UNICODE]</a></li>

<li><p>If the method's second argument is present, then let <var title="">reason</var> be the result of encoding that argument as
UTF-8. If <var title="">reason</var> is longer than 123 bytes, then
Expand Down Expand Up @@ -81109,10 +81109,10 @@ socket.onopen = function () {

<dd>

<p>If the <var title="">data</var> argument has any unpaired
<p>If the <var title="">data</var> argument has any isolated
surrogates, then throw a <code><a href=#syntaxerror>SyntaxError</a></code> exception. If
<i><a href=#the-websocket-connection-is-established>the WebSocket connection is established</a></i>, and the string has
no unpaired surrogates, and <i title="the WebSocket closing
no isolated surrogates, and <i title="the WebSocket closing
handshake is started"><a href=#the-websocket-closing-handshake-is-started>the WebSocket closing handshake has not yet
started</a></i>, then the user agent must <i>send a WebSocket
Message</i> comprised of <var title="">data</var> using a text
Expand All @@ -81122,7 +81122,7 @@ socket.onopen = function () {
invocation of this method with a string argument that does not
throw an exception must increase the <code title=dom-WebSocket-bufferedAmount><a href=#dom-websocket-bufferedamount>bufferedAmount</a></code>
attribute by the number of bytes needed to express the argument as
UTF-8. <a href=#refsRFC3629>[RFC3629]</a> <a href=#refsWSP>[WSP]</a></p>
UTF-8. <a href=#refsUNICODE>[UNICODE]</a> <a href=#refsRFC3629>[RFC3629]</a> <a href=#refsWSP>[WSP]</a></p>

</dd>

Expand Down
12 changes: 6 additions & 6 deletions source
Expand Up @@ -93950,9 +93950,9 @@ interface <dfn>WebSocket</dfn> : <span>EventTarget</span> {
<code>InvalidAccessError</code> exception and abort these
steps.</p></li>

<li><p>If the method's second argument has any unpaired surrogates,
<li><p>If the method's second argument has any isolated surrogates,
then throw a <code>SyntaxError</code> exception and abort these
steps.</p></li>
steps. <a href="#refsUNICODE">[UNICODE]</a></p></li>

<li><p>If the method's second argument is present, then let <var
title="">reason</var> be the result of encoding that argument as
Expand Down Expand Up @@ -94146,10 +94146,10 @@ socket.onopen = function () {

<dd>

<p>If the <var title="">data</var> argument has any unpaired
<p>If the <var title="">data</var> argument has any isolated
surrogates, then throw a <code>SyntaxError</code> exception. If
<i>the WebSocket connection is established</i>, and the string has
no unpaired surrogates, and <i title="the WebSocket closing
no isolated surrogates, and <i title="the WebSocket closing
handshake is started">the WebSocket closing handshake has not yet
started</i>, then the user agent must <i>send a WebSocket
Message</i> comprised of <var title="">data</var> using a text
Expand All @@ -94161,8 +94161,8 @@ socket.onopen = function () {
throw an exception must increase the <code
title="dom-WebSocket-bufferedAmount">bufferedAmount</code>
attribute by the number of bytes needed to express the argument as
UTF-8. <a href="#refsRFC3629">[RFC3629]</a> <a
href="#refsWSP">[WSP]</a></p>
UTF-8. <a href="#refsUNICODE">[UNICODE]</a> <a
href="#refsRFC3629">[RFC3629]</a> <a href="#refsWSP">[WSP]</a></p>

</dd>

Expand Down

0 comments on commit 2b1d471

Please sign in to comment.