[Project_owners] XPCOM call local function

joe ertaba belaviyo at gmail.com
Fri Jan 30 12:22:22 PST 2009


Hi

I have a XPCOM Component in my extension for observing a process, it can
detect process, now my question is how to call extension functions from
XPCOM Component ?

example:

MyExtension
-component
-chrome
--content
---a_js_file.js
   function foo(var1){
     .....
   }
---a_xul_file.xul

what I want to do is to call foo(...) from XPCOM

can somebody help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20090130/1f325704/attachment.html>


More information about the Project_owners mailing list