Bug 507566 - Add crashtest. r=mats
authorJesse Ruderman <jruderman@gmail.com>
Sun, 01 Jul 2018 18:06:50 +0200
changeset 424592 e80709fd8002ecccaefa480b59d31b43a7dfeddb
parent 424591 719e70e65dc5429d7712ac2e0301ab4a37c77173
child 424593 e14825bf17d03d70558b65a9cc72c9343d28e437
push id104857
push usermpalmgren@mozilla.com
push dateSun, 01 Jul 2018 16:07:04 +0000
treeherdermozilla-inbound@c25668460f0d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmats
bugs507566
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 507566 - Add crashtest. r=mats
layout/generic/crashtests/507566.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/507566.html
@@ -0,0 +1,33 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<script type="text/javascript">
+
+var count = 0;
+
+function boom()
+{
+  var r = document.body; while(r.firstChild) { r.removeChild(r.firstChild); }
+  
+  document.body = document.createElementNS("http://www.w3.org/1999/xhtml", "body");
+  var div = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
+  var span = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
+  span.setAttributeNS(null, "contenteditable", "true");
+  document.documentElement.appendChild(span);
+  (document.body || document.documentElement).appendChild(div);
+  var text = document.createTextNode("\u200F\uE8D4");
+  document.body.appendChild(text);
+  document.documentElement.appendChild(document.body);
+  document.documentElement.offsetHeight;
+  text.data += "\uF0C5";
+  document.execCommand("selectAll", false, null);
+
+  if (++count < 20)
+    setTimeout(boom, 0);
+}
+
+</script>
+</head>
+
+<body onload="boom();"></body>
+</html>
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -365,16 +365,17 @@ load 496742.html
 load 499138.html
 load 499857-1.html
 load 499862-1.html
 asserts(0-3) load 499885-1.xhtml # Bug 1220265
 load 501535-1.html
 load 503961-1.xhtml
 load 503961-2.html
 load 505912-1.html
+load 507566.html
 load 508154-1.xhtml
 load 508168-1.html
 load 508816-1.xul
 load 508908-1.html
 load 509749-1.html
 load 511482.html
 load 512724-1.html
 load 512725-1.html