WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
71126
Shadow DOM throws WRONG_DOCUMENT_ERR
https://bugs.webkit.org/show_bug.cgi?id=71126
Summary
Shadow DOM throws WRONG_DOCUMENT_ERR
Ojan Vafai
Reported
2011-10-28 11:37:51 PDT
We are killing WRONG_DOCUMENT_ERR across the web platform. The only places WebKit still fires this event are in DOM Ranges and in shadow DOM's validation after
http://trac.webkit.org/changeset/90026
. The correct thing to do if the shadowRoot's document is different than the one it's being set to is to do the adoptNode. See ContainerNode::insertBefore for an example. I believe it's the setTreeScopeRecursively call that does it.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2019-10-04 22:32:20 PDT
We don't do this anymore.
Radar WebKit Bug Importer
Comment 2
2019-10-04 22:33:14 PDT
<
rdar://problem/56003852
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug