Closed
Bug 73856
Opened 24 years ago
Closed 24 years ago
4.x plugins cannot be scriptable
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9
People
(Reporter: serhunt, Assigned: serhunt)
References
Details
Attachments
(5 files)
509 bytes,
patch
|
Details | Diff | Splinter Review | |
2.21 KB,
patch
|
Details | Diff | Splinter Review | |
1.49 KB,
patch
|
Details | Diff | Splinter Review | |
8.11 KB,
patch
|
Details | Diff | Splinter Review | |
1.23 KB,
patch
|
Details | Diff | Splinter Review |
4.x plugins miss a big piece of functionality since Mozilla no longer supports
LiveConnect. To use a new way of making plugins scriptable, plugins should
totally rewritten to use the new xpcom plugin API. This a fair amount of work
and not all plugin vendors are probably immediately ready to invest resources
into this task.
We need to make possible for them just to modify their existing plugins slightly
so they become scriptable again.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9
Vidur, please have a look and review (super). Johnny, I guess we will need your
approval on changes to nsGenericHTMLElement.cpp.
Comment 8•24 years ago
|
||
av, per our discussion earlier today you have my approval for cheking in this
change to nsGenericHTMLElement.cpp.
Comment 9•24 years ago
|
||
Required change:
- In both ns4xPluginInstance::GetScriptablePeer and
ns4xPluginInstance::GetScriptableInstance, the return value should be primed
with null before we call the old-style plugin.
Recommended changes:
- In ns4xPluginInstance::GetValue, I'd prefer to see the break statements left
in and all returns happening from the same point.
- It would be good to get all the NPP and NPN variables rationalized. The fact
that there's overlap between the original set and the new set (specifically
nsPluginInstanceVariable_DoCacheBool) is very disconcerting. Also, the different
enums in nsplugindefs.h aren't split out correctly.
With the required change fixed, sr=vidur.
Assignee | ||
Comment 10•24 years ago
|
||
Patch with vidur's corrections is in. Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•24 years ago
|
||
verified patch is in version 1.244 on lxr.marking VERIF
Status: RESOLVED → VERIFIED
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•