Chromium Code Reviews| Index: LayoutTests/css3/clippath/script-tests/clippath-reference-delete-crash.js |
| diff --git a/LayoutTests/css3/clippath/script-tests/clippath-reference-delete-crash.js b/LayoutTests/css3/clippath/script-tests/clippath-reference-delete-crash.js |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..5757c45084f6ae84b072871af1b61617a8e28b4b |
| --- /dev/null |
| +++ b/LayoutTests/css3/clippath/script-tests/clippath-reference-delete-crash.js |
| @@ -0,0 +1,11 @@ |
| +description("Test that no crash occurs when a SVG clippath is deleted that was referenced by a deleted HTML element."); |
|
esprehn
2014/08/06 17:25:09
Was this a bug before? I thought this patch was ad
|
| + |
| +setTimeout(function () { |
| + html = document.getElementById('html'); |
| + html.parentNode.removeChild(html); |
| + svg = document.getElementById('svg'); |
| + svg.parentNode.removeChild(svg); |
| + |
| + successfullyParsed = true; |
| +}, 0); |
| + |