Closed Bug 1472608 Opened 7 years ago Closed 5 years ago

IndexedDB changes aren't reflected in the web developer tools

Categories

(DevTools :: Storage Inspector, defect, P2)

defect

Tracking

(firefox61 affected, firefox62 affected, firefox63 affected)

RESOLVED DUPLICATE of bug 1273802
Tracking Status
firefox61 --- affected
firefox62 --- affected
firefox63 --- affected

People

(Reporter: prahladyeri14, Unassigned)

Details

Attachments

(1 file)

Attached file idb.html
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180607194748 Steps to reproduce: 1. Add a simple script to your HTML that creates an IndexedDB data store and adds and object to it (see attachment). 2. Verify it from firefox developer tools => Storage => Indexed DB. 3. Delete the data store by right clicking. 4. Rerun the script by refreshing the HTML. Actual results: 1. The results of step-3 (delete data store) are intermittent. Firefox prompts a status message such as "Database "test (Default)" will be deleted after all connections are closed.", but the deletion isn't reflected in the developer tools (the small refresh icon doesn't seem like working at all). 2. Once you refresh the page, the "request:onupgradeneeded" should fire again since the old database was deleted, but again its intermittent and doesn't always fire. Expected results: 1. The results (of step-3) should immediately reflect, Firefox shouldn't wait for something for deletion of a datastore. Since the page has already been loaded (and assuming no script running in background), what "all connections" need to be closed here? 2. Upon a page refresh, the state of the IndexedDB in the developer tools should also reflect those changes immediately, but it doesn't happen. 3. Finally, I'm using Firefox 60.0.2 on Xubuntu 16.04 LTS (64bit) if that matters.
I managed to reproduce this issue on Ubuntu 16.04, Windows 10 and Mac OS, Firefox 60.0, 61.0, Firefox 62.0b5 and Nightly 63.0a1 (2018-07-05). I am marking the bug as New on DOM:IndexDB component.
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM: IndexedDB
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Version: 60 Branch → Trunk
Component: DOM: IndexedDB → General
Product: Core → DevTools
Component: General → Storage Inspector
Has STR: --- → yes
Priority: -- → P2
Hardware: Unspecified → All
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: