| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script> | 4 <script> |
| 5 if (window.testRunner) { | 5 if (window.testRunner) { |
| 6 window.testRunner.dumpAsText(); | 6 window.testRunner.dumpAsText(); |
| 7 window.testRunner.waitUntilDone(); | 7 window.testRunner.waitUntilDone(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 function finish() { | 10 function finish() { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 document.addEventListener('webkitvisibilitychange', h
andleVisibilityChange, false);"; | 37 document.addEventListener('webkitvisibilitychange', h
andleVisibilityChange, false);"; |
| 38 | 38 |
| 39 if (window.testRunner) | 39 if (window.testRunner) |
| 40 testRunner.setPageVisibility("hidden"); | 40 testRunner.setPageVisibility("hidden"); |
| 41 | 41 |
| 42 // Many platforms don't support the page visibility api. For those, just bail ou
t. | 42 // Many platforms don't support the page visibility api. For those, just bail ou
t. |
| 43 setTimeout("finish()", 10); | 43 setTimeout("finish()", 10); |
| 44 </script> | 44 </script> |
| 45 </body> | 45 </body> |
| 46 </html> | 46 </html> |
| OLD | NEW |