Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / layout-after-destruction.html
blob71891fa1b6b081d8c675281612fc17eb691aa56a
1 <script>
2 function runTest()
4 if (!window.sessionStorage)
5 return;
7 if (window.testRunner) {
8 testRunner.waitUntilDone();
9 testRunner.dumpAsText();
12 if (sessionStorage.testCompleted) {
13 delete sessionStorage.testCompleted;
14 if (window.testRunner)
15 testRunner.notifyDone();
16 } else {
17 sessionStorage.testCompleted = true;
18 document.location.reload(true);
22 window.addEventListener('load', runTest, false);
23 </script>
24 <p>This test should not assert on reload in a debug build.</p>
25 <div id="element">Element in top frame</div>
26 <iframe src="resources/layout-after-destruction-subframe.html"></iframe>
27 <iframe ></iframe>