Bug 1072137 part.0 Add tests r=smaug
authorMasayuki Nakano <masayuki@d-toybox.com>
Fri, 26 Sep 2014 09:10:16 +0900
changeset 207383 2bfce4ae91e66064f4e893e2c341a59c57e33657
parent 207382 1a45edebf71904b0940a1e893e0c144cf7605e6d
child 207384 049f2e6b043d59e77f7982330f348cb3a18bc607
push id27552
push usercbook@mozilla.com
push dateFri, 26 Sep 2014 11:21:05 +0000
treeherdermozilla-central@31db6c04c40e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssmaug
bugs1072137
milestone35.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 1072137 part.0 Add tests r=smaug
dom/events/crashtests/1072137-1.html
dom/events/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/events/crashtests/1072137-1.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<script>
+
+function boom()
+{
+  var textareaRoot = document.createElement("textarea");
+  document.removeChild(document.documentElement);
+  document.appendChild(textareaRoot);
+  var input = document.createElement("input");
+  textareaRoot.appendChild(input);
+  input.select();
+}
+
+</script>
+</head>
+<body onload="boom();"></body>
+</html>
--- a/dom/events/crashtests/crashtests.list
+++ b/dom/events/crashtests/crashtests.list
@@ -3,12 +3,13 @@ load 116206-1.html
 load 135345-1.html
 load 422009-1.xhtml
 load 457776-1.html
 load 496308-1.html
 load 682637-1.html
 load 1033343.html
 load 1035654-1.html
 load 1035654-2.html
+needs-focus load 1072137-1.html
 load eventctor-nulldictionary.html
 load eventctor-nullstorage.html
 load recursive-onload.html
 load recursive-DOMNodeInserted.html