| OLD | NEW |
| 1 <iframe src="data:application/x-blink-test-plugin," id="f"></iframe> |
| 1 <script> | 2 <script> |
| 2 if (window.testRunner) { | 3 if (window.testRunner) { |
| 3 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
| 4 testRunner.waitUntilDone(); | 5 testRunner.waitUntilDone(); |
| 5 testRunner.setCanOpenWindows(true); | 6 testRunner.setCanOpenWindows(true); |
| 6 testRunner.setCloseRemainingWindowsWhenComplete(true); | 7 testRunner.setCloseRemainingWindowsWhenComplete(true); |
| 7 } | 8 } |
| 8 | 9 |
| 9 var win = window.open('data:application/x-blink-test-plugin,'); | |
| 10 setTimeout(function() { | 10 setTimeout(function() { |
| 11 win.location.reload(); | 11 document.getElementById("f").contentWindow.location.reload() |
| 12 setTimeout(function() { | 12 setTimeout(function() { |
| 13 if (window.testRunner) | 13 if (window.testRunner) |
| 14 testRunner.notifyDone(); | 14 testRunner.notifyDone(); |
| 15 }, 100); | 15 }, 100); |
| 16 }, 100); | 16 }, 100); |
| 17 </script> | 17 </script> |
| 18 This test passes if it doesn't crash. To run manually, please disable your | 18 This test passes if it doesn't crash. To run manually, please disable your |
| 19 popup blocker. | 19 popup blocker. |
| OLD | NEW |