Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Calling XPCOM from browser content

12 views
Skip to first unread message

Michael Suhr

unread,
Jul 31, 2013, 4:38:41 PM7/31/13
to
Hello,

I try to call some XPCOM methods from content of a browser element but
thisn't work.
I know that only trusten packages are allowed to use these methods (File
Access e.g).

But I want to create some kind of bridge to enable special calls. So you
can list Files from WebContent for example. Is this possible?

This needed to create an Web-App which is wrapped in XUL (browser
element) where you can show a file explorer

Greets

Michael Suhr

unread,
Jul 31, 2013, 5:15:50 PM7/31/13
to
I have also read the chapter for sending from/to untrusted content
(https://developer.mozilla.org/en-US/docs/Code_snippets/Interaction_between_privileged_and_non-privileged_pages#Sending_data_from_unprivileged_document_to_chrome)

But I want to know if there is another possibility to do this.

Greets
MCMicS
0 new messages