| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |