Bug 1633828 - crashtest.
authorEmilio Cobos Álvarez <emilio@crisal.io>
Fri, 01 May 2020 14:28:41 +0000
changeset 527750 0f9c5a59e45d34f53ab4d44058ed016d4bacf942
parent 527749 058e59fb52cafb78c046883068079e8e61754fc6
child 527751 fd8b2988e6512ba4b714f6530211d895ab1f62d7
push id114744
push userealvarez@mozilla.com
push dateFri, 01 May 2020 18:41:31 +0000
treeherderautoland@0f9c5a59e45d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1633828
milestone77.0a1
first release with
nightly linux32
0f9c5a59e45d / 77.0a1 / 20200501214551 / files
nightly linux64
0f9c5a59e45d / 77.0a1 / 20200501214551 / files
nightly mac
0f9c5a59e45d / 77.0a1 / 20200501214551 / files
nightly win32
0f9c5a59e45d / 77.0a1 / 20200501214551 / files
nightly win64
0f9c5a59e45d / 77.0a1 / 20200501214551 / files
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1633828 - crashtest. Differential Revision: https://phabricator.services.mozilla.com/D73455
layout/generic/crashtests/1633828.html
layout/generic/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/generic/crashtests/1633828.html
@@ -0,0 +1,36 @@
+<script>
+var limit = 0
+function go() {
+  part1()
+  part1()
+  window.find("foo",true,true,true,true,false)
+}
+function part2() {
+  if(++limit > 2) { return; }
+  g.appendChild(a)
+  d.insertAdjacentText("afterEnd", "foo")
+  f.addEventListener("DOMAttrModified", () => {
+    window.getSelection().deleteFromDocument()
+    b.select()
+  })
+}
+function part1() {
+  var x = window.getSelection()
+  g.appendChild(c)
+  g.addEventListener("DOMSubtreeModified", part2)
+  c.border = "1"
+  document.createElement("rp").prepend(x.focusNode)
+  window.find("foo")
+  a.value = ""
+  x.collapseToEnd()
+}
+</script>
+<body onload=go()>
+<button id="a"></button>
+<li>
+<textarea id="b"></textarea>
+</li>
+<image id="c"></image>
+<br id="d">
+<font id="f">
+<font id="g">
--- a/layout/generic/crashtests/crashtests.list
+++ b/layout/generic/crashtests/crashtests.list
@@ -758,8 +758,9 @@ load 1614101.html
 load 1618312.html
 load 1618564.html
 load 1625051-1.html
 load 1625051-2.html
 load 1626970.html
 load 1628804.html
 load 1630385.html
 load 1633434.html
+load 1633828.html