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

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

Issue 2452073002: Freeze global prototype chain per WebIDL (Closed)
Patch Set: Test improvements Created 4 years, 1 month 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
(Empty)
1
2 Tests that making other frame window a prototype doesn't expose that window meth ods
3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5
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..
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..
10 PASS this.wasInvoked is false
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698