Closed
Bug 38848
Opened 24 years ago
Closed 24 years ago
nsIPluginManager::GetValue is not implemented
Categories
(Core Graveyard :: Plug-ins, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
M17
People
(Reporter: stanley.ho, Assigned: edburns)
Details
(Whiteboard: [nsbeta2+])
Attachments
(2 files)
2.36 KB,
patch
|
Details | Diff | Splinter Review | |
1.23 KB,
patch
|
Details | Diff | Splinter Review |
In modules\plugin\nglsrc\nsPluginHostImpl.cpp, nsIPluginManager::GetValue is not implemented. The Solaris OJI plug-in relies on the method call nsIPluginManager::GetValue(nsPluginManagerVariable_XDisplay, &display) to obtain back the X display that the browser is using. Without this method, the Solaris OJI plug-in cannot work at all because it has to be reparent its applet window onto the browser.
Nominating for beta 2: if this is not fixed, there can be no Java Plug-In for X Window System environments (e.g., Linux, Solaris, HP-UX, AIX, etc.). Perhaps a fix for this can be found by digging through old 4.X browser code? Perhaps the Netscape engineers have access to this?
Keywords: nsbeta2
Comment 4•24 years ago
|
||
adding myself to the cc
Comment 6•24 years ago
|
||
This shouldn't be too tough. Just return GDK_DISPLAY() and it should work.
We're currently discussing the apparently incorrect specification of the GetValue method in nsIPluginManager.h.
Assignee | ||
Comment 10•24 years ago
|
||
ETA 22 July 2000
Assignee | ||
Comment 11•24 years ago
|
||
Assignee | ||
Comment 12•24 years ago
|
||
This fix requires a change in the signature of nsIPluginManager::GetValue(). Here's the diff: RCS file: /cvsroot/mozilla/modules/plugin/public/nsIPluginManager.h,v retrieving revision 1.9 diff -u -r1.9 nsIPluginManager.h --- nsIPluginManager.h 1999/11/06 03:32:35 1.9 +++ nsIPluginManager.h 2000/07/15 19:46:22 @@ -80,7 +80,7 @@ * @result - NS_OK if this operation was successful */ NS_IMETHOD - GetValue(nsPluginManagerVariable variable, void *value) = 0; + GetValue(nsPluginManagerVariable variable, void **value) = 0; /** * Causes the plugins directory to be searched again for new plugin I need a= and r=
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Comment 14•24 years ago
|
||
Thanks to Waterson's use of the new C++ casting operators, we have a solution that doesn't require changing the API. Looking for approval for this solution, the second iteration. Ed
Assignee | ||
Comment 15•24 years ago
|
||
Just checked in fix.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
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
•