Open Bug 1054028 Opened 10 years ago Updated 4 years ago

Support Blob preview in indexed db storage actor and UI

Categories

(DevTools :: Storage Inspector, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: Optimizer, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: user-suggestion)

When a value for a indexed db entry is a Blob, the current actor simply returns an empty object as Blob cannot be serialized.

We should check on the server side send basic info about the blob as the value

 - size
 - type
 - Some special object calling out the entry as Blob

Then in the sidebar, we can get the actual value of the blob from the backend by reading it via FileReader and parsing it as plain text/ array/ data uri depending upon the type of the blob.

The front end also uses the type and displays the data correctly (image preview in case of data uri and image type, etc)
OS: Windows 7 → All
Hardware: x86_64 → All
Depends on: 1194190
Blocks: 1194190
No longer depends on: 1194190
Priority: -- → P2
Whiteboard: [todo-mr]
Filter on HOTFROG.
Whiteboard: [todo-mr] → [todo-mr][t3]
Severity: normal → enhancement
Product: Firefox → DevTools
Priority: P2 → P3
Blocks: 1667980
Severity: normal → S3
Whiteboard: [todo-mr][t3] → user-suggestion
You need to log in before you can comment on or make changes to this bug.