[html5] r1999 - [] (0) define javascript: in Window-less environments

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 5 00:54:39 PDT 2008


Author: ianh
Date: 2008-08-05 00:54:39 -0700 (Tue, 05 Aug 2008)
New Revision: 1999

Modified:
   index
   source
Log:
[] (0) define javascript: in Window-less environments

Modified: index
===================================================================
--- index	2008-08-05 07:51:18 UTC (rev 1998)
+++ index	2008-08-05 07:54:39 UTC (rev 1999)
@@ -32386,13 +32386,16 @@
    href="#browsing1">browsing context</a> being <a href="#navigate"
    title=navigate>navigated</a>.
 
-  <p>Otherwise, the <a href="#script2">script execution context</a> must be
-   an empty object, and the <a href="#script2">script execution context</a>'s
-   associated <a href="#browsing1">browsing context</a> must be the <a
-   href="#browsing1">browsing context</a> of the <code>Document</code> object
-   of the element, attribute, or style sheet from which the
-   <code>javascript:</code> URL was reached.
+  <p>Otherwise, if the <code>Document</code> object of the element,
+   attribute, or style sheet from which the <code>javascript:</code> URL was
+   reached has an associated <a href="#browsing1">browsing context</a>, the
+   <a href="#script2">script execution context</a> must be an empty object,
+   and the <a href="#script2">script execution context</a>'s associated <a
+   href="#browsing1">browsing context</a> must be that <a
+   href="#browsing1">browsing context</a>.
 
+  <p>Otherwise, the script is not executed and its return value is void.
+
   <p>If the result of executing the script is void (there is no return
    value), then the URL must be treated in a manner equivalent to an HTTP
    resource with an HTTP 204 No Content response.

Modified: source
===================================================================
--- source	2008-08-05 07:51:18 UTC (rev 1998)
+++ source	2008-08-05 07:54:39 UTC (rev 1999)
@@ -29648,13 +29648,17 @@
   the <span>script browsing context</span> must be the <span>browsing
   context</span> being <span title="navigate">navigated</span>.</p>
 
-  <p>Otherwise, the <span>script execution context</span> must be an
-  empty object, and the <span>script execution context</span>'s
-  associated <span>browsing context</span> must be the <span>browsing
-  context</span> of the <code>Document</code> object of the element,
+  <p>Otherwise, if the <code>Document</code> object of the element,
   attribute, or style sheet from which the <code>javascript:</code>
-  URL was reached.</p>
+  URL was reached has an associated <span>browsing context</span>, the
+  <span>script execution context</span> must be an empty object, and
+  the <span>script execution context</span>'s associated
+  <span>browsing context</span> must be that <span>browsing
+  context</span>.</p>
 
+  <p>Otherwise, the script is not executed and its return value is
+  void.</p>
+
   <p>If the result of executing the script is void (there is no return
   value), then the URL must be treated in a manner equivalent to an
   HTTP resource with an HTTP 204 No Content response.</p>




More information about the Commit-Watchers mailing list