Index: LayoutTests/fast/canvas/webgl/tex-image-with-format-and-type.html |
diff --git a/LayoutTests/fast/canvas/webgl/tex-image-with-format-and-type.html b/LayoutTests/fast/canvas/webgl/tex-image-with-format-and-type.html |
index 36bc36d78c4d996a7041a2cddf334d5e1e54219c..3802efd063f37b8d88c8e85079c5907d89409ce1 100644 |
--- a/LayoutTests/fast/canvas/webgl/tex-image-with-format-and-type.html |
+++ b/LayoutTests/fast/canvas/webgl/tex-image-with-format-and-type.html |
@@ -350,10 +350,8 @@ function maybeRunTests() |
for (var i = 0; i < testCases.length; ++i) |
runOneTest(testCases[i]); |
- var epilogue = document.createElement("script"); |
- epilogue.onload = finish; |
- epilogue.src = "../../js/resources/js-test-post.js"; |
- document.body.appendChild(epilogue); |
+ |
+ finishJSTest(); |
} |
function testCaseToString(testCase) |
@@ -425,12 +423,6 @@ function runOneTest(testCase) |
testFailed(testCase.description); |
} |
-function finish() { |
- if (window.nonKhronosFrameworkNotifyDone) { |
- window.nonKhronosFrameworkNotifyDone(); |
- } |
-} |
- |
//---------------------------------------------------------------------- |
// Wrappers for programmatic construction of Image, ImageData and raw texture data |
// |