Closed
Bug 735443
Opened 13 years ago
Closed 13 years ago
Can't work with localStorage from the web console
Categories
(DevTools :: Console, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 726949
People
(Reporter: jbalogh, Unassigned)
Details
I can't call localStorage methods from the web console. It throws an error: [14:20:39.666] localStorage.getItem('userData') [14:20:39.671] [Exception... "Illegal operation on WrappedNative prototype object" nsresult: "0x8057000c (NS_ERROR_XPC_BAD_OP_ON_WN_PROTO)" location: "JS frame :: Web Console :: <TOP_LEVEL> :: line 1" data: no] I'm using Nightly (Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120312 Firefox/13.0a1).
Comment 1•13 years ago
|
||
This is the same regression as bug 726949.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Comment 2•13 years ago
|
||
Joe, in GCLI entering {localStorage.getItem('userData')} results in an "Instance of Object" output, which if inspected reveals the above error. Is this by design, or an implementation artifact that we should fix?
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•