Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: LayoutTests/svg/dom/script-tests/SVGViewSpec.js

Issue 54473004: Make js-test-post a noop. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add mac NeedsRebaselines Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698