-
darin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=19526 <rdar://problem/7431572> Reviewed by Sam Weinig. WebCore: Test: fast/dom/NodeList/adoptNode-node-list-cache.html * dom/Node.cpp: (WebCore::Node::setDocument): Call removeNodeListCache on the old document and addNodeListCache on the new one if moving a node that has node lists. LayoutTests: * fast/dom/NodeList/adoptNode-node-list-cache-expected.txt: Added. * fast/dom/NodeList/adoptNode-node-list-cache.html: Added. * fast/dom/NodeList/resources: Added. * fast/dom/NodeList/resources/adoptNode-node-list-cache-subframe.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
dc3f0ecf