IDBDataView for an IndexedDB index throws a TypeError after refreshing |
||
Issue description
Navigate to an IDB index and refresh the IDB. IDBDataView throws an error and the index key list is not displayed.
Uncaught (in promise) TypeError: Cannot read property 'keyPath' of undefined
at Resources.IDBDataView._createDataGrid (IndexedDBViews.js:136)
at Resources.IDBDataView.update (IndexedDBViews.js:248)
at Resources.IDBIndexTreeElement.update (ApplicationPanelSidebar.js:1382)
at Resources.IDBObjectStoreTreeElement.update (ApplicationPanelSidebar.js:1290)
at Resources.IDBDatabaseTreeElement.update (ApplicationPanelSidebar.js:1185)
at Resources.IndexedDBTreeElement._indexedDBLoaded (ApplicationPanelSidebar.js:1106)
at Resources.IndexedDBModel.dispatchEventToListeners (Object.js:112)
at Resources.IndexedDBModel._loadDatabase (IndexedDBModel.js:326)
at <anonymous>
,
Sep 25 2017
Looked around a bit, and it seems like IDBIndexTreeElement is not updating the view properly (it should be passed an objectstore as well) https://cs.chromium.org/chromium/src/third_party/WebKit/Source/devtools/front_end/resources/ApplicationPanelSidebar.js?l=1382 https://cs.chromium.org/chromium/src/third_party/WebKit/Source/devtools/front_end/resources/IndexedDBViews.js?l=242
,
Dec 13 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by paulir...@chromium.org
, Sep 11 2017Owner: eostroukhov@chromium.org
Status: Assigned (was: Untriaged)