I have written a XPCOM C++ Components.> [...]
[...] 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
Did someone have any idear of what happen?
This code extremly little used. You probably have found a bug in which the permissions are not correctly transmitted for htpps pages.
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"?
What do you mean by the https site works too ? Do you mean the fact it works as long as you don't try to run signed javascript from it ?
There's an old bug that looks very similar, but the reporter never gave enough information for reproduction, so it was closed :
https://bugzilla.mozilla.org/show_bug.cgi?id=90310
Can you test what happens with a simpler script that uses UniversalXPConnect, but not your XPCOM component, like the one in this message :
http://groups.google.fr/groups?selm=96f084a3.0308190144.5e6d2c19%40posting.google.com
If it fails, then it would be good to attache it to 90310, and reopen the bug.
I'm redirecting the discussion to netscape.public.mozilla.crypto _______________________________________________ Mozilla-security mailing list Mozilla-security@mozilla.org http://mail.mozilla.org/listinfo/mozilla-security