Open Bug 1713772 Opened 3 years ago Updated 3 years ago

Indexed DB JSON gets parsed as an array of strings, should get parsed as JSON instead

Categories

(DevTools :: Storage Inspector, defect, P3)

Firefox 89
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: lorikkonjusevci, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

Steps to reproduce:

I wanted to inspect my Indexed DB on my site which contains JSON.

Actual results:

The JSON got parsed as an array of random chunks of string.

Expected results:

It should have gotten parsed as JSON instead of an array of random strings.

Component: Untriaged → Storage Inspector
Product: Firefox → DevTools
Severity: -- → S3
Flags: needinfo?(balbeza)
Priority: -- → P3

Hi :lorikkonjusevci , thanks for the report! What is the actual IndexedDB call you are using to store the data? Could you please provide a URL or a code snippet that showcases this issue? Thanks

Flags: needinfo?(balbeza) → needinfo?(lorikkonjusevci)

Hi :ladybenko, the database is being generated using localforage.
Here is how: https://imgur.com/a/MsnHTbl

Let me know if you need anything else

Flags: needinfo?(lorikkonjusevci) → needinfo?(balbeza)
Flags: needinfo?(balbeza)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: