blob: 51fe8ab438f320201d0f7b346c1bf815097237fb [file] [log] [blame]
CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match.
----- test getting values cross-frame using Object.prototype -----
PASS: Object.prototype.__lookupGetter__.call(targetFrame, 'myGetter'); should be 'undefined' and is.
PASS: Object.prototype.__lookupSetter__.call(targetFrame, 'mySetter'); should be 'undefined' and is.
PASS: Object.prototype.propertyIsEnumerable.call(targetFrame, 'myProp'); should be 'false' and is.
--------
Frame: 'target'
--------
----- test that functions could not be injected cross-frame using Object.prototype -----
PASS: window.hasOwnProperty('injectedGetter') should be 'false' and is.
PASS: window.__lookupGetter__('injectedGetter') should be 'undefined' and is.
PASS: window.hasOwnProperty('injectedSetter') should be 'false' and is.
PASS: window.__lookupSetter__('injectedSetter') should be 'undefined' and is.
PASS: window.injectedGetter should be 'undefined' and is.
PASS: window.injectedSetter = 1 should be '1' and is.