Checking in alexey@ihug.com.au's fix for bug 144040. Make sure the enabled column in about:plugins contains correct information. r=peterl@netscape.com, sr=jst@netscape.com

This commit is contained in:
jst%netscape.com 2002-07-15 22:50:49 +00:00
parent 2bf050cc40
commit 3cc5ee6256
2 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><!-- -*- Mode: HTML; tab-width: 2; indent-tabs-mode: nil -*-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!--
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
@ -19,7 +22,7 @@
Alexey Chernyak <alexeyc@bigfoot.com>
-->
<html lang="en" dir="ltr">
<html>
<head>
<title>About Plug-ins</title>
<style type="text/css">
@ -63,7 +66,6 @@
<body>
<div>
<script type="application/x-javascript">
<!--
/* JavaScript to enumerate and display all installed plug-ins
@ -102,7 +104,7 @@ for (var i = 0; i < numPlugins; i++)
document.writeln("<\/dd><\/dl><p><\/p>");
document.writeln("<table>");
document.writeln("<tr><th class=\"type\">Mime Type<\/th>");
document.writeln("<tr><th class=\"type\">MIME Type<\/th>");
document.writeln("<th class=\"desc\">Description<\/th>");
document.writeln("<th class=\"suff\">Suffixes<\/th>");
document.writeln("<th>Enabled<\/th><\/tr>");
@ -119,7 +121,7 @@ for (var i = 0; i < numPlugins; i++)
{
enabled = "No";
enabledPlugin = mimetype.enabledPlugin;
if (enabledPlugin && (enabledPlugin.name == plugin.name))
if (enabledPlugin && (enabledPlugin.filename == plugin.filename))
enabled = "Yes";
document.writeln("<tr>");
@ -134,8 +136,6 @@ for (var i = 0; i < numPlugins; i++)
document.write("<\/table><p><\/p><hr><p><\/p>");
}
}
//-->
</script>
</div>
</body>

View File

@ -1,4 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><!-- -*- Mode: HTML; tab-width: 2; indent-tabs-mode: nil -*-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!--
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
@ -19,7 +22,7 @@
Alexey Chernyak <alexeyc@bigfoot.com>
-->
<html lang="en" dir="ltr">
<html>
<head>
<title>About Plug-ins</title>
<style type="text/css">
@ -63,7 +66,6 @@
<body>
<div>
<script type="application/x-javascript">
<!--
/* JavaScript to enumerate and display all installed plug-ins
@ -102,7 +104,7 @@ for (var i = 0; i < numPlugins; i++)
document.writeln("<\/dd><\/dl><p><\/p>");
document.writeln("<table>");
document.writeln("<tr><th class=\"type\">Mime Type<\/th>");
document.writeln("<tr><th class=\"type\">MIME Type<\/th>");
document.writeln("<th class=\"desc\">Description<\/th>");
document.writeln("<th class=\"suff\">Suffixes<\/th>");
document.writeln("<th>Enabled<\/th><\/tr>");
@ -119,7 +121,7 @@ for (var i = 0; i < numPlugins; i++)
{
enabled = "No";
enabledPlugin = mimetype.enabledPlugin;
if (enabledPlugin && (enabledPlugin.name == plugin.name))
if (enabledPlugin && (enabledPlugin.filename == plugin.filename))
enabled = "Yes";
document.writeln("<tr>");
@ -134,8 +136,6 @@ for (var i = 0; i < numPlugins; i++)
document.write("<\/table><p><\/p><hr><p><\/p>");
}
}
//-->
</script>
</div>
</body>