[whatwg] Proposal for Web Storage expiration
timeless
timeless at gmail.com
Fri Jul 30 00:23:26 PDT 2010
On Thu, Jul 29, 2010 at 8:57 PM, Nicholas Zakas <nzakas at yahoo-inc.com> wrote:
> setter creator void setItem(in DOMString key, in any data, [Optional] in
> unsigned long ttl);
> * If a TTL was previously set, and another call is made to setItem() that contains an invalid TTL (<= 0), then the original TTL remains.
As you've specified ttl as unsigned, the callee will not see your
'invalid' ttl, it will see a 'very large' ttl.
More information about the whatwg
mailing list