Re: [dom3core] WRONG_DOCUMENT_ERR

On Friday 2005-12-02 19:05 -0700, Ray Whitmer wrote:
> On Dec 2, 2005, at 12:26 PM, Maciej Stachowiak wrote:
> >Firefox has the implicit adoption behavior. I am surprised you  
> >don't know.
> 
> Expect me to continue to respond to your ongoing jabs with my own  
> questioning of your own knowledge, if I continue to respond at all.
> 
> I am relatively certain Firefox does not have implicit adoption in  
> some cases and therefore benefits from exceptions being thrown, as I  
> have explained several times now.  Now, should I say that I am or  

Mozilla trunk and 1.7 branch throw WRONG_DOCUMENT_ERR in exactly one
case:  when DOMImplementation::createDocument is called with a non-null
doctype parameter whose ownerDocument is non-null.

That said, the implicit adoption behavior may not be bug-free.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Saturday, 3 December 2005 09:06:57 UTC