Skip to content

Commit

Permalink
Add test for createDocument(). [Issue#5754].
Browse files Browse the repository at this point in the history
  • Loading branch information
JayNakrani committed Apr 21, 2015
1 parent ccc77ca commit 72ab06a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/wpt/mozilla/tests/mozilla/node_cloneNode.html
Expand Up @@ -183,7 +183,10 @@
}, "implementation.createDocumentType");

test(function() {
// FIXME: https://github.com/mozilla/servo/issues/1509
var doc = document.implementation.createDocument(null, null);
var copy = doc.cloneNode();
check_copy(doc, copy, Document);
assert_equals(doc.contentType, copy.contentType);
}, "implementation.createDocument");

test(function() {
Expand Down

0 comments on commit 72ab06a

Please sign in to comment.