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)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: lorikkonjusevci, Unassigned)
Details
Attachments
(1 file)
316.58 KB,
image/png
|
Details |
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.
Reporter | ||
Updated•3 years ago
|
Component: Untriaged → Storage Inspector
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: -- → S3
Flags: needinfo?(balbeza)
Priority: -- → P3
Comment 1•3 years ago
|
||
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)
Reporter | ||
Comment 2•3 years ago
|
||
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)
Updated•3 years ago
|
Flags: needinfo?(balbeza)
You need to log in
before you can comment on or make changes to this bug.
Description
•