Move /platform/ios-simulator/accessibility tests to accessibility/ios-simulator/
[WebKit-https.git] / LayoutTests / tiled-drawing / scrolling / frames / orphaned-subtree.html
1 <!DOCTYPE html>\r
2 <html>\r
3 <head>\r
4     <script>\r
5         if (window.testRunner) {\r
6             testRunner.waitUntilDone();\r
7             testRunner.dumpAsText();\r
8             window.internals.settings.setScrollingTreeIncludesFrames(true);\r
9         }\r
10 \r
11         function childFrameTestDone()\r
12         {\r
13             // Avoid infinite reload in the non-DRT case.\r
14             if (window.location.search)\r
15                 return;\r
16 \r
17             window.location += '?done=true';\r
18         }\r
19         \r
20         function checkForDoneTest()\r
21         {\r
22             if (window.location.search) {\r
23                 if (window.testRunner)\r
24                     testRunner.notifyDone();\r
25             }\r
26         }\r
27         \r
28         window.addEventListener('load', checkForDoneTest, false);\r
29     </script>\r
30 </head>\r
31 <body>\r
32     <p>This test passes if it does not crash on the reload.</p>\r
33     <iframe id="iframe" src="resources/subframe-inside-fixed.html" scrolling="no" width="500" height="300"></iframe>\r
34 </body>\r
35 </html>\r