Skip to content
Permalink
Browse files

[] (0) prevent document.domain from being set to 'com' or 'mtnview.ca…

….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 f299e41793830f9244a9f76e6572366f868bd5c7
Showing with 34 additions and 0 deletions.
  1. +16 −0 index
  2. +18 −0 source
16 index

</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>
18 source

</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>

0 comments on commit f299e41

Please sign in to comment.
You can’t perform that action at this time.