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-security mailing list
Mozilla-security@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-security

Reply via email to