Update web-platform-tests to revision 0159b3ec9ba5355a3340621226e02ae026effd7f

This commit is contained in:
Ms2ger 2015-09-22 16:41:09 +02:00
parent d588ce8d85
commit 43a50e298a
37 changed files with 1341 additions and 62 deletions

View file

@ -103,13 +103,20 @@ test(function() {
var doc = document.implementation.createDocument(namespace, qualifiedName, doctype)
assert_equals(doc.compatMode, "CSS1Compat")
assert_equals(doc.characterSet, "UTF-8")
assert_equals(doc.inputEncoding, "UTF-8")
assert_equals(doc.contentType, "application/xml")
assert_equals(doc.URL, "about:blank")
assert_equals(doc.documentURI, "about:blank")
assert_equals(doc.createElement("DIV").localName, "DIV");
}, "createDocument test " + i + ": metadata for " +
[namespace, qualifiedName, doctype].map(function(el) { return format_value(el) }))
test(function() {
var doc = document.implementation.createDocument(namespace, qualifiedName, doctype)
assert_equals(doc.characterSet, "UTF-8", "characterSet");
assert_equals(doc.charset, "UTF-8", "charset");
assert_equals(doc.inputEncoding, "UTF-8", "inputEncoding");
}, "createDocument test " + i + ": characterSet aliases for " +
[namespace, qualifiedName, doctype].map(function(el) { return format_value(el) }))
}
})
})