blob: 46d3447fc8a27c725b84fe4f823272973ed15ef7 [file] [log] [blame]
<script>
var doc = document.implementation.createHTMLDocument('a');
var b = document.createElement('b');
// Give it a node list cache on document
b.childNodes;
// Attach it to doc to update m_document
doc.adoptNode(b);
doc.body.appendChild(b);
doc.body.removeChild(b);
</script>
<p>Close the document to see if there's an assertion failure.</p>