Bug 715056 - Crash test.
authorJesse Ruderman <jruderman@gmail.com>
Wed, 04 Jan 2012 12:10:49 +0100
changeset 85248 cddeb9fcc249fdbac692d74275f6395c4118bb9a
parent 85247 23d71e342b3e8d1d5afe4942001a1547d5c3f06b
child 85249 db09603b41863e5a84628b520ac08ab91ff26198
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs715056
milestone12.0a1
Bug 715056 - Crash test.
content/base/crashtests/715056.html
content/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/content/base/crashtests/715056.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<script>
+
+function boom()
+{
+  var t1 = document.createTextNode("a");
+  var t2 = document.createTextNode("b");
+  document.appendChild(t1);
+  document.appendChild(t2);
+  var sel = window.getSelection();
+  sel.collapse(t2, 0)
+  document.normalize();
+  sel.removeAllRanges();
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>
--- a/content/base/crashtests/crashtests.list
+++ b/content/base/crashtests/crashtests.list
@@ -100,8 +100,9 @@ load 693212.xhtml
 load 698974-1.html
 load 700090-1.html
 load 700090-2.html
 load 700512.html
 load xhr_html_nullresponse.html
 load 709384.html
 load 713417.html
 load 713417-2.html
+load 715056.html