summaryrefslogtreecommitdiffstats
path: root/layout/mathml/crashtests/400157.xhtml
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/mathml/crashtests/400157.xhtml
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/mathml/crashtests/400157.xhtml')
-rw-r--r--layout/mathml/crashtests/400157.xhtml34
1 files changed, 34 insertions, 0 deletions
diff --git a/layout/mathml/crashtests/400157.xhtml b/layout/mathml/crashtests/400157.xhtml
new file mode 100644
index 000000000..78754875d
--- /dev/null
+++ b/layout/mathml/crashtests/400157.xhtml
@@ -0,0 +1,34 @@
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML" class="reftest-wait">
+<mathml:mfenced/>
+
+
+<script><![CDATA[
+var docviewer;
+function do_onload() {
+ var navigator1 = SpecialPowers.wrap(parent).QueryInterface(SpecialPowers.Ci.nsIInterfaceRequestor).getInterface(SpecialPowers.Ci.nsIWebNavigation);
+ var docShell = navigator1.QueryInterface(SpecialPowers.Ci.nsIDocShell);
+ docviewer = docShell.contentViewer;
+
+ setTimeout(function() {
+ clearTimeout(timer);
+ docviewer.textZoom = 1;
+ document.documentElement.removeAttribute("class");
+ }, 500);
+ setTimeout(doe,50, 0.2);
+}
+do_onload();
+
+var timer;
+function doe(i) {
+ docviewer.textZoom += i;
+
+ if (docviewer.textZoom >=4)
+ i = -0.2;
+
+ if (docviewer.textZoom <=0)
+ i = 0.2;
+ window.status = docviewer.textZoom;
+ timer = setTimeout(doe, 50, i);
+}
+]]></script>
+</html>