Skip to content

Commit

Permalink
[] (0) prevent document.domain from being set to 'com' or 'mtnview.ca…
Browse files Browse the repository at this point in the history
….us'.

git-svn-id: http://svn.whatwg.org/webapps@2719 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 28, 2009
1 parent 80017ac commit f299e41
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
16 changes: 16 additions & 0 deletions index
Expand Up @@ -34564,6 +34564,22 @@ interface <dfn id=window>Window</dfn> {

</li>

<li>

<p>If <var title="">new value</var> matches a suffix in the
Public Suffix List, or, if <var title="">new value</var>,
prefixed by a U+002E FULL STOP ("."), matches the end of a
suffix in the Public Suffix List, then throw a
<code><a href=#security_err>SECURITY_ERR</a></code> exception and abort these steps. <a href=#refsPSL>[PSL]</a></p> <!-- [PSL]
http://publicsuffix.org/ -->

<p>Suffixes must be compared after applying the IDNA ToASCII
algorithm to them, with both the AllowUnassigned and
UseSTD3ASCIIRules flags set, in an <a href=#ascii-case-insensitive>ASCII
case-insensitive</a> manner. <a href=#refsRFC3490>[RFC3490]</a></p>

</li>

</ol></li>

<li>
Expand Down
18 changes: 18 additions & 0 deletions source
Expand Up @@ -39254,6 +39254,24 @@ interface <dfn>Window</dfn> {

</li>

<li>

<p>If <var title="">new value</var> matches a suffix in the
Public Suffix List, or, if <var title="">new value</var>,
prefixed by a U+002E FULL STOP ("."), matches the end of a
suffix in the Public Suffix List, then throw a
<code>SECURITY_ERR</code> exception and abort these steps. <a
href="#refsPSL">[PSL]</a></p> <!-- [PSL]
http://publicsuffix.org/ -->

<p>Suffixes must be compared after applying the IDNA ToASCII
algorithm to them, with both the AllowUnassigned and
UseSTD3ASCIIRules flags set, in an <span>ASCII
case-insensitive</span> manner. <a
href="#refsRFC3490">[RFC3490]</a></p>

</li>

</ol>

</li>
Expand Down

0 comments on commit f299e41

Please sign in to comment.