From d6188a9eababe014912c50b3e0143c00de2733de Mon Sep 17 00:00:00 2001 From: Ian Hickson Date: Wed, 13 Aug 2008 00:43:39 +0000 Subject: [PATCH] [] (0) Don't require Document.location to do anything when the Document isn't in a Window. git-svn-id: http://svn.whatwg.org/webapps@2069 340c8d12-0b0e-0410-8428-c7bf67bfef74 --- index | 9 +++++---- source | 10 +++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/index b/index index b7605898340..3ed352686e1 100644 --- a/index +++ b/index @@ -35929,15 +35929,16 @@ style/default.css

5.8.4 The Location interface

-

Each Document object in a browsing context's session - history is associated with a unique instance of a Location object. +

Each Document object in a browsing + context's session history is associated with a unique instance of a + Location object.

The location attribute of the HTMLDocument interface must return the Location object for that - Document object. + Document object, if it is in a browser context, + and null otherwise.

The location attribute of the Window interface must diff --git a/source b/source index 64fa642724d..30c67a1afb8 100644 --- a/source +++ b/source @@ -33329,15 +33329,15 @@ style/default.css

The Location interface

-

Each Document object in a browsing context's session - history is associated with a unique instance of a - Location object.

+

Each Document object in a browsing + context's session history is associated with a unique + instance of a Location object.

The location attribute of the HTMLDocument interface must return the - Location object for that Document - object.

+ Location object for that Document object, + if it is in a browser context, and null otherwise.

The location attribute of the Window interface must return the