| Index: LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
|
| diff --git a/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js b/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
|
| index b7f6d723fa6fd9304ce85b9c5e06cd56163f2cb8..5601d420d4c4ce978fdda1db92642e23c2c93cc7 100644
|
| --- a/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
|
| +++ b/LayoutTests/svg/dynamic-updates/resources/SVGTestCase.js
|
| @@ -19,6 +19,7 @@ function shouldHaveBBox(element, width, height)
|
| }
|
|
|
| function createSVGTestCase() {
|
| + window.jsTestIsAsync = true;
|
| if (window.testRunner)
|
| testRunner.waitUntilDone();
|
|
|
| @@ -31,6 +32,7 @@ function createSVGTestCase() {
|
| }
|
|
|
| function embedSVGTestCase(uri) {
|
| + window.jsTestIsAsync = true;
|
| if (window.testRunner)
|
| testRunner.waitUntilDone();
|
|
|
| @@ -60,13 +62,5 @@ function clickAt(x, y) {
|
| }
|
|
|
| function completeTest() {
|
| - var script = document.createElement("script");
|
| -
|
| - script.onload = function() {
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - };
|
| -
|
| - script.src = "../../fast/js/resources/js-test-post.js";
|
| - document.body.appendChild(script);
|
| + finishJSTest();
|
| }
|
|
|