OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="/js-test-resources/js-test-pre.js"></script> | 4 <script src="/js-test-resources/js-test-pre.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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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;', ex)
; |
63 } | 63 } |
64 | 64 |
65 finishJSTest(); | 65 finishJSTest(); |
66 }; | 66 }; |
67 </script> | 67 </script> |
68 <script src="/js-test-resources/js-test-post.js"></script> | |
69 </body> | 68 </body> |
70 </html> | 69 </html> |
OLD | NEW |