dom/plugins/test/mochitest/test_bug986930.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/plugins/test/mochitest/test_bug986930.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +<head>
     1.7 +  <meta charset="UTF-8"/>
     1.8 +  <title>Test for Bug 986930</title>
     1.9 +  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    1.10 +  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    1.11 +  <script type="application/javascript" src="utils.js"></script>
    1.12 +</head>
    1.13 +<body>
    1.14 +  <script class="testbody" type="application/javascript">
    1.15 +    var testPlugin = getTestPlugin("Test Plug-in");
    1.16 +
    1.17 +    var mimeDescriptions = testPlugin.getMimeDescriptions({});
    1.18 +
    1.19 +    is(mimeDescriptions[0], "Test \u2122 mimetype",
    1.20 +       "Plugin should handle non-ascii mime description");
    1.21 +  </script>
    1.22 +</body>
    1.23 +</html>

mercurial