Skip to content

Commit

Permalink
Update test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang committed May 2, 2018
1 parent 249e8a5 commit acd4e21
Show file tree
Hide file tree
Showing 34 changed files with 89 additions and 217 deletions.

This file was deleted.

75 changes: 0 additions & 75 deletions tests/wpt/metadata/WebIDL/current-realm.html.ini
@@ -1,62 +1,5 @@
[current-realm.html]
type: testharness
[querySelectorAll]
expected: FAIL

[createElement]
expected: FAIL

[createElementNS]
expected: FAIL

[createDocumentFragment]
expected: FAIL

[createTextNode]
expected: FAIL

[createComment]
expected: FAIL

[createProcessingInstruction]
expected: FAIL

[createAttribute]
expected: FAIL

[createAttributeNS]
expected: FAIL

[createEvent]
expected: FAIL

[createRange]
expected: FAIL

[createNodeIterator]
expected: FAIL

[createTreeWalker]
expected: FAIL

[getElementsByTagName]
expected: FAIL

[getElementsByTagNameNS]
expected: FAIL

[getElementsByClassName]
expected: FAIL

[createDocumentType]
expected: FAIL

[createDocument]
expected: FAIL

[createHTMLDocument]
expected: FAIL

[NamedNodeMap item]
expected: FAIL

Expand All @@ -66,24 +9,6 @@
[NamedNodeMap getNamedItemNS]
expected: FAIL

[splitText]
expected: FAIL

[extractContents]
expected: FAIL

[cloneContents]
expected: FAIL

[cloneRange]
expected: FAIL

[getContext 2d]
expected: FAIL

[getContext webgl]
expected: FAIL

[createImageData]
expected: FAIL

Expand Down
3 changes: 0 additions & 3 deletions tests/wpt/metadata/css/cssom-view/elementFromPoint.html.ini
@@ -1,7 +1,4 @@
[elementFromPoint.html]
[co-ordinates larger than the viewport from in iframe]
expected: FAIL

[SVG element at x,y]
expected: FAIL

Expand Down
13 changes: 2 additions & 11 deletions tests/wpt/metadata/css/cssom-view/elementsFromPoint.html.ini
@@ -1,13 +1,4 @@
[elementsFromPoint.html]
[co-ordinates larger than the viewport from in iframe]
expected: FAIL

[SVG element at x,y]
expected: FAIL

[transformed element at x,y]
expected: FAIL

[no hit target at x,y]
expected: FAIL
type: testharness
expected: CRASH

12 changes: 11 additions & 1 deletion tests/wpt/metadata/css/cssom-view/matchMedia.xht.ini
@@ -1,5 +1,15 @@
[matchMedia.xht]
type: testharness
[CSS Test: CSSOM View matchMedia and MediaQueryList]
[window.matchMedia exists]
expected: FAIL
[MediaQueryList.matches for "(max-width: 199px), all and (min-width: 200px)"]
expected: FAIL
[MediaQueryList.matches for "(min-aspect-ratio: 1/1)"]
expected: FAIL
[MediaQueryList.matches for "(width: 200px)"]
expected: FAIL
[MediaQueryList.matches for "(min-width: 150px)"]
expected: FAIL
[Resize iframe from 200x100 to 200x50, then to 100x50]
expected: FAIL

11 changes: 0 additions & 11 deletions tests/wpt/metadata/dom/nodes/Node-appendChild.html.ini

This file was deleted.

29 changes: 0 additions & 29 deletions tests/wpt/metadata/dom/nodes/Node-removeChild.html.ini

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,5 +1,6 @@
[same-url.html]
type: testharness
expected: TIMEOUT
[Test same-URL navigation and its effects on history]
expected: FAIL
expected: TIMEOUT

This file was deleted.

@@ -1,5 +1,15 @@
[location-prototype-setting-cross-origin-domain.sub.html]
type: testharness
[[[SetPrototypeOf\]\] on a Location object should not allow changing its value: cross-origin via document.domain]
[Cross-origin via document.domain: the prototype is null]
expected: FAIL
[Cross-origin via document.domain: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL
[Cross-origin via document.domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
expected: FAIL
[Cross-origin via document.domain: setting the prototype to its original value via Object.setPrototypeOf should not throw]
expected: FAIL
[Cross-origin via document.domain: setting the prototype to its original value via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty]
expected: FAIL
[Cross-origin via document.domain: setting the prototype to its original value via Reflect.setPrototypeOf should return true]
expected: FAIL

@@ -1,5 +1,17 @@
[location-prototype-setting-cross-origin.sub.html]
type: testharness
[[[SetPrototypeOf\]\] on a Location object should not allow changing its value: cross-origin]
[Cross-origin: the prototype is null]
expected: FAIL
[Cross-origin: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL
[Cross-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
expected: FAIL
[Cross-origin: the prototype must still be null]
expected: FAIL
[Cross-origin: setting the prototype to null via Object.setPrototypeOf should not throw]
expected: FAIL
[Cross-origin: setting the prototype to null via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty]
expected: FAIL
[Cross-origin: setting the prototype to null via Reflect.setPrototypeOf should return true]
expected: FAIL

@@ -1,5 +1,21 @@
[location-prototype-setting-goes-cross-origin-domain.sub.html]
type: testharness
[[[SetPrototypeOf\]\] on a Location object should not allow changing its value: cross-origin via document.domain after initially getting the object]
[Became cross-origin via document.domain: the prototype is now null]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL
[Became cross-origin via document.domain: the prototype must still be null]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to null via Object.setPrototypeOf should not throw]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to null via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to null via Reflect.setPrototypeOf should return true]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via Reflect.setPrototypeOf should return false]
expected: FAIL

@@ -1,5 +1,11 @@
[location-prototype-setting-same-origin-domain.sub.html]
type: testharness
[[[SetPrototypeOf\]\] on a Location object should not allow changing its value: cross-origin, but same-origin-domain]
[Same-origin-domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
expected: FAIL
[Same-origin-domain: setting the prototype to its original value via Object.setPrototypeOf should not throw]
expected: FAIL
[Same-origin-domain: setting the prototype to its original value via __proto__ should not throw]
expected: FAIL
[Same-origin-domain: setting the prototype to its original value via Reflect.setPrototypeOf should return true]
expected: FAIL

Expand Up @@ -2,7 +2,3 @@
type: testharness
[Indexed properties of the window object (non-strict mode) 1]
expected: FAIL

[Ensure indexed properties have the correct configuration]
expected: FAIL

Expand Up @@ -6,9 +6,6 @@
[Cross-origin via document.domain: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL

[Cross-origin via document.domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
expected: FAIL

[Cross-origin via document.domain: the prototype must still be null]
expected: FAIL

Expand Down
Expand Up @@ -6,9 +6,6 @@
[Cross-origin: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL

[Cross-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
expected: FAIL

[Cross-origin: the prototype must still be null]
expected: FAIL

Expand Down
@@ -1,5 +1,17 @@
[windowproxy-prototype-setting-goes-cross-origin-domain.sub.html]
type: testharness
[[[SetPrototypeOf\]\] on a WindowProxy object should not allow changing its value: cross-origin via document.domain after initially getting the object]
[Became cross-origin via document.domain: the prototype is now null]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to an empty object via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL
[Became cross-origin via document.domain: the prototype must still be null]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to null via Object.setPrototypeOf should not throw]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to null via __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to null via Reflect.setPrototypeOf should return true]
expected: FAIL
[Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via __proto__ should throw a "SecurityError" DOMException]
expected: FAIL

@@ -1,5 +1,9 @@
[windowproxy-prototype-setting-same-origin-domain.sub.html]
type: testharness
[[[SetPrototypeOf\]\] on a WindowProxy object should not allow changing its value: cross-origin, but same-origin-domain]
[Same-origin-domain: setting the prototype to its original value via Object.setPrototypeOf should not throw]
expected: FAIL
[Same-origin-domain: setting the prototype to its original value via __proto__ should not throw]
expected: FAIL
[Same-origin-domain: setting the prototype to its original value via Reflect.setPrototypeOf should return true]
expected: FAIL

This file was deleted.

@@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-2.html]
type: testharness
expected: ERROR
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

@@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html]
type: testharness
expected: ERROR
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

This file was deleted.

@@ -1,5 +1,6 @@
[083.html]
type: testharness
expected: ERROR
[ scheduler: event listener defined by script in a document in history]
expected: FAIL

@@ -1,5 +1,4 @@
[eventhandler-cancellation.html]
type: testharness
[event handler cancellation behavior]
expected: FAIL
expected: ERROR

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit acd4e21

Please sign in to comment.