On Nov 17, 2012 6:53 AM, "Salvador de la Puente González" <[email protected]>
wrote:
> Ok, understood but then, how is it possible for System application to
> have a reference to another process' callback? Or is not it possible at
> all?

It is not possible.

> Because if I tap on a new SMS notification, it moves SMS
> application to the foreground but the callback was created in the SMS
> application.

It sounds like the system app somehow invokes the callback(s) which live in
the child process.

>> A function can only be executed in the process which created it.
>
> It makes sense, that is why, once you close the application, you can not
> execute the callback anymore.
>
> Thank you.
>
>
>
> ________________________________
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
nuestra política de envío y recepción de correo electrónico en el enlace
situado más abajo.
> This message is intended exclusively for its addressee. We only send and
receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx
 On Nov 17, 2012 6:53 AM, "Salvador de la Puente González" <[email protected]>
wrote:

> Hello Justin
>
> On 17/11/12 06:45, Justin Lebar wrote:
>
>> JavaScript objects are not shared between processes.  That includes
>> JavaScript functions, of course.  It also includes DOM objects.
>>
> Ok, understood but then, how is it possible for System application to
> have a reference to another process' callback? Or is not it possible at
> all? Because if I tap on a new SMS notification, it moves SMS
> application to the foreground but the callback was created in the SMS
> application.
>
>> A function can only be executed in the process which created it.
>>
> It makes sense, that is why, once you close the application, you can not
> execute the callback anymore.
>
> Thank you.
>
>
> ______________________________**__
>
> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar
> nuestra política de envío y recepción de correo electrónico en el enlace
> situado más abajo.
> This message is intended exclusively for its addressee. We only send and
> receive email on the basis of the terms set out at:
> http://www.tid.es/ES/PAGINAS/**disclaimer.aspx<http://www.tid.es/ES/PAGINAS/disclaimer.aspx>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to