Closed
Bug 254980
Opened 20 years ago
Closed 7 years ago
Provide sample code for npruntime-compliant plugin
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jsb, Assigned: alfred.peng)
References
Details
Attachments
(1 file, 1 obsolete file)
26.55 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040808 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8a3) Gecko/20040808 The current top-of-tree builds are rumored to have support enabled for the npruntime extensions. Unfortunately, I can't figure out how to add that support to my existing plugin. Based on past experience, I assume I'm doing something stupid, but it's going to be a pain to figure out *what* as long as I'm working in the dark. Is there any possibility of having some sample code of a simple plugin that implements the npruntime api? Reproducible: Always Steps to Reproduce:
Comment 1•19 years ago
|
||
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Reporter | ||
Comment 2•19 years ago
|
||
If you want developers to support the Mozilla platform by writing plugins, you MUST provide sample code. If you don't want developers, you might as well remove the plugin interface altogether. Just think how many bugs could be closed off if you remove support for plugins!
Yes, I think this is reasonable.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•19 years ago
|
||
I think bug 283878 is the plugin sdk for npruntime. We still need an example for npruntime to show how the npruntime plugin can be written. (In reply to comment #4) > note bug 283878 and its patch >
Assignee | ||
Comment 6•19 years ago
|
||
I'd like to take this bug. But it seems that I don't have the permission to do that. I wonder who can help me to assign the bug to me, and if I want to have the permission, what should I do? Thanks. I'll post the patch for the bug later.
Assignee | ||
Comment 8•19 years ago
|
||
This patch implements a plugin based on the NPRuntime API. It simply get/set property from/to the plugin object, and call the method defined by the object. I also provide a test page for this plugin.
Attachment #206498 -
Flags: review?(jst)
Assignee | ||
Comment 9•18 years ago
|
||
Update the sample plugin patch based on the last enumeration checkin.
Attachment #206498 -
Attachment is obsolete: true
Attachment #213723 -
Flags: review?(jst)
Attachment #206498 -
Flags: review?(jst)
Comment 10•14 years ago
|
||
Comment on attachment 213723 [details] [diff] [review] Patch v2 for trunk Clearing review request, sorry for completely dropping the ball on this. This patch, and bug, is probably obsolete by now.
Attachment #213723 -
Flags: review?(jst)
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
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
•