OLD | NEW |
---|---|
(Empty) | |
1 <script> | |
2 if (window.testRunner) | |
3 testRunner.dumpAsText(); | |
4 | |
5 window[0] = { | |
6 a: "1", | |
7 f: function() { | |
8 alert("FAIL: Child called parent.f()"); | |
9 } | |
10 }; | |
11 </script> | |
12 <iframe src="data:text/html,<script>alert(parent[0].a);</script><script>parent[0 ].f();</script>"></iframe><br> | |
adamk
2013/07/22 23:19:28
Does this load synchronously? If not, you may need
abarth-chromium
2013/07/22 23:24:52
Nope. The only frames that load synchronously are
| |
13 This test passes if the access is forbidden. | |
OLD | NEW |