Enable WebIDL tests from web-platform-tests

This commit is contained in:
Anthony Ramine
2016-02-16 17:33:10 +01:00
parent 5f8cfcd512
commit 3222a0ecd0
5 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
[exceptions.html]
type: testharness
[exception.hasOwnProperty("name")]
expected: FAIL
[Object.getOwnPropertyDescriptor(exception, "name")]
expected: FAIL
[typeof exception.message === "string"]
expected: FAIL
[Object.getOwnPropertyDescriptor(exception, "code")]
expected: FAIL
[In iframe: Object.getPrototypeOf(exception) === DOMException.prototype]
expected: FAIL
[In iframe: exception.hasOwnProperty("name")]
expected: FAIL
[In iframe: exception.name === "HierarchyRequestError"]
expected: FAIL
[In iframe: Object.getOwnPropertyDescriptor(exception, "name")]
expected: FAIL
[In iframe: Object.getOwnPropertyDescriptor(exception, "message")]
expected: FAIL
[In iframe: Object.prototype.toString.call(exception) === "[object DOMException\]"]
expected: FAIL
[In iframe: exception.code === DOMException.HIERARCHY_REQUEST_ERR]
expected: FAIL
[In iframe: Object.getOwnPropertyDescriptor(exception, "code")]
expected: FAIL