Add crashtest
git-svn-id: svn://10.0.0.236/trunk@250742 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
87afa80dd2
commit
beb5133da2
13
mozilla/layout/base/crashtests/366271-1-frame.svg
Normal file
13
mozilla/layout/base/crashtests/366271-1-frame.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
onload="setTimeout(function() { document.getElementById('focc').style.overflow = 'scroll'; setTimeout(function() { location.reload(); }, 200); }, 200);">
|
||||
|
||||
<g id="focc">
|
||||
<foreignObject width="500" height="500" id="fo" x="20" y="20">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml">
|
||||
<select><option>Reload to see some assertions</option></select>
|
||||
</div>
|
||||
</foreignObject>
|
||||
</g>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 501 B |
21
mozilla/layout/base/crashtests/366271-1.html
Normal file
21
mozilla/layout/base/crashtests/366271-1.html
Normal file
@ -0,0 +1,21 @@
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
var childLoads = 0;
|
||||
function inc()
|
||||
{
|
||||
++childLoads;
|
||||
if (childLoads >= 2)
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<iframe src="366271-1-frame.svg" onload="inc();"></iframe>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -47,6 +47,7 @@ load 364427-1.html
|
||||
load 365909-1.xhtml
|
||||
load 365909-2.xhtml
|
||||
load 366128-1.xhtml
|
||||
load 366271-1.html
|
||||
load 366967-1.html
|
||||
load 367015-1.html
|
||||
load 367243-1.html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user