mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 373533 - crashtests.
This commit is contained in:
parent
05b98143d3
commit
6d3b97ddcd
32
layout/reftests/bugs/373533-1.xhtml
Normal file
32
layout/reftests/bugs/373533-1.xhtml
Normal 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>
|
31
layout/reftests/bugs/373533-2.xhtml
Normal file
31
layout/reftests/bugs/373533-2.xhtml
Normal 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>
|
31
layout/reftests/bugs/373533-3.xhtml
Normal file
31
layout/reftests/bugs/373533-3.xhtml
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user