Closed
Bug 900933
Opened 11 years ago
Closed 11 years ago
Alarm API - AlarmsManager.remove() should use sendAsyncMessage()
Categories
(Core :: DOM: Device Interfaces, defect)
Core
DOM: Device Interfaces
Tracking
()
RESOLVED
FIXED
mozilla25
People
(Reporter: airpingu, Assigned: airpingu)
References
Details
Attachments
(1 file)
2.70 KB,
patch
|
nsm
:
review+
|
Details | Diff | Splinter Review |
First of all, .remove() should return nothing according the spec. Secondly, we shouldn't wait for the return of sendSyncMessage, where the remove is actually performing asynchronous DB interaction. [1] https://developer.mozilla.org/en-US/docs/Web/API/MozAlarmsManager.remove
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #784952 -
Flags: review?(nsm.nikhil)
Assignee | ||
Comment 2•11 years ago
|
||
Try: https://tbpl.mozilla.org/?tree=Try&rev=1c76f38f92b1
Comment on attachment 784952 [details] [diff] [review] Patch Review of attachment 784952 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/alarm/AlarmsManager.js @@ +92,1 @@ > "AlarmsManager:Remove", Nit: Can you remove the trailing whitespace.
Attachment #784952 -
Flags: review?(nsm.nikhil) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Fixed trailing white space and land the patch. https://hg.mozilla.org/integration/mozilla-inbound/rev/1387a91ce0bc
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1387a91ce0bc
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in
before you can comment on or make changes to this bug.
Description
•