W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: Web Alarm API - idiomatic check

From: Jorge <jorge@jorgechamorro.com>
Date: Thu, 9 May 2013 00:17:04 +0200
Message-Id: <7FA77B3F-BC61-4D73-85B8-7C033F8093CD@jorgechamorro.com>
To: public-script-coord <public-script-coord@w3.org>
On 08/05/2013, at 23:16, Jake Verbaten wrote:

> a handy object is hard to persist on the server or persist in local storage between page refreshes.

Yes that seems to be very likely.

> .remove() should take a string or numeric id if you can use .remove() between page refreshes

On the other hand, if the objects returned by getAlarms() aren't clones (have the right identity) you should be able to use them to .remove().

But it's not entirely clear to me whether a getAlarms() is a good thing. Is this an API to use in web pages too? In mashups? And if I don't want other code in the same page to be able to .rmv() my alarms? What happens if the page/browser is closed when the the alarm triggers?
-- 
( Jorge )();
Received on Wednesday, 8 May 2013 22:17:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:49 UTC