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

Boris Zbarsky bzbarsky at MIT.EDU
Tue Dec 7 14:29:31 PST 2010

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.


More information about the whatwg mailing list