bug 317934 - crash test by Martijn Wargers.
authorBob Clary <bclary@bclary.com>
Fri, 24 Apr 2009 10:08:09 -0700
changeset 27725 876c3596f7496c13a2e34e0e3b04155fe9d57da9
parent 27724 7806c9464087dea961e5f019d5bceedc118721e2
child 27726 a2f6d39a61844daf7d05e6ef3f5bd53c1989760b
push id6720
push userbclary@mozilla.com
push dateFri, 24 Apr 2009 17:10:36 +0000
treeherdermozilla-central@a1e84240b5c9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs317934
milestone1.9.2a1pre
bug 317934 - crash test by Martijn Wargers.
layout/base/crashtests/317934-1-inner.html
layout/base/crashtests/317934-1.html
layout/base/crashtests/crashtests.list
new file mode 100755
--- /dev/null
+++ b/layout/base/crashtests/317934-1-inner.html
@@ -0,0 +1,31 @@
+<html>
+<head>
+<script>
+function clickit()
+{
+document.getElementById('button').click();
+}
+window.addEventListener('load', clickit, false);
+</script>
+</head>
+<body>
+<div style="width:400px;">
+<q style="position:relative;"><q style="position:relative;">
+Some random text, some random text, some random text
+<span style="position: relative;">
+Some random text, some random text, some random text
+</span>
+</q></q>
+</div>
+<script>
+function doe(){
+var q1=document.getElementsByTagName('q')[0];
+var q2=document.getElementsByTagName('q')[1];
+q1.style.position='static';
+q2.style.position='static';
+}
+//setTimeout(doe,200);
+</script>
+<button id="button" onclick="doe()">Clicking this button should not crash Mozilla</button>
+</body>
+</html>
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/layout/base/crashtests/317934-1.html
@@ -0,0 +1,9 @@
+<html class="reftest-wait">
+<head>
+<script>
+setTimeout('document.documentElement.className = ""', 500);
+</script>
+<body>
+<iframe src="317934-1-inner.html"></iframe>
+</body>
+</html>
--- a/layout/base/crashtests/crashtests.list
+++ b/layout/base/crashtests/crashtests.list
@@ -53,16 +53,17 @@ load 280708-2.html
 load 281333-1.html
 load 285212-1.html
 load 286813-1.html
 load 306940-1.html
 load 310267-1.xml
 load 310638-1.svg
 load 310638-2.html
 load 313086-1.xml
+load 317934-1.html
 load 321058-1.xul
 load 321058-2.xul
 load 321077-1.xul
 load 321077-2.xul
 load 322436-1.html
 load 325967-1.html
 load 325984-1.xhtml
 load 325984-2.html