Skip to content

Commit

Permalink
[e] (0) add an explicit paragraph about how ws:...:443 isn't to be bl…
Browse files Browse the repository at this point in the history
…ocked.

git-svn-id: http://svn.whatwg.org/webapps@5052 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 15, 2010
1 parent 8628aee commit 411777c
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 14 deletions.
22 changes: 15 additions & 7 deletions complete.html
Expand Up @@ -68669,13 +68669,21 @@ <h4 id=the-websocket-interface><span class=secno>10.3.2 </span>The <code><a href
this fails, throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception and abort
these steps.</li>

<li><p>If <var title="">port</var> is a port to which the user
agent is configured to block access, then throw a
<code><a href=#security_err>SECURITY_ERR</a></code> exception. (User agents typically block
access to well-known ports like SMTP.)</li>
<!--
e.g. http://www.mozilla.org/projects/netlib/PortBanning.html
-->
<li>

<p>If <var title="">port</var> is a port to which the user agent
is 7configured to block access, then throw a
<code><a href=#security_err>SECURITY_ERR</a></code> exception. (User agents typically block
access to well-known ports like SMTP.)</p>

<!-- e.g. http://www.mozilla.org/projects/netlib/PortBanning.html -->

<p>Access to ports 80 and 443 should not be blocked, including the
unlikely cases when <var title="">secure</var> is false but <var title="">port</var> is 443 or <var title="">secure</var> is true
but <var title="">port</var> is 80.</p>
<!-- paragraph requested by zcorpan -->

</li>

<li><p>If <var title="">protocol</var> is present but is either the
empty string or contains characters with Unicode code points less
Expand Down
23 changes: 16 additions & 7 deletions source
Expand Up @@ -77016,13 +77016,22 @@ interface <dfn>WebSocket</dfn> {
this fails, throw a <code>SYNTAX_ERR</code> exception and abort
these steps.</p></li>

<li><p>If <var title="">port</var> is a port to which the user
agent is configured to block access, then throw a
<code>SECURITY_ERR</code> exception. (User agents typically block
access to well-known ports like SMTP.)</p></li>
<!--
e.g. http://www.mozilla.org/projects/netlib/PortBanning.html
-->
<li>

<p>If <var title="">port</var> is a port to which the user agent
is 7configured to block access, then throw a
<code>SECURITY_ERR</code> exception. (User agents typically block
access to well-known ports like SMTP.)</p>

<!-- e.g. http://www.mozilla.org/projects/netlib/PortBanning.html -->

<p>Access to ports 80 and 443 should not be blocked, including the
unlikely cases when <var title="">secure</var> is false but <var
title="">port</var> is 443 or <var title="">secure</var> is true
but <var title="">port</var> is 80.</p>
<!-- paragraph requested by zcorpan -->

</li>

<li><p>If <var title="">protocol</var> is present but is either the
empty string or contains characters with Unicode code points less
Expand Down

0 comments on commit 411777c

Please sign in to comment.