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

Unified Diff: LayoutTests/svg/as-object/nested-embedded-svg-size-changes.html

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/as-object/nested-embedded-svg-size-changes.html
diff --git a/LayoutTests/svg/as-object/nested-embedded-svg-size-changes.html b/LayoutTests/svg/as-object/nested-embedded-svg-size-changes.html
index 7b5ddda12c7e972bd67ba8d93ba4255a721b8dd0..e80d7d46cd7903860d166999757152f9005d42ad 100644
--- a/LayoutTests/svg/as-object/nested-embedded-svg-size-changes.html
+++ b/LayoutTests/svg/as-object/nested-embedded-svg-size-changes.html
@@ -23,6 +23,7 @@
shouldBeEqualToString("document.defaultView.getComputedStyle(object1).width", "400px");
shouldBeEqualToString("document.defaultView.getComputedStyle(object1).height", "200px");
+ window.jsTestIsAsync = true;
if (window.testRunner)
testRunner.waitUntilDone();
requestSizeChange();
@@ -56,18 +57,7 @@
debug("");
debug("Test passed if you see two green rectangles");
- completeTest();
- }
-
- 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();
}
</script>

Powered by Google App Engine
This is Rietveld 408576698