Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / security / resources / cross-frame-iframe-for-get-test.html
1 <html>
2 <head>
3     <script>
4         window.existingCustomProperty = 1; 
5         window.__proto__.windowPrototypeCustomProperty = 1; 
6         window.Object.prototype.objectPrototypeCustomProperty = 1;
7         window.location.customProperty = 1;
8         window.history.customProperty = 1;
9
10         window.onload = function()
11         {
12             window.parent.postMessage('start', '*');
13         }
14     </script>
15 </head>
16 <body>
17     <iframe name="testiframe" src="data:text/html,<p>test iframe</p>"></iframe>
18     <img name="testimage" src="data:image/jpg,">
19 </body>
20 </html>