Remove tests/content/test_document_adoptNode.html.

It is already covered by:

  dom/nodes/Document-adoptNode.html
This commit is contained in:
Ms2ger 2014-11-09 23:37:35 +01:00
parent 182a9a70de
commit b4151550cb

View file

@ -1,23 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<script src="harness.js"></script>
</head>
<body>
<div id="foo"><div id="bar"></div></div>
<script>
let foo = document.getElementById("foo");
let doc = document.implementation.createHTMLDocument("title");
is(foo.ownerDocument, document);
let adopted_foo = doc.adoptNode(foo);
is(document.getElementById("foo"), null);
is(foo, adopted_foo);
is(foo.ownerDocument, doc);
is(foo.parentNode, null);
is(foo.childNodes.length, 1);
</script>
</body>
</html>