dom/plugins/test/mochitest/test_bug986930.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 <!DOCTYPE html>
     2 <html>
     3 <head>
     4   <meta charset="UTF-8"/>
     5   <title>Test for Bug 986930</title>
     6   <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
     7   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     8   <script type="application/javascript" src="utils.js"></script>
     9 </head>
    10 <body>
    11   <script class="testbody" type="application/javascript">
    12     var testPlugin = getTestPlugin("Test Plug-in");
    14     var mimeDescriptions = testPlugin.getMimeDescriptions({});
    16     is(mimeDescriptions[0], "Test \u2122 mimetype",
    17        "Plugin should handle non-ascii mime description");
    18   </script>
    19 </body>
    20 </html>

mercurial