Index: LayoutTests/fast/canvas/webgl/WebGLContextEvent.html |
diff --git a/LayoutTests/fast/canvas/webgl/WebGLContextEvent.html b/LayoutTests/fast/canvas/webgl/WebGLContextEvent.html |
index 240bb606a10d404738eab14432ed45aee200eebf..baeaa1dc57aa0065d9d7bbf78868a0fafe613c61 100644 |
--- a/LayoutTests/fast/canvas/webgl/WebGLContextEvent.html |
+++ b/LayoutTests/fast/canvas/webgl/WebGLContextEvent.html |
@@ -67,13 +67,7 @@ function runTest2() |
} |
function finish() { |
- var epilogue = document.createElement("script"); |
- epilogue.onload = function() { |
- if (window.nonKhronosFrameworkNotifyDone) |
- window.nonKhronosFrameworkNotifyDone(); |
- }; |
- epilogue.src = "../../js/resources/js-test-post.js"; |
- document.body.appendChild(epilogue); |
+ finishJSTest(); |
} |
</script> |