gfx/tests/crashtests/358732-3.html
author Daniel Holbert <dholbert@cs.stanford.edu>
Tue, 20 May 2014 08:34:26 -0400
changeset 192343 542f83ec634547e7abdaea27a5fdf117ca1f0a97
parent 177738 8822a6b8b08ab22355c1a678d947c33bc1b433ca
child 217213 b88aab9f4e80cf2351c44eaddd401cb806d519e0
permissions -rw-r--r--
Bug 1000185 - Part 1: Perform synchronous SMIL sample after registering with refresh driver, not before, for consistency. r=birtles, a=abillings

<html>
<head>
<title>Testcase 3 - Bug 358732 � Crash in _moz_cairo_win32_scaled_font_select_font, part 2</title>
<script id="script">
var i=0;
function doe() {
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
var navigator1 = top.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIWebNavigation);
var docShell = navigator1.QueryInterface(Components.interfaces.nsIDocShell);
var docviewer = docShell.contentViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);
docviewer.textZoom=i;
i=i+0.2;
if (i>10)
 i = 0;
}
setInterval(doe, 50);

</script>
</head>
<body>
text&#8889;&#74746;&#48236;&#79202;&#67671;&#9251;&#14635;<sup>&#8889;&#74746;&#48236;&#79202;&#67671;&#9251;&#14635;
text
</body>
</html>