Index: LayoutTests/fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html |
diff --git a/LayoutTests/fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html b/LayoutTests/fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html |
index 994de78b8c8a5b40280c0942f262cb2a858592ff..6b90f22b3058362d6ae6b3f5affae0daeb78d045 100644 |
--- a/LayoutTests/fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html |
+++ b/LayoutTests/fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html |
@@ -164,16 +164,7 @@ function runTest(antialias) |
runTestIteration(true); |
debug("Testing with antialias off"); |
runTestIteration(false); |
- var epilogue = document.createElement("script"); |
- epilogue.onload = finish; |
- epilogue.src = "../../js/resources/js-test-post.js"; |
- document.body.appendChild(epilogue); |
-} |
- |
-function finish() { |
- if (window.nonKhronosFrameworkNotifyDone) { |
- window.nonKhronosFrameworkNotifyDone(); |
- } |
+ finishJSTest(); |
} |
</script> |
</head> |