You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

24. May 2010, 22:15:26

svdb0

Posts: 70

NPAPI setproperty

Hi,

Is it possible that the NPAPI NPClass.setproperty() call is not implemented in Opera (or perhaps broken)?
I am creating my own plugin, and when I set a property in the plugin object, the setproperty() handler in my plugin is not called.
From JavaScript, it does look like the property is set — I can read the property again and get my value back — but nothing happens in the plugin. It kind of looks like there's a JavaScript object "on top" of my plugin object.

It's of course possible that I've made a mistake in my code, but it does work in FireFox. I also do not have any problems with other NPClass functions, like getproperty(), and invoke().

Is there a known issue with setproperty()?
I'm rather hesitant to spend time on creating a good test case and filing a bug report, as my numerous previous bug reports over the years seem to have been a waste of time. Are you using Akismet to block spam through the bug report wizard by any chance? For some reason, it used to choke on my initials a while back.

Forums » Opera for Windows/Mac/Linux » Opera browser