Ian Hickson wrote: > On Wed, 5 Apr 2006, Jonas Sicking wrote: >> We definitely want to allow all Documents to implement DocumentWindow. I >> don't want to have two versions of every document class and have to >> worry about constructing the right one. > > Um, well, every browser I've tested already does it, and given the kind of > stuff that DocumentWindow has (.location, .cookie, .execCommand, etc), all > of which has to be neutered for these non-Windowed Documents, it seems > easiest to just remove the relevant members. At least Firefox does not. It implements nsIDOMNSDocument and nsIDOMNSHTMLDocument (which is the interfaces where we have these members) on all documents, and I strongly suspect there are other browsers that behave the same way. / JonasReceived on Thursday, 6 April 2006 00:15:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:54 GMT