gfx/tests/crashtests/358732-3.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <html>
michael@0 2 <head>
michael@0 3 <title>Testcase 3 - Bug 358732 – Crash in _moz_cairo_win32_scaled_font_select_font, part 2</title>
michael@0 4 <script id="script">
michael@0 5 var i=0;
michael@0 6 function doe() {
michael@0 7 netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
michael@0 8 var navigator1 = top.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIWebNavigation);
michael@0 9 var docShell = navigator1.QueryInterface(Components.interfaces.nsIDocShell);
michael@0 10 var docviewer = docShell.contentViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);
michael@0 11 docviewer.textZoom=i;
michael@0 12 i=i+0.2;
michael@0 13 if (i>10)
michael@0 14 i = 0;
michael@0 15 }
michael@0 16 setInterval(doe, 50);
michael@0 17
michael@0 18 </script>
michael@0 19 </head>
michael@0 20 <body>
michael@0 21 text&#8889;&#74746;&#48236;&#79202;&#67671;&#9251;&#14635;<sup>&#8889;&#74746;&#48236;&#79202;&#67671;&#9251;&#14635;
michael@0 22 text
michael@0 23 </body>
michael@0 24 </html>

mercurial