W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] location.reload() on document.open()ed documents

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 07 Dec 2010 17:29:31 -0500
Message-ID: <4CFEB54B.8090307@mit.edu>
On 12/7/10 5:10 PM, Ian Hickson wrote:
> Per spec, currently document.open() replaces the current page rather than
> allow navigation.

I believe there are cases where that would cause us to break compat. 
Note that neither IE nor Gecko does a replace load there, last I checked.

> I'm not sure how to allow navigation since the Document
> doesn't change but still can't be reused.

What Gecko ends up doing is creating a new Document when navigating 
history to or from a document.open() result.

-Boris
Received on Tuesday, 7 December 2010 14:29:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC