mirror of
https://github.com/servo/servo.git
synced 2025-08-01 19:50:30 +01:00
Add test for createDocument(). [Issue#5754].
This commit is contained in:
parent
ccc77caa79
commit
72ab06a6ec
1 changed files with 4 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue