|
1 <html><head> |
|
2 <title>Testcase bug - Crash [@ nsFileControlFrame::CreateAnonymousContent] when removing stylesheet with binding and removing file input</title> |
|
3 <style> |
|
4 body {-moz-binding:url("375299-binding.xml#a"); } |
|
5 </style> |
|
6 </head><body onload="doe()"> |
|
7 <input type="file"> |
|
8 |
|
9 <script> |
|
10 function doe() { |
|
11 var x=document.getElementsByTagName('input')[0]; |
|
12 x.parentNode.removeChild(x); |
|
13 var y=document.getElementsByTagName('style')[0]; |
|
14 y.parentNode.removeChild(y); |
|
15 } |
|
16 </script> |
|
17 </body></html> |