Thu, 15 Jan 2015 15:55:04 +0100
Back out 97036ab72558 which inappropriately compared turds to third parties.
1 <!--
3 This test is mostly a copy of layout/forms/crashtests/373586-1.xhtml,
4 and it makes sure that the value setter works correctly when setting
5 the value causes the frame to be reconstructed.
7 -->
8 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
9 <head>
11 <bindings xmlns="http://www.mozilla.org/xbl">
12 <binding id="foo">
13 <content>
14 <children xmlns="http://www.mozilla.org/xbl" />
15 </content>
16 </binding>
17 </bindings>
19 <script>
20 function boom()
21 {
22 document.getElementById("div").style.MozBinding = "url('#foo')";
24 var opt1 = document.getElementById("opt1");
25 opt1.removeChild(opt1.firstChild);
27 document.getElementById("textarea").value += " y";
29 document.getElementById("div").style.MozBinding = "";
30 document.documentElement.removeAttribute("class")
31 }
33 window.addEventListener("MozReftestInvalidate", boom, false);
34 </script>
36 </head>
38 <body>
40 <div id="div">
41 <textarea rows="3" cols="5" id="textarea">x</textarea>
42 </div>
44 <select style="-moz-appearance:none">
45 <option id="opt1">opt1</option>
46 </select>
48 </body>
49 </html>