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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-set-window-properties.html

Issue 91383002: Switch V8WindowCustom to the new-style ExceptionState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations. Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <iframe src="http://localhost:8080/security/resources/innocent-victim.html"> </iframe> 7 <iframe src="http://localhost:8080/security/resources/innocent-victim.html"> </iframe>
8 <script> 8 <script>
9 window.jsTestIsAsync = true; 9 window.jsTestIsAsync = true;
10 description("Certain window properties are readable cross-origin, but ou ght not be writable."); 10 description("Certain window properties are readable cross-origin, but ou ght not be writable.");
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 'screenX', 52 'screenX',
53 'screenY', 53 'screenY',
54 'scrollX', 54 'scrollX',
55 'scrollY', 55 'scrollY',
56 'scrollbars', 56 'scrollbars',
57 'self', 57 'self',
58 'statusbar', 58 'statusbar',
59 'toolbar' 59 'toolbar'
60 ]; 60 ];
61 for (var i = 0; i < ReplaceableProperties.length; i++) { 61 for (var i = 0; i < ReplaceableProperties.length; i++) {
62 shouldThrow('iWindow.' + ReplaceableProperties[i] + ' = 1;', ex) ; 62 shouldThrow('iWindow.' + ReplaceableProperties[i] + ' = 1;');
63 } 63 }
64 64
65 finishJSTest(); 65 finishJSTest();
66 }; 66 };
67 </script> 67 </script>
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698