| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | 3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
| 4 <title>Installed Plug-ins</title> | 4 <title>Installed Plugins</title> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <script type="application/x-javascript"> | 7 <script type="application/x-javascript"> |
| 8 if (window.testRunner) | 8 if (window.testRunner) |
| 9 testRunner.dumpAsText() | 9 testRunner.dumpAsText() |
| 10 | 10 |
| 11 navigator.plugins.refresh(false); // Supposedly helps if new plug-ins were added
. | 11 navigator.plugins.refresh(false); // Supposedly helps if new plugins were added. |
| 12 | 12 |
| 13 var foundTestPlugin = false; | 13 var foundTestPlugin = false; |
| 14 | 14 |
| 15 for (var i = 0; i < navigator.plugins.length; i++) { | 15 for (var i = 0; i < navigator.plugins.length; i++) { |
| 16 var plugin = navigator.plugins[i]; | 16 var plugin = navigator.plugins[i]; |
| 17 | 17 |
| 18 // We can only guarantee that the Test PlugIn is installed. | 18 // We can only guarantee that the Test PlugIn is installed. |
| 19 if (plugin.name != "WebKit Test PlugIn") | 19 if (plugin.name != "WebKit Test PlugIn") |
| 20 continue; | 20 continue; |
| 21 else | 21 else |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 } else { | 80 } else { |
| 81 document.writeln("<p>FAIL. MimeTypeArray.namedItem() does not work.<\/p>
"); | 81 document.writeln("<p>FAIL. MimeTypeArray.namedItem() does not work.<\/p>
"); |
| 82 } | 82 } |
| 83 } | 83 } |
| 84 | 84 |
| 85 if (!foundTestPlugin) | 85 if (!foundTestPlugin) |
| 86 document.writeln("<p>FAILURE! (Failed to find netscape test plugin)<\/p>"); | 86 document.writeln("<p>FAILURE! (Failed to find netscape test plugin)<\/p>"); |
| 87 </script> | 87 </script> |
| 88 </body> | 88 </body> |
| 89 </html> | 89 </html> |
| OLD | NEW |