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

@@ -32,11 +32,17 @@ test(function() {
assert_equals(doc.documentURI, "about:blank");
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.createElement("DIV").localName, "DIV");
}, "new Document(): metadata")
test(function() {
var doc = new Document();
assert_equals(doc.characterSet, "UTF-8", "characterSet");
assert_equals(doc.charset, "UTF-8", "charset");
assert_equals(doc.inputEncoding, "UTF-8", "inputEncoding");
}, "new Document(): characterSet aliases")
test(function() {
var doc = new Document();
var a = doc.createElement("a");