mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Adding crashtests.
This commit is contained in:
parent
11c4dc56b6
commit
9bcea294cd
46
content/xbl/crashtests/342954-1.xhtml
Normal file
46
content/xbl/crashtests/342954-1.xhtml
Normal file
@ -0,0 +1,46 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
|
||||
<head>
|
||||
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
||||
function boo()
|
||||
{
|
||||
s1 = document.getElementById("s1");
|
||||
marq = document.getElementById("marq");
|
||||
marqAnonymousSomething = document.getAnonymousNodes(marq)[0].childNodes[0];
|
||||
|
||||
removeNode(marqAnonymousSomething);
|
||||
s1.appendChild(document.createElement("div"));
|
||||
}
|
||||
|
||||
function removeNode(q1) { q1.parentNode.removeChild(q1); }
|
||||
|
||||
]]>
|
||||
</script>
|
||||
|
||||
<xbl:bindings id="marqueeBindings">
|
||||
<xbl:binding id="marquee-horizontal-12">
|
||||
<xbl:content>
|
||||
<div>
|
||||
<xbl:children/>
|
||||
</div>
|
||||
</xbl:content>
|
||||
</xbl:binding>
|
||||
</xbl:bindings>
|
||||
|
||||
</head>
|
||||
|
||||
|
||||
<body onload="boo()">
|
||||
|
||||
<span id="s1">Span</span>
|
||||
|
||||
<div id="marq" style="-moz-binding: url('#marquee-horizontal-12');">Marquee</div>
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
</html>
|
19
content/xbl/crashtests/342954-2-xbl.xml
Normal file
19
content/xbl/crashtests/342954-2-xbl.xml
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<bindings id="marqueeBindings"
|
||||
xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
xmlns:xbl="http://www.mozilla.org/xbl">
|
||||
|
||||
<binding id="marquee-horizontal-10">
|
||||
|
||||
<content>
|
||||
<html:div>
|
||||
<children/>
|
||||
</html:div>
|
||||
</content>
|
||||
|
||||
</binding>
|
||||
|
||||
</bindings>
|
29
content/xbl/crashtests/342954-2.xhtml
Normal file
29
content/xbl/crashtests/342954-2.xhtml
Normal file
@ -0,0 +1,29 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script>
|
||||
<![CDATA[
|
||||
|
||||
function boo()
|
||||
{
|
||||
s1 = document.getElementById("s1");
|
||||
marq = document.getElementById("marq");
|
||||
marqAnonymousSomething = document.getAnonymousNodes(marq)[0].childNodes[0];
|
||||
|
||||
removeNode(marqAnonymousSomething);
|
||||
s1.appendChild(document.createElement("div"));
|
||||
}
|
||||
|
||||
function removeNode(q1) { q1.parentNode.removeChild(q1); }
|
||||
|
||||
]]>
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boo()">
|
||||
|
||||
<span id="s1">Span</span>
|
||||
|
||||
<div id="marq" style="-moz-binding: url('342954-2-xbl.xml#marquee-horizontal-10');">Marquee</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -2,3 +2,5 @@ load 368276-1.xhtml
|
||||
load 368641-1.xhtml
|
||||
load 382376-1.xhtml
|
||||
load 382376-2.xhtml
|
||||
load 342954-1.xhtml
|
||||
load 342954-2.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user