mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
Add crashtest.
This commit is contained in:
parent
b5742c3731
commit
7d96b6da4e
41
layout/base/crashtests/379105-1.xhtml
Normal file
41
layout/base/crashtests/379105-1.xhtml
Normal file
@ -0,0 +1,41 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
|
||||
<binding id="x"><content>
|
||||
<zzz><children/></zzz>
|
||||
</content></binding>
|
||||
|
||||
<binding id="empty"><content>
|
||||
</content></binding>
|
||||
|
||||
</bindings>
|
||||
|
||||
<script>
|
||||
|
||||
var xbltarget;
|
||||
|
||||
function boom1()
|
||||
{
|
||||
xbltarget = document.getElementById("xbltarget");
|
||||
xbltarget.style.MozBinding = "url('#x')";
|
||||
setTimeout(boom2, 30);
|
||||
}
|
||||
|
||||
function boom2()
|
||||
{
|
||||
var anox = document.getAnonymousNodes(xbltarget)[0];
|
||||
var frame = document.createElementNS("http://www.w3.org/1999/xhtml", "frame")
|
||||
frame.src = "http://www.squarefree.com/tests/simple.html";
|
||||
anox.appendChild(frame);
|
||||
xbltarget.style.MozBinding = "url('#empty')";
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom1()">
|
||||
<div id="xbltarget"></div>
|
||||
</body>
|
||||
</html>
|
@ -53,6 +53,7 @@ load 372550-1.html
|
||||
load 374297-1.html
|
||||
load 374297-2.html
|
||||
load 376223-1.xhtml
|
||||
load 379105-1.xhtml
|
||||
load 379419-1.xhtml
|
||||
load 379799-1.html
|
||||
load 379920-1.svg
|
||||
|
Loading…
Reference in New Issue
Block a user