From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) BuildID: N/A The example of scripting a plugin on http://www.mozilla.org/docs/scripting- plugins.html is flawed. The example of NPP_GetValue was obviously not taken from running code. Just follow the flow of scriptablePeer, it's declared twice in the method... meaning assignment doesn't happen as it should (scoping issue). Furthermore, the example seems to think instance->pdata holds the instance of nsScriptablePeer created... It is never set. Reproducible: Always Steps to Reproduce: 1.N/A 2. 3. Expected Results: example code should be from a plugin that had actually been run...
Ian, do you want to tackle this? Reassing to firstname.lastname@example.org (apparently now responsible for the doc, or at least updated it most recently) if you think this is not within your purview.
Assignee: rudman → oeschger
->av. Andrei, I'd be happy to update this doc if you tell me where to go with it.
Assignee: oeschger → av
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
AV corrected the issue, marking verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.