mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add a crashtest.
This commit is contained in:
parent
0f8bfb93f5
commit
fcbf1a2fcd
36
content/base/crashtests/386000-1.html
Normal file
36
content/base/crashtests/386000-1.html
Normal file
@ -0,0 +1,36 @@
|
||||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
|
||||
var de;
|
||||
|
||||
function boom()
|
||||
{
|
||||
de = document.documentElement;
|
||||
document.addEventListener("DOMNodeRemoved", f, false);
|
||||
|
||||
function f()
|
||||
{
|
||||
document.removeEventListener("DOMNodeRemoved", f, false);
|
||||
de.appendChild(document.createElement("body"));
|
||||
}
|
||||
|
||||
document.removeChild(de);
|
||||
|
||||
setTimeout(cont, 30);
|
||||
}
|
||||
|
||||
function cont()
|
||||
{
|
||||
document.appendChild(de);
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body onload="setTimeout(boom, 30);">
|
||||
|
||||
</body>
|
||||
</html>
|
@ -3,3 +3,4 @@ load 326618-1.html
|
||||
load 326865-1.html
|
||||
load 338391-1.xhtml
|
||||
load 343730-1.xhtml
|
||||
load 386000-1.html
|
Loading…
Reference in New Issue
Block a user