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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-method-with-iframe-proto-expected.txt

Issue 1360233007: bindings: Moves event handlers and methods of Window to the instance object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months 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 1
2 Tests that making other frame window a prototype doesn't expose that window meth ods 2 Tests that making other frame window a prototype doesn't expose that window meth ods
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS targetWindow.setTimeout(callback, 0, this); threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origi n frame.. 7 PASS targetWindow.setTimeout(callback, 0, this); threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origi n frame..
8 PASS setTimeout.call(targetWindow, callback, 0, this); threw exception SecurityE rror: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross -origin frame.. 8 PASS setTimeout.call(targetWindow, callback, 0, this); threw exception SecurityE rror: Failed to execute 'setTimeout' on 'Window': Blocked a frame with origin "h ttp://127.0.0.1:8000" from accessing a cross-origin frame..
9 PASS originalSetTimeout.call(targetWindow, callback, 0, this); threw exception S ecurityError: Failed to execute 'setTimeout' on 'Window': Blocked a frame with o rigin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 9 PASS originalSetTimeout.call(targetWindow, callback, 0, this); threw exception S ecurityError: Failed to execute 'setTimeout' on 'Window': Blocked a frame with o rigin "http://127.0.0.1:8000" from accessing a cross-origin frame..
10 PASS this.wasInvoked is false 10 PASS this.wasInvoked is false
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698