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

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

Issue 2485113002: Remove currentView, useCurrentView properties of SVGSVGElement and SVGViewSpec interface (Closed)
Patch Set: rebased Created 4 years, 1 month 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: third_party/WebKit/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html b/third_party/WebKit/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
deleted file mode 100644
index 890fee1b84376eaf05736f188bffec0f68720ccb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<div id="container"><svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"/></div>
-<script>
- description("Confirm that null is returned when an SVGViewSpec is used after its corresponding element has been removed.");
-
- successfullyParsed = false;
-
- testRunner.waitUntilDone;
- window.jsTestIsAsync = true;
-
- var svgView = document.getElementById("container").childNodes[0].currentView;
- document.getElementById("container").removeChild(document.getElementById("container").childNodes[0]);
-
- asyncGC(function() {
- shouldBeNonNull("svgView.preserveAspectRatio;");
- shouldBeNonNull("svgView.transform;");
- shouldBeNull("svgView.viewTarget;");
- shouldNotThrow("svgView.viewBox;");
- shouldBeEqualToString("svgView.preserveAspectRatioString", "xMidYMid meet");
- shouldBeEqualToString("svgView.transformString", "");
- shouldBeEqualToString("svgView.viewBoxString", "0 0 0 0");
- finishJSTest();
- });
-
- successfullyParsed = true;
-
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698