Closed Bug 1381590 Opened 5 years ago Closed 4 years ago

Storage Inspector doesn't show storage for file:// URLs

Categories

(DevTools :: Storage Inspector, defect, P2)

54 Branch
defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox61 --- fixed

People

(Reporter: alfred_z, Assigned: miker)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170628075643

Steps to reproduce:

I created a start page as local html file that makes use of the IndexedDB APIs.
Then I activated the storage inspector and tried to inspect the created DB entries.


Actual results:

The page - and by extension the API itself - works as intended, but the created database isn't shown in the IndexedDB section of the storage inspector.



Expected results:

The storage inspector should have shown the created database and its content.

However, it works if the file gets served e.g. via localhost instead of directly opening the file.
This might be a regression of a resolved bug from about 8 months ago.
Component: Untriaged → Developer Tools: Storage Inspector
Sounds like a security change must have broken this one.
Whiteboard: [todo-mr][t1]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Storage Inspector doesn't show indexedDB data for local file pages (regression?) → Storage Inspector doesn't show indexedDB data for file:// URLS (regression?)
Priority: -- → P2
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
OS: Unspecified → All
Hardware: Unspecified → All
Whiteboard: [todo-mr][t1]
Summary: Storage Inspector doesn't show indexedDB data for file:// URLS (regression?) → Storage Inspector doesn't show storage for file:// URLs
Attachment #8958145 - Flags: review?(pbrosset)
Comment on attachment 8958145 [details]
Bug 1381590 - Make Storage Inspector work with file:// URLs

https://reviewboard.mozilla.org/r/227086/#review233428
Attachment #8958145 - Flags: review?(pbrosset) → review+
Pushed by mratcliffe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/71eb44102dd4
Make Storage Inspector work with file:// URLs r=pbro
https://hg.mozilla.org/mozilla-central/rev/71eb44102dd4
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.