mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
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:
parent
2bf050cc40
commit
3cc5ee6256
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user