Bumping gaia.json for 8 gaia revision(s) a=gaia-bump
[gecko.git] / xpcom / string / crashtests / 395651-1.html
blob3f89a0836e405ff679c206ab3a37b6c3c1566824
1 <html>
2 <head>
3 <script>
5 function X() { dump("X\n"); }
6 function Y() { dump("Y\n"); }
8 function boom()
10 dump("Start9\n");
12 var div = document.getElementById("v");
14 var textNode = document.createTextNode(String.fromCharCode(0xDAAF)); // high surrogate
15 div.appendChild(textNode);
17 document.addEventListener("DOMCharacterDataModified", X, true);
18 textNode.data += 'B';
19 document.removeEventListener("DOMCharacterDataModified", X, true);
21 document.addEventListener("DOMAttrModified", Y, true);
22 textNode.data += String.fromCharCode(0xDF53); // low surrogate
23 document.removeEventListener("DOMAttrModified", Y, true);
26 </script>
27 </head>
29 <body onload="boom();"><div id="v"></div></body>
31 </html>