Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-origin-window-open-exception-expected.txt

Issue 2439013002: Implement cross-origin attributes using access check interceptors. (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Cross-origin access to 'window.open' and 'window.opener' should throw a Security Error. 1 Cross-origin access to 'window.open' and 'window.opener' should throw a Security Error.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS frame.contentWindow.open() threw exception SecurityError: Blocked a frame w ith origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 6 PASS frame.contentWindow.open() threw exception SecurityError: Blocked a frame w ith origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
7 PASS frame.contentWindow.opener = 1; threw exception SecurityError: Failed to se t the 'opener' property on 'Window': Blocked a frame with origin "http://127.0.0 .1:8000" from accessing a cross-origin frame.. 7 FAIL frame.contentWindow.opener = 1; should throw SecurityError: Failed to set t he 'opener' property on 'Window': Blocked a frame with origin "http://127.0.0.1: 8000" from accessing a cross-origin frame.. Threw exception SecurityError: Block ed a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fra me..
8 PASS successfullyParsed is true 8 PASS successfullyParsed is true
9 9
10 TEST COMPLETE 10 TEST COMPLETE
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698