mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 400157 - Crash test.
This commit is contained in:
parent
9c91eace28
commit
9c6441567b
31
layout/mathml/crashtests/400157.xhtml
Normal file
31
layout/mathml/crashtests/400157.xhtml
Normal file
@ -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>
|
@ -35,6 +35,7 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user