Closed
Bug 67933
Opened 24 years ago
Closed 24 years ago
null plugin registered twice
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: dbaron, Assigned: peterlubczynski-bugs)
Details
(Whiteboard: [seeking reviews])
Attachments
(4 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
A checkin sometime between 2001-02-06 16:45 and 17:17 (based on tinderbox logs)
caused the null plugin registration message to show up twice:
********** Got plugins path: /builds/seamonkey/obj/debug/dist/bin/plugins
IsPluginFile(/builds/seamonkey/obj/debug/modules/plugin/default/unix/libnullplugin.so)
LoadPlugin()
/builds/seamonkey/obj/debug/modules/plugin/default/unix/libnullplugin.so
returned 81b28e0
GetMIMEDescription() returned "*:.*:All types"
Registering plugin 0 for: "*","All types",".*"
********** Got plugins path: /builds/seamonkey/obj/debug/dist/bin/plugins
IsPluginFile(/builds/seamonkey/obj/debug/modules/plugin/default/unix/libnullplugin.so)
LoadPlugin()
/builds/seamonkey/obj/debug/modules/plugin/default/unix/libnullplugin.so
returned 81b28e0
GetMIMEDescription() returned "*:.*:All types"
Registering plugin 0 for: "*","All types",".*"
This seems wrong -- like we're doing extra work. I suspect the checkins by
peterlubczynski@netscape.com to nsPluginHostImpl.cpp and nsPluginsDir.h.
Assignee | ||
Comment 1•24 years ago
|
||
The code I checked in recently is XP_WIN only. This is an old problem. Notice
about:plugins shows two Default Plugins. I don't believe it's registered twice
on Windows or Mac.
Comment 2•24 years ago
|
||
This is not limited to the null plugin. See same behavior after installing the
Java 2 plugin from
ftp://ftp.netscape.com/pub/netscape6/english/6.0/unix/linux22/xpi/jre.xpi
Also, when you do "about:plugins", Mozilla is running through the "Registering
plugin # for:" code another 6 times.
BUILD ID: Mozilla 0.8 on Linux
Assignee | ||
Updated•24 years ago
|
Keywords: helpwanted
Target Milestone: --- → mozilla0.9
Assignee | ||
Comment 3•24 years ago
|
||
Yeah, I figure out how to use gdb.
Working on this. Looks like mPluginsLoaded = PR_TRUE was not being set ouside
the #IFDEF. Patch on it's way. Setting milestone.
Assignee | ||
Comment 4•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Keywords: helpwanted
Assignee | ||
Comment 5•24 years ago
|
||
David/Andrei reviews?
Peter, why do you do mPluginsLoaded = PR_TRUE; separately for the Mac? Isn't it
enough that you put it after all ifdef's once?
Assignee | ||
Comment 7•24 years ago
|
||
That probably is true, but the Mac doesn't have the problem. Will try that
approach on Mac.
Target Milestone: mozilla0.8.1 → mozilla0.9
Assignee | ||
Comment 8•24 years ago
|
||
Assignee | ||
Comment 10•24 years ago
|
||
Assignee | ||
Updated•24 years ago
|
Whiteboard: [seeking reviews]
Comment 11•24 years ago
|
||
[s]r=attinasi
Comment 12•24 years ago
|
||
Peter, would please attach cvs diff -u ? My line numbering is screwed so I
cannot be sure I'm looking at the right place.
Assignee | ||
Comment 13•24 years ago
|
||
Comment 14•24 years ago
|
||
ra=av
Assignee | ||
Comment 15•24 years ago
|
||
Patch checked in.
new revision: 1.212; previous revision: 1.211
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 16•24 years ago
|
||
verified on linux 0412, null plugin registers only once.
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•