| <html> | |
| <head><title>Tests testRunner.forceImmediateCompletion() dump moment, sync during load.</title></head> | |
| <body> | |
| <p id="log">Dumps immediately at call.</p> | |
| <script> | |
| testRunner.dumpAsText(); | |
| testRunner.waitUntilDone(); | |
| testRunner.forceImmediateCompletion(); | |
| log.innerHTML = "Dumps after leaving call scope."; | |
| window.onload = () => { | |
| log.innerHTML = "Dumps after leaving onload scope."; | |
| }; | |
| </script> | |
| </body> | |
| </html> |