Closed Bug 1173701 Opened 11 years ago Closed 9 years ago

Improve storage inspectors parsing of storage values (uriencoded etc.)

Categories

(DevTools :: Storage Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1260382

People

(Reporter: miker, Assigned: miker)

Details

The storage inspector currently fails to deal with URI encoded strings (I discovered this when using JSFiddle as a test case). Cookie values are ASCII only in Firefox and URIEncoding them is a common way to deal with international character sets so we should handle this case. Handling of key value pairs should also be improved... this: "24b38||t=142|et=730|cs=002212" Is displayed as an array structure: id: Array 0: 24b38||t 1: 142|et 2: 730|cs 3: 002212 length: 4 This: "{a:1, b:2, c:3}" produces this: value: Object {a: "1" b: "2" c: "3}" We should do a better job of parsing these common patterns. The relevant code is found in browser/devtools/storage/ui.js::parseItemValue()
Summary: Storage inspector should attempt to format URI encoded strings in case they are L10N JSON → Improve storage inspectors parsing of storage values (uriencoded etc.)
This was fixed as part of bug 1260382
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.