DescriptionMake chrome.alarms API accept non-integers and too-short delays, and lower the minimum.
We still don't honor the too-short delays (this CL actually makes us
more aggressive about not honoring them), but I've lowered the limit
to 1 minute, and we emit a warning to the console instead of erroring,
and we emit this warning even in dev mode since people were getting
surprised by the difference in behavior between dev and release.
I've also moved the frequency description into the create()
documentation from the chrome.alarms summary, at joemarini's request.
And I fixed the eventPages example to work with trunk Chrome.
BUG=168519, 159879
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176004
Patch Set 1 #
Total comments: 9
Patch Set 2 : Fix Yoyo's comments #Patch Set 3 : After discussion, switch to 1-minute minimum alarm time #
Total comments: 2
Messages
Total messages: 10 (0 generated)
|