Skip to content
Permalink
Browse files
[] (0) define javascript: in Window-less environments
git-svn-id: http://svn.whatwg.org/webapps@1999 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 5, 2008
1 parent d1ad437 commit 2c70f6c432aa8be421890e6ac1a2cd9e0450dd37
Showing with 18 additions and 11 deletions.
  1. +9 −6 index
  2. +9 −5 source
15 index
@@ -32386,12 +32386,15 @@ JSURL: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
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
14 source
@@ -29648,12 +29648,16 @@ JSURL: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
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

0 comments on commit 2c70f6c

Please sign in to comment.