dom/xbl/crashtests/342954-1.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl">
michael@0 2
michael@0 3
michael@0 4 <head>
michael@0 5
michael@0 6 <script>
michael@0 7 <![CDATA[
michael@0 8
michael@0 9 function boo()
michael@0 10 {
michael@0 11 s1 = document.getElementById("s1");
michael@0 12 marq = document.getElementById("marq");
michael@0 13 marqAnonymousSomething = document.getAnonymousNodes(marq)[0].childNodes[0];
michael@0 14
michael@0 15 removeNode(marqAnonymousSomething);
michael@0 16 s1.appendChild(document.createElement("div"));
michael@0 17 }
michael@0 18
michael@0 19 function removeNode(q1) { q1.parentNode.removeChild(q1); }
michael@0 20
michael@0 21 ]]>
michael@0 22 </script>
michael@0 23
michael@0 24 <xbl:bindings id="marqueeBindings">
michael@0 25 <xbl:binding id="marquee-horizontal-12">
michael@0 26 <xbl:content>
michael@0 27 <div>
michael@0 28 <xbl:children/>
michael@0 29 </div>
michael@0 30 </xbl:content>
michael@0 31 </xbl:binding>
michael@0 32 </xbl:bindings>
michael@0 33
michael@0 34 </head>
michael@0 35
michael@0 36
michael@0 37 <body onload="boo()">
michael@0 38
michael@0 39 <span id="s1">Span</span>
michael@0 40
michael@0 41 <div id="marq" style="-moz-binding: url('#marquee-horizontal-12');">Marquee</div>
michael@0 42
michael@0 43 </body>
michael@0 44
michael@0 45
michael@0 46 </html>

mercurial