Application object and browsing context

Hi there, 

I'm a little confused on how Application interface are used when working with multiple browsing contexts.

Consider two windows in one application both got the Application object and registered onpause() handlers.
When a pause event is triggered, which handler will process first?
And if one handler calls exit(),  then will the other handler be called before application quit?

This issue may also exist when a management app got the app's Application object.

Thanks,
Long Xiang

Received on Thursday, 25 April 2013 09:33:34 UTC