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

Unified Diff: third_party/WebKit/LayoutTests/css3/filters/effect-reference-reset-style-delete-crash.html

Issue 2055733002: Clean up script-tests in css3/filters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix expectations for un-duped test Created 4 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
Index: third_party/WebKit/LayoutTests/css3/filters/effect-reference-reset-style-delete-crash.html
diff --git a/third_party/WebKit/LayoutTests/css3/filters/effect-reference-reset-style-delete-crash.html b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-reset-style-delete-crash.html
index 4273199a843ac130ea61b65c502eff9eb4bdc361..b2da5e7dab50300febad80117d9832a2fba4448b 100644
--- a/third_party/WebKit/LayoutTests/css3/filters/effect-reference-reset-style-delete-crash.html
+++ b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-reset-style-delete-crash.html
@@ -12,6 +12,15 @@
</filter>
</defs>
</svg>
- <script src="script-tests/effect-reference-delete-crash.js"></script>
+ <script>
+ description("Test that no crash occurs when a SVG filter is deleted that used to be referenced by an HTML element but is no longer.");
+
+ html = document.getElementById('html');
+ html.style = "";
+ svg = document.getElementById('svg');
+ svg.parentNode.removeChild(svg);
+
+ successfullyParsed = true;
+ </script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698