Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (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 2c70f6c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 11 deletions.
15 changes: 9 additions & 6 deletions index
Expand Up @@ -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
Expand Down
14 changes: 9 additions & 5 deletions source
Expand Up @@ -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
Expand Down

0 comments on commit 2c70f6c

Please sign in to comment.