Closed Bug 73856 Opened 24 years ago Closed 24 years ago

4.x plugins cannot be scriptable

Categories

(Core Graveyard :: Plug-ins, defect, P2)

x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9

People

(Reporter: serhunt, Assigned: serhunt)

References

Details

Attachments

(5 files)

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
Blocks: 66015
Blocks: 73874
No longer blocks: 66015
*** Bug 62704 has been marked as a duplicate of this bug. ***
Blocks: 66015
Vidur, please have a look and review (super). Johnny, I guess we will need your approval on changes to nsGenericHTMLElement.cpp.
av, per our discussion earlier today you have my approval for cheking in this change to nsGenericHTMLElement.cpp.
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.
Patch with vidur's corrections is in. Marking fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified patch is in version 1.244 on lxr.marking VERIF
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: