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

Unified Diff: LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.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/embedded-svg-immediate-offsetWidth-query.html
diff --git a/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html b/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
index bba30d806446a6933aae7fa129d842e90fa5f239..2e6729f10e0a81ab7c280ec8624783a3b441aaf2 100644
--- a/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
+++ b/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html
@@ -4,22 +4,7 @@
<script src="../../fast/js/resources/js-test-pre.js"></script>
<script src="../../fast/repaint/resources/repaint.js"></script>
<script type="text/javascript">
- 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);
- }
-
function repaintTest() {
- if (window.testRunner)
- testRunner.waitUntilDone();
-
// Test initial reported offsetWidth is 0, as we're not in the tree yet.
newObject = document.createElement("object");
newObject.setAttribute("style", "border: 1px black solid; background: red");
@@ -36,8 +21,6 @@
newObject.setAttribute("data", "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDAiIGhlaWdodD0iMjAwIj48cmVjdCB3aWR0aD0iNDAwIiBoZWlnaHQ9IjIwMCIgZmlsbD0iZ3JlZW4iLz48L3N2Zz4=");
shouldBe("newObject.offsetWidth", "502");
shouldBe("newObject.offsetWidth", "502");
-
- completeTest();
}
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698