Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / security / window-properties-pass.html
blob94eeed3efae9bfcff5684a93cfc066e05733c234
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 testRunner.dumpChildFramesAsText()
9 function test()
11 var frame = document.createElement('iframe');
12 frame.setAttribute('src', 'http://127.0.0.1:8000/security/resources/has-custom-property.html');
13 document.body.appendChild(frame);
14 var w = frame.contentWindow;
15 w.myProp = 1;
18 </script>
19 <body onload='test()'>
20 Test that window properties set for initial document are kept if security check passes