blob: 3fa71a4d1bbdf86a6801b77f2667210c369b3e37 [file] [log] [blame]
Cross-origin access to 'window.open' and 'window.opener' should throw a SecurityError.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS frame.contentWindow.open() threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
PASS frame.contentWindow.opener = 1; threw exception SecurityError: Failed to set the 'opener' property on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
PASS successfullyParsed is true
TEST COMPLETE