Bug 145851 - Web Inspector: IndexedDB data not showing for MDN example page
Summary: Web Inspector: IndexedDB data not showing for MDN example page
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-10 12:20 PDT by jonowells
Modified: 2015-06-11 17:42 PDT (History)
9 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (1.47 KB, patch)
2015-06-11 13:49 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jonowells 2015-06-10 12:20:51 PDT
If you navigate to https://mdn.mozillademos.org/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB$samples/Full_IndexedDB_example?revision=798695, the IndexedDB data does not show in the Storage tab. This is likely a bug of some sort with this implementation because IndexedDB does work in other instances, for instance when you inspect Web Inspector.
Comment 1 Radar WebKit Bug Importer 2015-06-10 12:21:08 PDT
<rdar://problem/21325445>
Comment 2 Joseph Pecoraro 2015-06-11 13:44:54 PDT
[Error] Uncaught exception in inspector page while dispatching callback for command IndexedDB.requestDatabase
TypeError: this._addIndexedDatabaseWasAdded is not a function. (In 'this._addIndexedDatabaseWasAdded(event.data.indexedDatabase)', 'this._addIndexedDatabaseWasAdded' is undefined)

I'll take a quick look!
Comment 3 Joseph Pecoraro 2015-06-11 13:46:18 PDT
Looks like a simple typo. 

  _addIndexedDatabaseWasAdded => _addIndexedDatabase

Double checking some more.
Comment 4 Joseph Pecoraro 2015-06-11 13:49:22 PDT
Created attachment 254756 [details]
[PATCH] Proposed Fix
Comment 5 WebKit Commit Bot 2015-06-11 14:40:57 PDT
Comment on attachment 254756 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 254756

Committed r185476: <http://trac.webkit.org/changeset/185476>
Comment 6 WebKit Commit Bot 2015-06-11 14:41:01 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Brian Burg 2015-06-11 17:42:32 PDT
Thanks for fixing that, Joe. Woulda done it myself, but #drburg