Christian Biesinger wrote:
Louise McCrowe wrote:

So, here is a related question:  How can I access a file within the
chrome hierarchy?  So, something like

Hm. nsILocalFile is not the right thing. But I am not sure what would be right, I suggest you ask in netscape.public.mozilla.netlib as you would probably use the networking library for that.



use nsIIOService::newURI to construct a nsIURI for the chrome:// URL. then you can open a channel (nsIIOService::newChannelFromURI) to the contents of the chrome file.

darin


Reply via email to