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

Unified Diff: third_party/WebKit/LayoutTests/svg/dom/SVGStaticListTearOff-contextElement-crash.html

Issue 2522443002: Remove SVGCursorElement (Closed)
Patch Set: Rebase Created 4 years 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/SVGStaticListTearOff-contextElement-crash.html
diff --git a/third_party/WebKit/LayoutTests/svg/dom/SVGStaticListTearOff-contextElement-crash.html b/third_party/WebKit/LayoutTests/svg/dom/SVGStaticListTearOff-contextElement-crash.html
index a313a3d5c099823d299400dff0fb44394e68b543..b4083cb34634036baa7fb265003fa1f14c6e2621 100644
--- a/third_party/WebKit/LayoutTests/svg/dom/SVGStaticListTearOff-contextElement-crash.html
+++ b/third_party/WebKit/LayoutTests/svg/dom/SVGStaticListTearOff-contextElement-crash.html
@@ -5,16 +5,16 @@
if (window.testRunner)
testRunner.dumpAsText();
-var cursor = document.createElementNS("http://www.w3.org/2000/svg", "cursor");
-var cursorObservation = internals.observeGC(cursor);
-var staticList = cursor.requiredExtensions;
-cursor = null;
+var mask = document.createElementNS("http://www.w3.org/2000/svg", "mask");
+var maskObservation = internals.observeGC(mask);
+var staticList = mask.requiredExtensions;
+mask = null;
gc();
staticList.clear(); // This should not cause crash in ASAN.
-// cursor should be kept alive from "staticList"
-shouldBeFalse('cursorObservation.wasCollected');
+// mask should be kept alive from "staticList"
+shouldBeFalse('maskObservation.wasCollected');
</script>
This test passes if it doesn't crash in ASAN.
</body>

Powered by Google App Engine
This is Rietveld 408576698