gecko/layout/forms/crashtests/375299.html
2013-12-23 16:51:58 +00:00

18 lines
499 B
HTML

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