W3C home > Mailing lists > Public > public-mwts@w3.org > January 2010

sessionStorage test committed

From: Kai Hendry <hendry@aplix.co.jp>
Date: Thu, 7 Jan 2010 18:52:52 +0000
Message-ID: <b24851261001071052o2d2ca9f7nd0034c9320b90f29@mail.gmail.com>
To: public-mwts <public-mwts@w3.org>

I changed the localStorage test to be similar to the newly committed
sessionStorage test. The previous localStorage tested what was stored
(the date) was read correctly back out. Now it really only tests if a
'set' did not throw.

I might have gotten a little too clever here, so I happy to hear some criticism.

I use the same 'test' key to try ensure there is no conflict, as I
believe they should be independent.

I also echo the counter. This could conceived as "fun" to be able to
see how many times one has executed the test on a particular browser.
Or rather dull and confusing. ;)

Kind regards,
Received on Thursday, 7 January 2010 18:53:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:08:03 UTC