Closed
Bug 1110221
Opened 11 years ago
Closed 11 years ago
Using alarms require to set the alarm and receive the alarm on the same URL
Categories
(Developer Documentation Graveyard :: Apps, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rik, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
When you want to use alarms, you need to use the same URL for setting it and receiving it.
If you do navigator.mozAlarms.add() on foo.html and have { "alarm": "/index.html" } in your manifest, you'll never receive the alarm. Same if you do navigator.mozAlarms.add() on index.html?foo=bar and have { "alarm": "/index.html" } in your manifest.
| Reporter | ||
Updated•11 years ago
|
Component: General → Firefox OS
| Reporter | ||
Updated•11 years ago
|
Component: Firefox OS → Apps
Comment 1•11 years ago
|
||
Good call.
I have added a note to make this clear at
https://developer.mozilla.org/en-US/docs/Web/API/Alarm_API
https://developer.mozilla.org/en-US/docs/Web/API/MozAlarmsManager.add
https://developer.mozilla.org/en-US/Apps/Build/User_notifications/Using_Alarms_to_notify_users
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•