mirror of
https://github.com/servo/servo.git
synced 2025-08-21 05:15:33 +01:00
Update web-platform-tests to revision 7f2f85a88f434798e9d643427b34b05fab8278c6
This commit is contained in:
parent
6b1a08c051
commit
73bc5cf1b8
180 changed files with 5807 additions and 169 deletions
|
@ -120,4 +120,14 @@ test(function() {
|
|||
}
|
||||
})
|
||||
})
|
||||
|
||||
test(function() {
|
||||
assert_throws(new TypeError(), function() {
|
||||
document.implementation.createDocument()
|
||||
}, "createDocument() should throw")
|
||||
|
||||
assert_throws(new TypeError(), function() {
|
||||
document.implementation.createDocument('')
|
||||
}, "createDocument('') should throw")
|
||||
}, "createDocument with missing arguments");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue