| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../../resources/js-test.js"></script> |
| 5 <script> | 5 <script> |
| 6 description('Tests inert node focusing across frames and iframes.'); | 6 description('Tests inert node focusing across frames and iframes.'); |
| 7 if (window.testRunner) | 7 if (window.testRunner) |
| 8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
| 9 </script> | 9 </script> |
| 10 </head> | 10 </head> |
| 11 <iframe height=400 width=600 id="main-iframe"> | 11 <iframe height=400 width=600 id="main-iframe"> |
| 12 <frameset rows="*" cols="50,50"> | 12 <frameset rows="*" cols="50,50"> |
| 13 <frame src="resources/inert-focus-in-frames-frame1.html"> | 13 <frame src="resources/inert-focus-in-frames-frame1.html"> |
| 14 <frame src='data:text/html,<div id="frame2-div" class="target" tabindex="0">
Hello</div>'> | 14 <frame src='data:text/html,<div id="frame2-div" class="target" tabindex="0">
Hello</div>'> |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 var mainIframe = document.getElementById('main-iframe'); | 62 var mainIframe = document.getElementById('main-iframe'); |
| 63 mainIframe.contentDocument.write(mainIframe.textContent); | 63 mainIframe.contentDocument.write(mainIframe.textContent); |
| 64 mainIframe.contentDocument.close(); | 64 mainIframe.contentDocument.close(); |
| 65 | 65 |
| 66 mainIframe.contentWindow.frames[1].window.onload = frameLoaded; | 66 mainIframe.contentWindow.frames[1].window.onload = frameLoaded; |
| 67 | 67 |
| 68 window.onload = frameLoaded; | 68 window.onload = frameLoaded; |
| 69 </script> | 69 </script> |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| OLD | NEW |