4 if (!window
.sessionStorage
)
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();
17 sessionStorage
.testCompleted
= true;
18 document
.location
.reload(true);
22 window
.addEventListener('load', runTest
, false);
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>