Opened 9 years ago

Closed 8 years ago

#10476 closed enhancement (duplicate)

[patch][cla] localStorage provider for dojox.storage

Reported by: Jens Arps Owned by: Shane O'Sullivan
Priority: high Milestone: tbd
Component: Dojox Version: 1.4.0b
Keywords: storage Cc:
Blocked By: Blocking:

Description

This patch adds support for localStorage.

Currently, dojox.storage has support for globalStorage, Gears, Flash and Air, but not localStorage. As all latest browsers except Opera support localStorage, it might be a good thing to have localStorage support in dojox.storage.

This is pretty close to the WhatWGStorageProvider (globalStorage), which was aimed at Firefox' early implementation. LocalStorageProvider? passes all tests in the dojox.storage test page.

Attachments (1)

localStorage.patch (6.1 KB) - added by Jens Arps 9 years ago.

Download all attachments as: .zip

Change History (7)

Changed 9 years ago by Jens Arps

Attachment: localStorage.patch added

comment:1 Changed 9 years ago by Adam Peller

Owner: changed from Adam Peller to Shane O'Sullivan

comment:2 Changed 9 years ago by juzzam

This is sorely needed.

comment:3 Changed 9 years ago by juzzam

It seems as though the patch is missing?

comment:4 Changed 9 years ago by Jens Arps

The patch is there, but you have to download it to see it – I used the wrong file extension, so it's contents won't be displayed directly.

comment:5 Changed 9 years ago by Jens Arps

NOTE: I submitted another patch that includes all new storage providers: IE userData behavior, Cookie and localStorage: http://bugs.dojotoolkit.org/ticket/10618

Sorry if I caused confusion.

comment:6 Changed 8 years ago by Jens Arps

Resolution: duplicate
Status: newclosed

Fixed in #10618

Note: See TracTickets for help on using tickets.