[html5] r2069 - [] (0) Don't require Document.location to do anything when the Document isn't in [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Aug 12 17:43:40 PDT 2008
Author: ianh
Date: 2008-08-12 17:43:39 -0700 (Tue, 12 Aug 2008)
New Revision: 2069
Modified:
index
source
Log:
[] (0) Don't require Document.location to do anything when the Document isn't in a Window.
Modified: index
===================================================================
--- index 2008-08-13 00:41:09 UTC (rev 2068)
+++ index 2008-08-13 00:43:39 UTC (rev 2069)
@@ -35929,15 +35929,16 @@
<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
Modified: source
===================================================================
--- source 2008-08-13 00:41:09 UTC (rev 2068)
+++ source 2008-08-13 00:43:39 UTC (rev 2069)
@@ -33329,15 +33329,15 @@
<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
More information about the Commit-Watchers
mailing list