Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / NodeList / resources / adoptNode-node-list-cache-subframe.html
blob46d3447fc8a27c725b84fe4f823272973ed15ef7
1 <script>
2 var doc = document.implementation.createHTMLDocument('a');
3 var b = document.createElement('b');
4 // Give it a node list cache on document
5 b.childNodes;
7 // Attach it to doc to update m_document
8 doc.adoptNode(b);
9 doc.body.appendChild(b);
10 doc.body.removeChild(b);
11 </script>
12 <p>Close the document to see if there's an assertion failure.</p>