Vincent-
I know this a bit off topic for what you are looking for but i think you
could help me out if youfeel up to it. I can not seem to get a signed
Javascriot/html page working for my XPCom object. No matter what i try it
never seems to get me UniversalXPConnect privileges. I was wondering if you
could give me a hand getting that to work if you have the time. THanks in
advance.
Jon Petruska
[EMAIL PROTECTED]
"Vincent THOREL" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi All,
>
> I have written a XPCOM C++ Components.
> From a remote Web Site, I want to use this component,
> so I signed the JavaScript / HTML page using it with NSS tools.
> Greats now I can use this component from Http! It work in signed JAR and
> requested privilege("UniversalXPConnect") is accepted from remote host
> because it is signed.
>
> But the problem is, I want to use this component into a HTTPS page.
> And when I run this page, i got in Javascript console:
>
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x80570018
> (NS_ERROR_XPC_BAD_IID) [nsIJSCID.createInstance]" nsresult: "0x80570018
> (NS_ERROR_XPC_BAD_IID)" location: "JS frame ::
> jar:https://www.my-site.com/secure.jar!/signed.html :: initPluginCPS ::
> line
> 104" data: no]
>
> Did someone have any idear of what happen?
> Why it work in http?
> Why my https Site work too?
> And Why "Remote Controlling A C++ XPCOM Component In A Signed JavaScript
> Page In a HttpS WebSite don't work"?
>
> Great Thanks For Your Help!
> Please, any idear...
>
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom