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

Unified Diff: LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html

Issue 315893002: SVGViewSpec wrapper should keep its context SVGSVGElement wrapper alive. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
diff --git a/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html b/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
index f97b4b1818e2bb86483e95161d2f4bbee1f1a53c..890fee1b84376eaf05736f188bffec0f68720ccb 100644
--- a/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
+++ b/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
@@ -19,13 +19,13 @@
document.getElementById("container").removeChild(document.getElementById("container").childNodes[0]);
asyncGC(function() {
- shouldBeNull("viewPreserveAspectRatio = svgView.preserveAspectRatio;");
- shouldBeNull("viewTransform = svgView.transform;");
- shouldBeNull("viewViewTarget = svgView.viewTarget;");
- shouldNotThrow("viewViewBox = svgView.viewBox;");
- shouldBeEqualToString("svgView.preserveAspectRatioString", "");
+ shouldBeNonNull("svgView.preserveAspectRatio;");
+ shouldBeNonNull("svgView.transform;");
+ shouldBeNull("svgView.viewTarget;");
+ shouldNotThrow("svgView.viewBox;");
+ shouldBeEqualToString("svgView.preserveAspectRatioString", "xMidYMid meet");
shouldBeEqualToString("svgView.transformString", "");
- shouldBeEqualToString("svgView.viewBoxString", "");
+ shouldBeEqualToString("svgView.viewBoxString", "0 0 0 0");
finishJSTest();
});
« no previous file with comments | « no previous file | LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698