Closed Bug 1182891 Opened 10 years ago Closed 7 years ago

alert() in mozAlarm doesn't execute if app is not alive and in foreground

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: dietrich, Unassigned)

Details

STR: 1. create a new mozAlarm in your app, set to fire soon, with an alert in the message handler 2. load your app, causing alarm to be set 3. kill your app immediately Expected: After alarm as fired, you open your app (which has been re-woken by alarm firing), you should see the alert in the message handler. Actual: No alert is seen. Note: If you do not kill the app, the alert is seen.
This is probably a window manager problem in the system app. https://developer.mozilla.org/en-US/docs/Web/Events/mozbrowsershowmodalprompt documents the mozbrowsershowmodalprompt message which is serviced by the system app. Unless you're talking about non-FxOS cases. Also, this may just be 1160923 if you're not sure that your app actually got the alarm.
Er, bug 1160923 for the magic linkifying win.
Cleaning up Device Interfaces component, and mass-marking old FxOS bugs as incomplete. If any of these bugs are still valid, please let me know.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.