Index: third_party/WebKit/LayoutTests/css3/filters/effect-reference-delete-crash.html |
diff --git a/third_party/WebKit/LayoutTests/css3/filters/effect-reference-delete-crash.html b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-delete-crash.html |
index 4273199a843ac130ea61b65c502eff9eb4bdc361..107236116811b44889d8d49fa67e73f9410275eb 100644 |
--- a/third_party/WebKit/LayoutTests/css3/filters/effect-reference-delete-crash.html |
+++ b/third_party/WebKit/LayoutTests/css3/filters/effect-reference-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 was referenced by a deleted HTML element."); |
+ |
+ html = document.getElementById('html'); |
+ html.parentNode.removeChild(html); |
+ svg = document.getElementById('svg'); |
+ svg.parentNode.removeChild(svg); |
+ |
+ successfullyParsed = true; |
+ </script> |
</body> |
</html> |