On Fri, Nov 16, 2012 at 7:33 PM, Salvador de la Puente González <[email protected]> wrote: > Hello guys > > Related with this bug [1] in Bugzilla, I was trying to understand how > function references are shared between processes. > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=801351#c65
JavaScript objects are not shared between processes. That includes JavaScript functions, of course. It also includes DOM objects. > the onclick > callback is called and executed... where? in MyApp context? I think so, > because if you close the application the callback is lost. A function can only be executed in the process which created it. -Justin _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
