HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2069

File a bug

SVNBugCommentTime (UTC)
2069Don't require Document.location to do anything when the Document isn't in a Window.2008-08-13 00:43
Index: source
===================================================================
--- source	(revision 2068)
+++ source	(revision 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

|