Bug 421432 - Crash test.
authorMartijn Wargers <martijn.martijn@gmail.com>
Sat, 23 Feb 2013 11:38:14 +0100
changeset 122750 1babe9fe6027859a4531cb2daf8c74e138c484cc
parent 122749 e86e7050f14b0563f78a873863954a9631e6f339
child 122751 999622231e133a398b2fe067cdb2e3e13503eabb
push id24356
push usergszorc@mozilla.com
push dateSun, 24 Feb 2013 01:00:12 +0000
treeherdermozilla-central@195e706140d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs421432
milestone22.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 421432 - Crash test.
layout/base/crashtests/421432.html
layout/base/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/421432.html
@@ -0,0 +1,14 @@
+<html>
+<head>
+<title>Crash [@ DocumentViewerImpl::LoadComplete] with focusing and removing iframe on reload</title>
+</head>
+<body>
+<iframe id="content" onload="window.frames[0].focus()" style="width:1000px;height: 300px;"></iframe>
+<script>
+function doe2() {
+document.getElementById('content').src = 'data:text/html;charset=utf-8,%3Cscript%3Ewindow.addEventListener%28%27focus%27%2C%20function%28e%29%20%7Bwindow.frameElement.parentNode.removeChild%28window.frameElement%29%3B%7D%2C%20true%29%3C/script%3E';
+}
+setInterval(doe2, 500);
+</script>
+</body>
+</html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -219,16 +219,17 @@ load 412651-1.html
 load 413587-1.svg
 load 414058-1.html
 load 414175-1.xul
 load 420031-1.html
 load 420213-1.html
 load 420219-1.html
 load 420651-1.xhtml
 load 421203-1.xul
+load 421432.html
 load 423107-1.xhtml
 load 425981-1.html
 load 428138-1.html
 load 428448-1.html
 load 429088-1.html
 load 429088-2.html
 load 429780-1.xhtml
 load 429865-1.html