blob: f8bed66738307ee99830f912712998c9eca7a53d [file] [log] [blame]
simon.fraser@apple.com47560da2011-10-21 03:02:05 +00001<html>
2 <head>
3 <style>
4 iframe {
5 visibility: hidden;
6 position: absolute;
7 }
8 </style>
9 <script>
rniwa@webkit.org18904132012-06-11 18:29:22 +000010 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
simon.fraser@apple.com47560da2011-10-21 03:02:05 +000013 }
14
15 // Called from subframe.
16 function testDone()
17 {
18 // This timeout is necessary to detect the hang.
19 window.setTimeout(function() {
20 document.getElementById('results').innerText = 'PASS: test did not hang.';
rniwa@webkit.org18904132012-06-11 18:29:22 +000021 if (window.testRunner)
22 testRunner.notifyDone();
simon.fraser@apple.com47560da2011-10-21 03:02:05 +000023 }, 0);
24 }
25 </script>
26 </head>
27 <body>
28 <p id="results">This test should not hang.</p>
29 <iframe src="../iframes/resources/enter-compositing-subframe.html"></iframe>
30 </body>
31</html>