mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +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");
|
}, "implementation.createDocumentType");
|
||||||
|
|
||||||
test(function() {
|
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");
|
}, "implementation.createDocument");
|
||||||
|
|
||||||
test(function() {
|
test(function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue