We nees a convenient tool which would allow to issue NPAPI calls and log the result for testing purposes. The place is mozilla/modules/plugin/tools/tester.
Tester plugin is there on windows and works pretty good. Changing summary to port tester plugin to other platforms :)
Summary: Create a tester plugin → port NPAPI tester plugin to other platforms
Created attachment 75699 [details] [diff] [review] patch to support NPN_ReqestRead() testing I used it as a test case for bug 115891, bug 120411 av, peter would you please review this?
Comment on attachment 75699 [details] [diff] [review] patch to support NPN_ReqestRead() testing Wow! I even forgot I did not implement this. This is great. I guess the following is not terribly necessary: -DWORD convertStringToNPPVariable1(DWORD * pdw1); +DWORD convertStringToNPPVariable1(DWORD * pdw1);; And you can take a full advantage of the project not being part of the regular build, just mention this fact in check in comments.
Attachment #75699 - Flags: review+
Comment on attachment 75699 [details] [diff] [review] patch to support NPN_ReqestRead() testing Sorry, forgot... r=av
on the trunk w/o extra ; in tester/include/strconv.h thanks.
reassigning to anthony, Anthony you'll need to get the scoop from serge, av and peterl
Assignee: av → anthonyd
Severity: normal → minor
Priority: -- → P4
Target Milestone: --- → Future
Assignee: anthonyd → peterlubczynski
We have zero (none, bupkiss) plugin test coverage in our automated suite. Poking this on the off chance that it still has the right assignee.
I will offer to mentor a student willing to write/fix/extend the NPAPI tester plugin for the Google Summer of Code: http://wiki.mozilla.org/Community:SummerOfCode08:Brainstorming#Mozilla_Platform I especially want comprehensive tests of the scriptable NPAPI.
Not going to block a minor release on this.
Flags: wanted1.9.0.x? → wanted1.9.0.x-
I didn't ask for it to block, I asked for it to be marked "wanted" as an indication that we'd take such a fix on the branch to give us some shred of test coverage there. :(
Flags: wanted1.9.0.x- → wanted1.9.0.x?
Wanted, but is anyone working on this? Josh?
Flags: wanted1.9.0.x? → wanted1.9.0.x+
QA Contact: shrir → plugins
Duping forward, we have a test plugin now. File new bugs for specific capabilities that would improve testing.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 386676
You need to log in before you can comment on or make changes to this bug.