mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #9658 - nox:test-webidl, r=Ms2ger
Enable WebIDL tests from web-platform-tests <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9658) <!-- Reviewable:end -->
This commit is contained in:
commit
6c874c929f
5 changed files with 163 additions and 0 deletions
|
@ -47,3 +47,5 @@ skip: true
|
|||
skip: false
|
||||
[WebCryptoAPI]
|
||||
skip: false
|
||||
[WebIDL]
|
||||
skip: false
|
||||
|
|
|
@ -0,0 +1,101 @@
|
|||
[DOMException-constructor.html]
|
||||
type: testharness
|
||||
[new DOMException()]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException(): own-ness]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException(null)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException(undefined)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException(undefined): own-ness]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("foo")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("foo"): own-ness]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("bar", undefined)]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("bar", "NotSupportedError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("bar", "NotSupportedError"): own-ness]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("bar", "foo")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "IndexSizeError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "HierarchyRequestError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "WrongDocumentError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "InvalidCharacterError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "NoModificationAllowedError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "NotFoundError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "NotSupportedError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "InUseAttributeError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "InvalidStateError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "SyntaxError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "InvalidModificationError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "NamespaceError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "InvalidAccessError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "SecurityError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "NetworkError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "AbortError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "URLMismatchError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "QuotaExceededError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "TimeoutError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "InvalidNodeTypeError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMexception("msg", "DataCloneError")]
|
||||
expected: FAIL
|
||||
|
||||
[new DOMException("bar", "UnknownError")]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
[constructor-object.html]
|
||||
type: testharness
|
||||
[existence and properties of DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[existence and properties of DOMException.prototype]
|
||||
expected: FAIL
|
||||
|
||||
[existence of name and code properties on DOMException.prototype]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
[constructor-object.worker]
|
||||
type: testharness
|
||||
[existence and properties of DOMException]
|
||||
expected: FAIL
|
||||
|
||||
[existence and properties of DOMException.prototype]
|
||||
expected: FAIL
|
||||
|
||||
[existence of name and code properties on DOMException.prototype]
|
||||
expected: FAIL
|
||||
|
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue