Closed
Bug 9323
Opened 27 years ago
Closed 27 years ago
"window.navigator.plugins[i].filename" returns just a filename instaead of path.
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
M9
People
(Reporter: desale, Assigned: serhunt)
Details
"window.navigator.plugins[i].filename" returns just plugin filename instead of
returning entire path of that file.
Product: Seamonkey [Apprunner/viewer]
Build: 07-03-08
OS: windows-95.
Steps to Reproduce:
1] Please copy HTML code I'm providing.
2] Save it as HTML file and open this HTML file in apprunner as well as viewer.
3] This file lists all the filenames of available plugins on the screen.
Expected Results: It should list all plugin names. These expected results are
just considering plugins installed on my machine. You may get different results,
but whole expectation is that it should list all plugin filenames with entire
path.
1] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npdsplay.dll
2] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npvcal32.dll
3] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\Npra32.dll
4] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\Npqtw32.dll
5] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npnul32.dll
6] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npjava12.dll
7] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npjava11.dll
8] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npaudio.dll
9] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\npavi32.dll
10] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\NPBeatSP.dll
11] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\Np32dsw.dll
12] C:\PROGRAM FILES\NETSCAPE\COMMUNICATOR\PROGRAM\plugins\NPSWF32.dll
Actual Results: It lists just plugin filenames and not entire path of those
files.
1] npdsplay.dll
2] npvcal32.dll
3] Npra32.dll
4] Npqtw32.dll
5] npnul32.dll
6] npjava12.dll
7] npjava11.dll
8] npaudio.dll
9] npavi32.dll
10] NPBeatSP.dll
11] Np32dsw.dll
12] NPSWF32.dll
CODE:
<html>
<head>
<title>Test Page</title>
</head>
<body >
<form name="workform">
<SCRIPT LANGUAGE="JavaScript1.1">
document.writeln("<h3>");
document.writeln("List of Plugin File Names");
document.writeln("</h3>");
var len = window.navigator.plugins.length;
var i=0;
while (i<len){
document.writeln(i+1 +"]");
document.writeln(window.navigator.plugins[i].filename);
document.writeln("<br>");
i++
}
</SCRIPT>
</form>
</body>
</html>
END OF CODE:
| Reporter | ||
Updated•27 years ago
|
QA Contact: beppe → desale
| Reporter | ||
Comment 1•27 years ago
|
||
Changing QA contact to myself.
Updated•27 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 27 years ago
Resolution: --- → WORKSFORME
Comment 2•27 years ago
|
||
works with the 1999070917 build!
Yeah, I fixed it couple of days ago. Sorry for not letting you know.
| Reporter | ||
Updated•27 years ago
|
Status: RESOLVED → VERIFIED
| Reporter | ||
Comment 4•27 years ago
|
||
Verified. Working fine now.
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•