hugoloza / gwt-mobile-webkit

Automatically exported from code.google.com/p/gwt-mobile-webkit
2 stars 0 forks source link

Add 'isSupported()' for both the localStorage and the sessionStorage individually. #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Run the Storage API sample in a Chrome4 browser, or in Opera10.50b1. The 
localStorage is operational, while the sessionStorage is not (see 
http://www.w3.org/2010/01/results-wctmb2).

This 'feature' should be distinguishable in the API by adding 
'isLocalStorageSupported()' and 'isSessionStorageSupported()' to the Storage 
class.

Original issue reported on code.google.com by bguijt on 25 Feb 2010 at 1:08

GoogleCodeExporter commented 9 years ago

Original comment by bguijt on 28 Feb 2010 at 3:08

GoogleCodeExporter commented 9 years ago
The current `isSupported()` method only checks for the presence of 
`localStorage`. The method will be 
changed to check for both `localStorage` *and* `sessionStorage` for 
reliability's sake.

Two new methods will be added: `isLocalStorageSupported()` and 
`isSessionStorageSupported()`.

Original comment by bguijt on 28 Feb 2010 at 6:44

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r320.

Original comment by bguijt on 28 Feb 2010 at 11:30