Bug 373533 - crashtests.

This commit is contained in:
Martijn Wargers 2013-12-23 16:51:57 +00:00
parent 05b98143d3
commit 6d3b97ddcd
4 changed files with 97 additions and 0 deletions

View File

@ -0,0 +1,32 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:math="http://www.w3.org/1998/Math/MathML">
<head></head>
<body>
<xul:box collapsed="true"><math:mrow><div id="div">
<p id="para">Foo bar</p>
</div></math:mrow></xul:box>
<script type="application/javascript">
document.body.offsetWidth;
try
{
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
var para = document.getElementById("para");
var div = document.getElementById("div");
var hbox = document.createElementNS(XUL_NS, 'hbox');
div.appendChild(hbox);
div.removeChild(para);
}
catch (e)
{
document.body.appendChild(document.createTextNode(e));
}
</script>
</body>
</html>

View File

@ -0,0 +1,31 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:math="http://www.w3.org/1998/Math/MathML"><head>
</head>
<body><xul:box collapsed="true"><math:mrow><div id="div">
<p id="para">Foo bar</p>
</div></math:mrow></xul:box>
<script type="application/javascript">
try
{
document.body.offsetWidth;
var para = document.getElementById("para");
var div = document.getElementById("div");
var hbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
'hbox');
div.appendChild(hbox);
document.body.offsetWidth;
div.appendChild(para);
}
catch (e)
{
document.body.appendChild(document.createTextNode(e));
}
</script>
</body></html>

View File

@ -0,0 +1,31 @@
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:math="http://www.w3.org/1998/Math/MathML">
<head>
</head><body><xul:box collapsed="true"><math:mrow><div id="div">
<p id="para">Foo bar</p>
</div></math:mrow></xul:box>
<script type="application/javascript">
try
{
document.body.offsetWidth;
var para = document.getElementById("para");
var div = document.getElementById("div");
var hbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
'hbox');
div.appendChild(hbox);
document.body.offsetWidth;
div.removeChild(para);
}
catch (e)
{
document.body.appendChild(document.createTextNode(e));
}
</script>
</body></html>

View File

@ -659,6 +659,9 @@ skip-if(B2G) fails-if(Android) random-if(d2d) == 373381-3.html 373381-3-ref.html
skip-if(B2G) fails-if(Android) == 373381-4.html 373381-4-ref.html
== 373383-1.html 373383-1-ref.html
== 373433-1.html 373433-1-ref.html
== 373533-1.xhtml about:blank
== 373533-2.xhtml about:blank
== 373533-3.xhtml about:blank
== 374038-1.xul 374038-1-ref.xul
== 374038-2.xul 374038-2-ref.xul
random-if(d2d) == 374719-1.xul 374719-1-ref.xul