Index: LayoutTests/fast/html/object-image-nested-fallback.html |
diff --git a/LayoutTests/fast/html/object-image-nested-fallback.html b/LayoutTests/fast/html/object-image-nested-fallback.html |
index 132a282633e3ee8abbf10f945d1db44037c8622d..6728a84214e54981a06883548f4bd02a3eaecf3f 100644 |
--- a/LayoutTests/fast/html/object-image-nested-fallback.html |
+++ b/LayoutTests/fast/html/object-image-nested-fallback.html |
@@ -1,12 +1,20 @@ |
<html> |
<script> |
- if (window.testRunner) |
+ if (window.testRunner) { |
testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+ } |
+ |
+ function finish() |
+ { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ } |
</script> |
<body> |
<object type="image/png" data="this.object.does.not.exist.dtd"> |
<object type="image/png" data="this.object.does.not.exist.dtd"> |
- <object type="image/png" data="this.object.does.not.exist.dtd">PASS when no crash occurs.</object> |
+ <object type="image/png" data="this.object.does.not.exist.dtd" onerror="finish()">PASS when no crash occurs.</object> |
</object> |
</object> |
</body> |