Index: LayoutTests/http/tests/misc/image-input-type-outlives-gc-without-crashing.html |
diff --git a/LayoutTests/http/tests/misc/image-input-type-outlives-gc-without-crashing.html b/LayoutTests/http/tests/misc/image-input-type-outlives-gc-without-crashing.html |
index 9b0136d361f87205220e186c99241394e72de7ac..7df3a4515d58fddc7f9bc396d24e7828a3cead4b 100644 |
--- a/LayoutTests/http/tests/misc/image-input-type-outlives-gc-without-crashing.html |
+++ b/LayoutTests/http/tests/misc/image-input-type-outlives-gc-without-crashing.html |
@@ -2,14 +2,16 @@ |
<script> |
if (window.testRunner) { |
- window.jsTestIsAsync = true; |
+ testRunner.waitUntilDone(); |
testRunner.dumpAsText(); |
} |
function loaded() { |
// If the garbage collection causes the image load to stop and therefore causes the load event to fire on the main frame, we failed. |
alert("FAIL: The load event fired"); |
- finishJSTest(); |
+ |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
} |
</script> |
@@ -26,7 +28,8 @@ This test has a form with an input type=image element in it. The form is wrappe |
function finished() { |
window.stop() |
- finishJSTest(); |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
} |
function forceGC() { |