Navigation Menu

Skip to content

Commit

Permalink
[] (0) Don't require Document.location to do anything when the Docume…
Browse files Browse the repository at this point in the history
…nt isn't in a Window.

git-svn-id: http://svn.whatwg.org/webapps@2069 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 13, 2008
1 parent fe12804 commit d6188a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions index
Expand Up @@ -35929,15 +35929,16 @@ style/default.css</pre>
<h4 id=the-location><span class=secno>5.8.4 </span>The <code><a
href="#location2">Location</a></code> interface</h4>

<p>Each <code>Document</code> object in a browsing context's session
history is associated with a unique instance of a <code><a
href="#location2">Location</a></code> object.
<p>Each <code>Document</code> object in a <a href="#browsing1">browsing
context</a>'s session history is associated with a unique instance of a
<code><a href="#location2">Location</a></code> object.

<p>The <dfn id=location0
title=dom-document-location><code>location</code></dfn> attribute of the
<code><a href="#htmldocument">HTMLDocument</a></code> interface must
return the <code><a href="#location2">Location</a></code> object for that
<code>Document</code> object.
<code>Document</code> object, if it is in a <span>browser context</span>,
and null otherwise.

<p>The <dfn id=location1 title=dom-location><code>location</code></dfn>
attribute of the <code><a href="#window">Window</a></code> interface must
Expand Down
10 changes: 5 additions & 5 deletions source
Expand Up @@ -33329,15 +33329,15 @@ style/default.css</pre>

<h4>The <code>Location</code> interface</h4>

<p>Each <code>Document</code> object in a browsing context's session
history is associated with a unique instance of a
<code>Location</code> object.</p>
<p>Each <code>Document</code> object in a <span>browsing
context</span>'s session history is associated with a unique
instance of a <code>Location</code> object.</p>

<p>The <dfn
title="dom-document-location"><code>location</code></dfn> attribute
of the <code>HTMLDocument</code> interface must return the
<code>Location</code> object for that <code>Document</code>
object.</p>
<code>Location</code> object for that <code>Document</code> object,
if it is in a <span>browser context</span>, and null otherwise.</p>

<p>The <dfn title="dom-location"><code>location</code></dfn>
attribute of the <code>Window</code> interface must return the
Expand Down

0 comments on commit d6188a9

Please sign in to comment.