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

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

mercurial