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> |