summaryrefslogtreecommitdiffstats
path: root/dom/plugins/test/mochitest/test_bug986930.html
blob: f86539e58f301335809fbe21199b55066f479828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8"/>
  <title>Test for Bug 986930</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <script type="application/javascript" src="plugin-utils.js"></script>
</head>
<body>
  <script class="testbody" type="application/javascript">
    var testPlugin = getTestPlugin("Test Plug-in");

    var mimeDescriptions = testPlugin.getMimeDescriptions({});

    is(mimeDescriptions[0], "Test \u2122 mimetype",
       "Plugin should handle non-ascii mime description");
  </script>
</body>
</html>