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>
http://dev.w3.org/cvsweb/2008/mobile-test/v2/script.js.diff?r1=1.14&r2=1.15&f=h

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 7 January 2010 18:53:26 GMT