3 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4 <title>Installed Plug-ins</title>
7 <script type="application/x-javascript">
8 if (window.layoutTestController)
9 layoutTestController.dumpAsText()
11 var plugins = navigator.plugins;
13 plugins.refresh(false); // Supposedly helps if new plug-ins were added.
15 var foundTestPlugin = false;
17 for (var pi = 0; pi != plugins.length; pi++) {
18 var plugin = plugins[pi];
20 // We can only guarantee that the Test PlugIn is installed.
21 if (plugin.name != "WebKit Test PlugIn")
24 foundTestPlugin = true;
26 document.writeln("<p>Name: " + plugin.name + "<\/p>");
27 document.writeln("<p>Description: " + plugin.description + "<\/p>");
28 document.writeln("<p>Filename: " + plugin.filename + "<\/p>");
30 document.writeln("<p>Mime Types:<\/p>");
31 for (var mi = 0; mi != plugin.length; ++mi) {
32 document.writeln("<p>Type: " + plugin[mi].type + "<\/p>");
33 document.writeln("<p>Description: " + plugin[mi].description + "<\/p>");
34 document.writeln("<p>Suffixes: " + plugin[mi].suffixes + "<\/p>");
35 document.writeln("<br>");
40 document.writeln("<p>FAILURE! (Failed to find netscape test plugin)<\/p>");