blob: b4ee711a206da102ec772f49f0fdea40aca65ec1 [file] [log] [blame]
CONSOLE MESSAGE: line 7: SecurityError: Attempted to use a non-registrable domain.
FAIL Same-origin-domain prerequisite check: the original prototype is accessible assert_not_equals: got disallowed value null
PASS Same-origin-domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError
FAIL Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws: function "function () {
target.__proto__ = newValue;
}" threw object "SecurityError: Blocked a frame with origin "http://localhost:8800" from accessing a cross-origin frame. Protocols, domains, and ports must match." ("SecurityError") expected object "TypeError" ("TypeError")
PASS Same-origin-domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false
PASS Same-origin-domain: the prototype must still be null
PASS Same-origin-domain: setting the prototype to null via Object.setPrototypeOf should not throw
FAIL Same-origin-domain: setting the prototype to null via __proto__ should not throw Blocked a frame with origin "http://localhost:8800" from accessing a cross-origin frame. Protocols, domains, and ports must match.
PASS Same-origin-domain: setting the prototype to null via Reflect.setPrototypeOf should return true