mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add crashtests for bug 459439 and bug 466607
This commit is contained in:
parent
c76fd52119
commit
411d2659ca
32
content/media/test/crashtests/459439-1.html
Normal file
32
content/media/test/crashtests/459439-1.html
Normal file
@ -0,0 +1,32 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
var i = 0;
|
||||
function boom()
|
||||
{
|
||||
var div = document.getElementById("div");
|
||||
var audio = document.getElementById("audio");
|
||||
|
||||
audio.onload = null;
|
||||
|
||||
div.textContent = "FAIL";
|
||||
audio.src += "";
|
||||
div.textContent = "PASS?";
|
||||
|
||||
++i;
|
||||
|
||||
setTimeout(done, 1);
|
||||
}
|
||||
|
||||
function done()
|
||||
{
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<audio id="audio" autoplay src="../sound.ogg" onload="setTimeout(boom, 1);"></audio>
|
||||
<div id="div"></div>
|
||||
</body>
|
||||
</html>
|
14
content/media/test/crashtests/466607-1.html
Normal file
14
content/media/test/crashtests/466607-1.html
Normal file
@ -0,0 +1,14 @@
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.body.appendChild(document.createElementNS("bar", "audio"));
|
||||
document.body.appendChild(document.createElementNS("bar", "video"));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
@ -1,3 +1,5 @@
|
||||
load 459439-1.html
|
||||
load 466607-1.html
|
||||
load 468763-1.html
|
||||
load 474744-1.html
|
||||
load 493915-1.html
|
||||
|
Loading…
Reference in New Issue
Block a user