Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / navigated-window-properties.html
blobe6fb989b18f508275af1f09b30d8a871d0e5d3b1
1 <!DOCTYPE html>
2 <title>Properties of a navigated window shouldn't crash</title>
4 <p>Accessing properties of a navigated window shouldn't crash</p>
6 <script>
7 if (window.testRunner) {
8 testRunner.waitUntilDone();
9 testRunner.dumpAsText();
13 var func;
14 function testPhase1() {
15 var subframe = document.getElementById("subframe");
16 func = subframe.contentWindow.testFunction;
17 subframe.src = "resources/navigated-window-prop-subframe2.html";
20 function testPhase2() {
21 func();
22 if (window.testRunner)
23 testRunner.notifyDone();
25 </script>
26 <iframe id="subframe" src="resources/navigated-window-prop-subframe1.html"></iframe>