Ajit Web wrote:
I am trying to use XPCOM object through the Javascript code in an xbl file. I want to register both the xpcom object and the xbl file for use at the client side.
[...]
This type of structure works for local file. ie. if I place both files in a directory on client and try opening in the Netscape brower. But it doesn't work when I shift the application files to web ie keep on the webserver.

XPCOM components can do anything, there is no sandbox or other security measures. For this reason only files explicitly *installed* on the local computer can be XPCOM components. (actually, signed code which the user granted permissions could probably do this too, but it would be easier to simply install what you need.)


Presumably you suspected this since you posted to the n.p.m.xpinstall newsgroup rather than n.p.m.xpcom

-Dan Veditz
_______________________________________________
Mozilla-xpinstall mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpinstall

Reply via email to