sysapps / runtime

Runtime and Security Model for Hosted Web Applications and Packaged Applications
6 stars 13 forks source link

Send "terminate" event on Application object when an application is paused #109

Open seanlong opened 11 years ago

seanlong commented 11 years ago

The spec does not specify whether a "terminate" event will be fired when a paused application transitions to a terminate state.

Is it means that when an app is paused, UA should not resume it to handle the "terminate" event? What about there's another application hold that application's Application object and registered the onterminate() event handler? I think that Application object should get a "terminate" event.