mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 375299 - crashtest.
This commit is contained in:
parent
8bb94d33ec
commit
01a8fa2044
4
layout/forms/crashtests/375299-binding.xml
Normal file
4
layout/forms/crashtests/375299-binding.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="a">
|
||||
<content><children/></content>
|
||||
</binding></bindings>
|
17
layout/forms/crashtests/375299.html
Normal file
17
layout/forms/crashtests/375299.html
Normal file
@ -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>
|
@ -21,6 +21,7 @@ load 370703-1.html
|
||||
load 370940-1.html
|
||||
load 370967.html
|
||||
load 373586-1.xhtml
|
||||
load 375299.html
|
||||
load 378369.html
|
||||
asserts(5-10) load 378413-1.xhtml # bug 424225, bug 402850?
|
||||
load 380116-1.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user