diff options
Diffstat (limited to 'layout/forms/crashtests/375299.html')
-rw-r--r-- | layout/forms/crashtests/375299.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/forms/crashtests/375299.html b/layout/forms/crashtests/375299.html new file mode 100644 index 000000000..fd43d1c63 --- /dev/null +++ b/layout/forms/crashtests/375299.html @@ -0,0 +1,17 @@ +<html><head>
+<title>Testcase bug - Crash [@ nsFileControlFrame::CreateAnonymousContent] when removing stylesheet with binding and removing file input</title>
+<style>
+body {-moz-binding:url("375299-binding.xml#a"); } +</style>
+</head><body onload="doe()">
+<input type="file">
+
+<script>
+function doe() {
+var x=document.getElementsByTagName('input')[0];
+x.parentNode.removeChild(x);
+var y=document.getElementsByTagName('style')[0];
+y.parentNode.removeChild(y);
+}
+</script>
+</body></html> |