On Jul 10, 2:23 am, Ashish <[EMAIL PROTECTED]> wrote:
> However, I can't access properties and methods of return XPCOM
> types, say nsIDomDocument or nsIInputStream, being returned by the
> method.

> I guess, since they aren't registered with "JavaScript Global
> property", I get permission denied on accessing them.

you're being rejected because they are enforcing security policies.
you should create very cautious wrappers. unfortunately, you don't
have enough information to do this, see below....

> I also tried to modify the navigation window's DOM from inside the
> xpcom component in the extension. However, I can't get a hold of the
> window object for the navigation window.

that's correct, this is a bug (I believe I filed it), there's no way
to get back to the window object from javascript addons.

_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to