incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-155) localStorage does not work with square brace notation
Date Thu, 05 Jan 2012 17:36:40 GMT


Jesse MacFadyen commented on CB-155:

These are the 2 cases that are not possible. ( same case really )
The only way to address this would be to pre-parse user code. ( until ecma harmony )
AFAIK, using this code should cause a JavaScript error to be shown in the VS output window.
Something like, Error accessing newKey of localStorage. newKey is undefined ... or something
similar. ( Can you post what you see when you try to set a new key/value with either of these
cases? )

> localStorage does not work with square brace notation
> -----------------------------------------------------
>                 Key: CB-155
>                 URL:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 1.3.0
>            Reporter: Colin Eberhardt
>            Assignee: Jesse MacFadyen
> Currently the WP7 localStorage shim works if you use localStorage setItem / getItem methods,
however, it fails if you use the square brace notation:
> localStorage["key"] = someValue;

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message