Update web-platform-tests to revision 58133dd71b16037669a0aa011b2afd448b52d434.

This commit is contained in:
Ms2ger 2015-08-11 17:14:59 +02:00
parent 84c4a26e4d
commit 88ea7c4291
192 changed files with 50802 additions and 1334 deletions

View file

@ -43,6 +43,17 @@ function testNode(create, type) {
assert_equals(node.substringData(4, 1), "")
}, type + ".substringData() with in-bounds offset")
test(function() {
var node = create()
assert_equals(node.data, "test")
assert_equals(node.substringData(0, 0), "")
assert_equals(node.substringData(1, 0), "")
assert_equals(node.substringData(2, 0), "")
assert_equals(node.substringData(3, 0), "")
assert_equals(node.substringData(4, 0), "")
}, type + ".substringData() with zero count")
test(function() {
var node = create()
assert_equals(node.data, "test")