mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
test: update expectations
No improvements are seen in `/html/browsers/origin/cross-origin- objects/cross-origin-objects.html` because each included test case tests both `Location` and `WindowProxy`, the latter of which isn't implemented correctly yet. In fact, the first test case "Basic sanity- checking" passes if it's reduced to only check `Location` as follows: addTest(function(win) { assert_equals(B.location.pathname, path, "location.href works same-origin"); assert_throws("SecurityError", function() { win.location.pathname; }, "location.pathname throws cross-origin"); }, "Basic sanity-checking");
This commit is contained in:
parent
bdd20f0139
commit
80cda12a87
7 changed files with 0 additions and 108 deletions
|
@ -1,14 +1,4 @@
|
|||
[allow_prototype_cycle_through_location.sub.html]
|
||||
type: testharness
|
||||
[same-origin, same-window location cycle]
|
||||
expected: FAIL
|
||||
|
||||
[cross-origin location has null prototype]
|
||||
expected: FAIL
|
||||
|
||||
[same-origin, different-window location cycle]
|
||||
expected: FAIL
|
||||
|
||||
[cross-origin, but joined via document.domain, location cycle]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[location-prevent-extensions.html]
|
||||
[Object.preventExtensions throws a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Reflect.preventExtensions returns false]
|
||||
expected: FAIL
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[location-prototype-setting-cross-origin-domain.sub.html]
|
||||
type: testharness
|
||||
[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 __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin via document.domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin via document.domain: the prototype must still be its original value]
|
||||
expected: FAIL
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
[location-prototype-setting-cross-origin.sub.html]
|
||||
type: testharness
|
||||
[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 __proto__ should throw a "SecurityError" since it ends up in CrossOriginGetOwnProperty]
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
[location-prototype-setting-goes-cross-origin-domain.sub.html]
|
||||
type: testharness
|
||||
[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 __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 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
|
||||
|
||||
[Became cross-origin via document.domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Became cross-origin via document.domain: setting the prototype to the original value from before going cross-origin via Object.setPrototypeOf should throw a TypeError]
|
||||
expected: FAIL
|
|
@ -1,10 +0,0 @@
|
|||
[location-prototype-setting-same-origin-domain.sub.html]
|
||||
type: testharness
|
||||
[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 an empty object via Object.setPrototypeOf should throw a TypeError]
|
||||
expected: FAIL
|
||||
[Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError]
|
||||
expected: FAIL
|
||||
[Same-origin-domain: the prototype must still be its original value]
|
||||
expected: FAIL
|
|
@ -1,13 +0,0 @@
|
|||
[location-prototype-setting-same-origin.html]
|
||||
type: testharness
|
||||
[Same-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin: setting the prototype to an empty object via __proto__ should throw a TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin: the prototype must still be its original value]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue