This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19000 - I would like to see localStorage enhanced. localStorage could easily be enhanced to meet the needs for an offline database. A call such as localStorage(key, callback); should be available. This would provide an instantly understandable way for developers
Summary: I would like to see localStorage enhanced. localStorage could easily be enhan...
Status: RESOLVED WONTFIX
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 00:55 UTC by contributor
Modified: 2012-10-10 02:26 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2012-09-25 00:55:50 UTC
Specification: http://www.w3.org/TR/webstorage/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
I would like to see localStorage enhanced.

localStorage could easily be enhanced to meet the needs for an offline
database. A call such as localStorage(key, callback); should be available.
This would provide an instantly understandable way for developers to write
powerful offline storage solutions.

This could provide an intermediate solution between regular localStorage and
indexedDB.

Posted from: 71.79.27.22
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1
Comment 1 Ian 'Hixie' Hickson 2012-10-10 02:26:15 UTC
While I agree, the last time I tried adding features to Web Storage the browser vendors pretty uniformly told me that they had no interest in adding new features to it and that IndexDB was the way forward.