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.
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.