[Webkit-unassigned] [Bug 91159] DOMImplementation::createDocument incorrectly throws a WRONG_DOCUMENT_ERR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 18 14:53:58 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=91159





--- Comment #7 from Alexey Proskuryakov <ap at webkit.org>  2012-07-18 14:53:57 PST ---
> It doesn't seem much weirder to me than appendChild/insertBefore though.

I think that it is more surprising - when you append/insert a node into a different document, you should not expect it to stay in original tree. But telling a new document what doctype to use does not feel like DOM manipulation on the doctype node.

> I don't see throwing an exception here as better.

I actually had cloning in mind, not even keeping our behavior. I think that testing what IE does would be the right next step.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list