| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script src="../../js/resources/js-test-pre.js"></script> | 3 <script src="../../../resources/js-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) | 5 if (window.testRunner) |
| 6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
| 7 | 7 |
| 8 window.addEventListener('message', function(evt) { | 8 window.addEventListener('message', function(evt) { |
| 9 shouldBeEqualToString("frames[0].frames[0].document.body.textContent", "DONE
\n"); | 9 shouldBeEqualToString("frames[0].frames[0].document.body.textContent", "DONE
\n"); |
| 10 | 10 |
| 11 if (window.testRunner) | 11 if (window.testRunner) |
| 12 testRunner.notifyDone(); | 12 testRunner.notifyDone(); |
| 13 }, false); | 13 }, false); |
| 14 </script> | 14 </script> |
| 15 <iframe srcdoc=" | 15 <iframe srcdoc=" |
| 16 Waiting... | 16 Waiting... |
| 17 <iframe seamless | 17 <iframe seamless |
| 18 srcdoc=' | 18 srcdoc=' |
| 19 <script> | 19 <script> |
| 20 window.location.replace("resources/done.html"); | 20 window.location.replace("resources/done.html"); |
| 21 </script> | 21 </script> |
| 22 '> | 22 '> |
| 23 </iframe> | 23 </iframe> |
| 24 "></iframe> | 24 "></iframe> |
| OLD | NEW |