layout/forms/crashtests/373586-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

michael@0 1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
michael@0 2 <head>
michael@0 3
michael@0 4 <bindings xmlns="http://www.mozilla.org/xbl">
michael@0 5 <binding id="foo">
michael@0 6 <content>
michael@0 7 <children xmlns="http://www.mozilla.org/xbl" />
michael@0 8 </content>
michael@0 9 </binding>
michael@0 10 </bindings>
michael@0 11
michael@0 12 <script>
michael@0 13 function boom()
michael@0 14 {
michael@0 15 document.getElementById("div").style.MozBinding = "url('#foo')";
michael@0 16
michael@0 17 var opt1 = document.getElementById("opt1");
michael@0 18 opt1.removeChild(opt1.firstChild);
michael@0 19
michael@0 20 document.getElementById("textarea").value += " ";
michael@0 21
michael@0 22 document.documentElement.removeAttribute("class")
michael@0 23 }
michael@0 24 </script>
michael@0 25
michael@0 26 </head>
michael@0 27
michael@0 28 <body onload="setTimeout(boom, 30);">
michael@0 29
michael@0 30 <div id="div">
michael@0 31 <textarea rows="3" cols="5" id="textarea"></textarea>
michael@0 32 </div>
michael@0 33
michael@0 34 <select>
michael@0 35 <option id="opt1">opt1</option>
michael@0 36 </select>
michael@0 37
michael@0 38 </body>
michael@0 39 </html>
michael@0 40

mercurial