Index: LayoutTests/fast/canvas/webgl/canvas-test.html |
diff --git a/LayoutTests/fast/canvas/webgl/canvas-test.html b/LayoutTests/fast/canvas/webgl/canvas-test.html |
index 0ef144c1ed8cf77a1ad49d1abaa6e820b45c47bb..a6a0a02179a363339fd5ac06d2e50df6b832201a 100644 |
--- a/LayoutTests/fast/canvas/webgl/canvas-test.html |
+++ b/LayoutTests/fast/canvas/webgl/canvas-test.html |
@@ -173,20 +173,12 @@ if (!gl) { |
checkCanvasContentIs(0, 0, 0, 0); |
debug(""); |
- var epilogue = document.createElement("script"); |
- epilogue.onload = finish; |
- epilogue.src = "../../js/resources/js-test-post.js"; |
- document.body.appendChild(epilogue); |
+ |
+ finishJSTest(); |
} |
}, 1000/30); |
} |
-function finish() { |
- if (window.nonKhronosFrameworkNotifyDone) { |
- window.nonKhronosFrameworkNotifyDone(); |
- } |
-} |
- |
</script> |
<script> |
</script> |