Index: LayoutTests/svg/dom/script-tests/SVGViewSpec.js |
diff --git a/LayoutTests/svg/dom/script-tests/SVGViewSpec.js b/LayoutTests/svg/dom/script-tests/SVGViewSpec.js |
index ff7ad3adcfe0de0957f17b92d5b138e4e4fbfd87..f093933628bd9fa306bd6157a5e99daf98c60098 100644 |
--- a/LayoutTests/svg/dom/script-tests/SVGViewSpec.js |
+++ b/LayoutTests/svg/dom/script-tests/SVGViewSpec.js |
@@ -1,17 +1,10 @@ |
description("This test checks the SVGViewSpec API, operating on a parsed viewSpec"); |
-if (window.testRunner) |
+window.jsTestIsAsync = true; |
+if (window.testRunner) { |
testRunner.waitUntilDone(); |
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(); |
} |
// Load an external file to test svgView() handling. |