| Index: LayoutTests/fast/canvas/webgl/resources/webgl-test.js
|
| diff --git a/LayoutTests/fast/canvas/webgl/resources/webgl-test.js b/LayoutTests/fast/canvas/webgl/resources/webgl-test.js
|
| index fd8d7be6477354c63e0f9762459290fa1a1492c6..28ced89014080cae3ad30d71c4c701ecf54c2320 100644
|
| --- a/LayoutTests/fast/canvas/webgl/resources/webgl-test.js
|
| +++ b/LayoutTests/fast/canvas/webgl/resources/webgl-test.js
|
| @@ -16,6 +16,7 @@ function initNonKhronosFramework(waitUntilDone) {
|
| testRunner.overridePreference("WebKitWebGLEnabled", "1");
|
| testRunner.dumpAsText();
|
| if (waitUntilDone) {
|
| + window.jsTestIsAsync = true;
|
| testRunner.waitUntilDone();
|
| }
|
| }
|
| @@ -28,14 +29,7 @@ function nonKhronosFrameworkNotifyDone() {
|
| }
|
|
|
| function finishTest() {
|
| - 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();
|
| }
|
|
|
| //
|
|
|