| Index: LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
|
| diff --git a/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html b/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
|
| index 2e3d2a141fd2a96a8b3539d6c3dc496ada069ca3..8aa074c472fc8d2a60f40ac5d9b84df2d78245fe 100644
|
| --- a/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
|
| +++ b/LayoutTests/fast/loader/create-frame-in-DOMContentLoaded.html
|
| @@ -14,6 +14,8 @@ function handleDOMContentLoadedEvent()
|
| frame = document.createElement("iframe");
|
| document.body.appendChild(frame);
|
| print("B) Exiting DOMContentLoaded event handler function.");
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| }
|
| function handleLoadEvent()
|
| {
|
| @@ -22,8 +24,10 @@ function handleLoadEvent()
|
| print("D) Exiting load event handler function.");
|
| print("Test passed if messages A, B, C, D were all in order and there was no crash.");
|
| }
|
| -if (window.testRunner)
|
| +if (window.testRunner) {
|
| testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| addEventListener("load", handleLoadEvent);
|
| addEventListener("DOMContentLoaded", handleDOMContentLoadedEvent);
|
| </script>
|
|
|