Bug 400157 - Crash test.
authorMartijn Wargers <martijn.martijn@gmail.com>
Sat, 23 Feb 2013 11:38:14 +0100
changeset 122744 cd3be1478ce01ed43a9d7d0cf56793b6e8e0684b
parent 122743 8b70a8533fbedd4d17dfbb14e57fa44d9fda672d
child 122745 dcb14181bce70c35cd332c4ad458bc0b4e854433
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)
bugs400157
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 400157 - Crash test.
layout/mathml/crashtests/400157.xhtml
layout/mathml/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/mathml/crashtests/400157.xhtml
@@ -0,0 +1,31 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML">
+<mathml:mfenced/>
+
+
+<script><![CDATA[
+var docviewer;
+function do_onload() {
+netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+var navigator1 = parent.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIWebNavigation);
+var docShell = navigator1.QueryInterface(Components.interfaces.nsIDocShell);
+docviewer = docShell.contentViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);
+
+setTimeout(function() {window.location.reload()}, 500);
+setTimeout(doe,50, 0.2);
+}
+do_onload();
+
+function doe(i) {
+netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
+ docviewer.textZoom += i;
+
+if (docviewer.textZoom >=4)
+  i = -0.2;
+
+if (docviewer.textZoom <=0)
+  i = 0.2;
+window.status = docviewer.textZoom;
+setTimeout(doe, 50, i);
+}
+]]></script>
+</html>
\ No newline at end of file
--- a/layout/mathml/crashtests/crashtests.list
+++ b/layout/mathml/crashtests/crashtests.list
@@ -30,16 +30,17 @@ load 373472-1.xhtml
 load 373472-2.xhtml
 load 375562-1.xhtml
 load 377824-1.xhtml
 load 379418-1.xhtml
 load 385226-1.xhtml
 load 393760-1.xhtml
 load 397518-1.xhtml
 load 398038-1.html
+load 400157.xhtml
 load 400475-1.xhtml
 load 402400-1.xhtml
 load 403156-1.xhtml
 load 404485-1.xhtml
 load 405187-1.xhtml
 load 405271-1.xml
 load 412237-1.xml
 load 413063-1.xhtml