Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Script fails against Mozilla plugin

2 views
Skip to first unread message

seandr

unread,
Aug 4, 2008, 10:34:17 PM8/4/08
to
I've built a scriptable Mozilla plugin using the npruntime API that works
with Firefox, Netscape, and Mozilla.

With Opera, however, it appears the browser finds and loads the plugin just
fine, but JavaScript calls to its methods produce a "Type Mismatch" error.
For some reason, Opera doesn't recognize the object as scriptable, or it
can't find its methods.

Does anyone have any ideas what the problem might be? Does Opera support
npruntime plugins, or does it only supports the older and nearly obsolete
XPCOM APIs?

Thanks,
Sean

P.S. Is there a better place to get developer support? After hunting around
a bit, this was the only option I found.

Ken Knox

unread,
Aug 5, 2008, 5:46:51 AM8/5/08
to

See:

<URL: http://www.opera.com/docs/pluginapi/ >

--
Ken
Opera 9.24 - <http://www.opera.com>

Eirik Byrkjeflot Anonsen

unread,
Aug 21, 2008, 8:05:08 AM8/21/08
to
"seandr" <sea...@millisecond.com> writes:

> I've built a scriptable Mozilla plugin using the npruntime API that
> works with Firefox, Netscape, and Mozilla.
>
> With Opera, however, it appears the browser finds and loads the plugin
> just fine, but JavaScript calls to its methods produce a "Type
> Mismatch" error. For some reason, Opera doesn't recognize the object
> as scriptable, or it can't find its methods.
>
> Does anyone have any ideas what the problem might be? Does Opera
> support npruntime plugins, or does it only supports the older and
> nearly obsolete XPCOM APIs?

I don't think we've ever supported XPCOM. We have supported npruntime
for a while, but I wouldn't be surprised if it is still somewhat
buggy. When I first implemented it, I couldn't find anything to test
with. However, I haven't been involved with that code for a while, so
I don't really know what state it is in now.

eirik

landr...@gmail.com

unread,
Sep 2, 2008, 5:30:08 PM9/2/08
to

I also have a npruntime plugin that work for firefox and safari, but
not for Opera.
Who is in charge of the npruntime support ?

Luc

Eirik Byrkjeflot Anonsen

unread,
Sep 4, 2008, 5:35:51 AM9/4/08
to
landr...@gmail.com writes:

Well, there's the core netscape plug-in team which deals with the
cross-platform support, and the desktop unix netscape plug-in team
which deals with making the thing work on the unix desktop browser.
When she's not busy working on other things, of course :)

Since you're saying it works in both firefox and safari, it seems it
could be a useful test case for us. If we could have access to it,
I'll tell her about it. But as I said, she may be busy with other
things right now.

eirik

Eirik Byrkjeflot Anonsen

unread,
Sep 5, 2008, 10:20:24 AM9/5/08
to

She says she would be happy to hear from you (on the address
psm...@opera.com).

eirik

0 new messages