10 if (window
.testRunner
) {
11 testRunner
.dumpAsText();
12 testRunner
.waitUntilDone();
15 // Called from subframe.
18 // This timeout is necessary to detect the hang.
19 window
.setTimeout(function() {
20 document
.getElementById('results').innerText
= 'PASS: test did not hang.';
21 if (window
.testRunner
)
22 testRunner
.notifyDone();
28 <p id=
"results">This test should not hang.
</p>
29 <iframe src=
"../iframes/resources/enter-compositing-subframe.html"></iframe>