[html5] r4134 - [e] (0) 'security exception' got defined more precisely a while ago

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 14 03:25:20 PDT 2009


Author: ianh
Date: 2009-10-14 03:25:19 -0700 (Wed, 14 Oct 2009)
New Revision: 4134

Modified:
   complete.html
   source
Log:
[e] (0) 'security exception' got defined more precisely a while ago

Modified: complete.html
===================================================================
--- complete.html	2009-10-14 10:08:00 UTC (rev 4133)
+++ complete.html	2009-10-14 10:25:19 UTC (rev 4134)
@@ -64312,7 +64312,7 @@
     <p>If the <a href=#origin>origin</a> of the resulting <a href=#absolute-url>absolute
     URL</a> is not the <a href=#same-origin title="same origin">same</a> as the
     origin of the <a href=#first-script>first script</a>, then throw a
-    <span>security exception</span>.</p>
+    <code><a href=#security_err>SECURITY_ERR</a></code> exception.</p>
 
     <p class=note>Thus, scripts must be external files with the same
     scheme as the original page: you can't load a script from a <code title="">data:</code> URL or <code title="">javascript:</code>
@@ -64430,8 +64430,8 @@
 
     <p>If the <a href=#origin>origin</a> of <var title="">scriptURL</var> is
     not the <a href=#same-origin title="same origin">same</a> as the origin of the
-    <a href=#first-script>first script</a>, then throw a <span>security
-    exception</span>.</p>
+    <a href=#first-script>first script</a>, then throw a <code><a href=#security_err>SECURITY_ERR</a></code>
+    exception.</p>
 
     <p class=note>Thus, scripts must be external files with the same
     scheme as the original page: you can't load a script from a <code title="">data:</code> URL or <code title="">javascript:</code>
@@ -64640,8 +64640,8 @@
    <li><p>If any of the resulting <span title="absolute URL">absolute
    URLs</span> have an <span>origin</span> that is not the <span
    title="same origin">same</span> as the origin of the script that
-   invoked the method, then throw a <span>security
-   exception</span>.</p></li>
+   invoked the method, then throw a <code>SECURITY_ERR</code>
+   exception.</p></li>
 -->
 
    <li>
@@ -65692,9 +65692,9 @@
    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 <span>security
-   exception</span>. (User agents typically block access to well-known
-   ports like SMTP.)</li>
+   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
    -->

Modified: source
===================================================================
--- source	2009-10-14 10:08:00 UTC (rev 4133)
+++ source	2009-10-14 10:25:19 UTC (rev 4134)
@@ -72223,7 +72223,7 @@
     <p>If the <span>origin</span> of the resulting <span>absolute
     URL</span> is not the <span title="same origin">same</span> as the
     origin of the <span>first script</span>, then throw a
-    <span>security exception</span>.</p>
+    <code>SECURITY_ERR</code> exception.</p>
 
     <p class="note">Thus, scripts must be external files with the same
     scheme as the original page: you can't load a script from a <code
@@ -72356,8 +72356,8 @@
 
     <p>If the <span>origin</span> of <var title="">scriptURL</var> is
     not the <span title="same origin">same</span> as the origin of the
-    <span>first script</span>, then throw a <span>security
-    exception</span>.</p>
+    <span>first script</span>, then throw a <code>SECURITY_ERR</code>
+    exception.</p>
 
     <p class="note">Thus, scripts must be external files with the same
     scheme as the original page: you can't load a script from a <code
@@ -72606,8 +72606,8 @@
    <li><p>If any of the resulting <span title="absolute URL">absolute
    URLs</span> have an <span>origin</span> that is not the <span
    title="same origin">same</span> as the origin of the script that
-   invoked the method, then throw a <span>security
-   exception</span>.</p></li>
+   invoked the method, then throw a <code>SECURITY_ERR</code>
+   exception.</p></li>
 -->
 
    <li>
@@ -73813,9 +73813,9 @@
    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 <span>security
-   exception</span>. (User agents typically block access to well-known
-   ports like SMTP.)</p></li>
+   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
    -->




More information about the Commit-Watchers mailing list