- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 17 Jan 2012 22:23:54 +0000 (UTC)
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- cc: Simon Pieters <simonp@opera.com>, Ryosuke Niwa <rniwa@webkit.org>, Ehsan Akhgari <ehsan@mozilla.com>, W3C WebApps WG <public-webapps@w3.org>, Aryeh Gregor <ayg@aryeh.name>
On Tue, 17 Jan 2012, Boris Zbarsky wrote: > On 1/17/12 4:55 PM, Ian Hickson wrote: > > On Fri, 13 Jan 2012, Boris Zbarsky wrote: > > > On 1/13/12 2:37 AM, Simon Pieters wrote: > > > > HTML uses this concept in lots of places, e.g. > > > > http://www.whatwg.org/specs/web-apps/current-work/#cookie-free-document-object > > > > > > > > "A Document that has no browsing context." > > > > > > Ah, that's better than using defaultView (because behavior for > > > defaultView on navigation and such is not defined in the spec and is not > > > consistent across browsers). > > > > What's undefined about defaultView? > > The main question is what, if anything, happens to it on document unload > or destruction of the browsing context. If I read the spec right, > defaultView should just stay the same across those operations, but it's > not clear to me whether it's on purpose. It certainly doesn't match UAs > in all cases, but UAs don't match each other very well either. As currently specced, it should do the same as any random property that was set to the Window object's value when the Document was created. As in: // onload document.foo = window; I don't understand what isn't clear here. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 17 January 2012 22:24:28 UTC