Update test expectations

This commit is contained in:
Keith Yeung 2018-04-30 02:54:44 -07:00
parent 249e8a575f
commit acd4e215ab
34 changed files with 89 additions and 217 deletions

View file

@ -1,5 +0,0 @@
[multi-global-origin-serialization.sub.html]
type: testharness
[Blob URL serialization (specifically the origin) in multi-global situations]
expected: FAIL

View file

@ -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
@ -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

View file

@ -1,7 +1,4 @@
[elementFromPoint.html]
[co-ordinates larger than the viewport from in iframe]
expected: FAIL
[SVG element at x,y]
expected: FAIL

View file

@ -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

View file

@ -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

View file

@ -1,11 +0,0 @@
[Node-appendChild.html]
type: testharness
[Appending a document]
expected: FAIL
[Adopting an orphan]
expected: FAIL
[Adopting a non-orphan]
expected: FAIL

View file

@ -1,29 +0,0 @@
[Node-removeChild.html]
type: testharness
[Passing a detached element from a frame document to removeChild should not affect it.]
expected: FAIL
[Passing a non-detached element from a frame document to removeChild should not affect it.]
expected: FAIL
[Calling removeChild on a element from a frame document with no children should throw NOT_FOUND_ERR.]
expected: FAIL
[Passing a detached text from a frame document to removeChild should not affect it.]
expected: FAIL
[Passing a non-detached text from a frame document to removeChild should not affect it.]
expected: FAIL
[Calling removeChild on a text from a frame document with no children should throw NOT_FOUND_ERR.]
expected: FAIL
[Passing a detached comment from a frame document to removeChild should not affect it.]
expected: FAIL
[Passing a non-detached comment from a frame document to removeChild should not affect it.]
expected: FAIL
[Calling removeChild on a comment from a frame document with no children should throw NOT_FOUND_ERR.]
expected: FAIL

View file

@ -1,5 +0,0 @@
[eventsource-constructor-url-multi-window.htm]
type: testharness
[EventSource: resolving URLs]
expected: FAIL

View file

@ -1,5 +0,0 @@
[eventsource-onmessage-realm.htm]
type: testharness
[the MessageEvent must be created in the Realm of the EventSource]
expected: FAIL

View file

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

View file

@ -1,5 +0,0 @@
[location-pathname-setter-question-mark.html]
type: testharness
[Set location.pathname to ?]
expected: FAIL

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,5 +0,0 @@
[iframe-marginwidth-marginheight.html]
type: testharness
[iframe marginwidth and marginheight]
expected: FAIL

View file

@ -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

View file

@ -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

View file

@ -1,5 +0,0 @@
[035.html]
type: testharness
[ scheduler: innerHTML adding frames with JS in and moving scripts]
expected: FAIL

View file

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

View file

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

View file

@ -1,6 +0,0 @@
[window-onerror-with-cross-frame-event-listeners-2.html]
type: testharness
bug: https://github.com/servo/servo/issues/3311
[The error event from an event listener should fire on that listener's global]
expected: FAIL

View file

@ -1,6 +0,0 @@
[window-onerror-with-cross-frame-event-listeners-3.html]
type: testharness
bug: https://github.com/servo/servo/issues/3311
[The error event from an event listener should fire on that listener's global]
expected: FAIL

View file

@ -1,8 +0,0 @@
[message-received.html]
type: testharness
[ArrayBuffer should be created in the relevant realm of the WebSocket]
expected: FAIL
[Blob should be created in the relevant realm of the WebSocket]
expected: FAIL

View file

@ -1,6 +1,6 @@
[document-domain.html]
type: testharness
bug: https://github.com/servo/servo/issues/934
expected: TIMEOUT
[localStorage and document.domain]
expected: FAIL
expected: TIMEOUT

View file

@ -1,3 +0,0 @@
[001.html]
type: testharness
expected: TIMEOUT

View file

@ -1,5 +1,6 @@
[open-url-multi-window-4.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: open() resolving URLs (multi-Window; 4; evil)]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[open-url-multi-window-5.htm]
type: testharness
[XMLHttpRequest: open() resolving URLs (multi-Window; 5)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[open-url-multi-window.htm]
type: testharness
[XMLHttpRequest: open() resolving URLs (multi-Window; 1)]
expected: FAIL