[Webkit-unassigned] [Bug 46270] New: Web Inspector: IndexedDB interface

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 22 09:48:23 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46270

           Summary: Web Inspector: IndexedDB interface
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jorlow at chromium.org
                CC: timothy at apple.com, andreip at google.com, rik at webkit.org,
                    keishi at webkit.org, pmuellr at yahoo.com,
                    joepeck at webkit.org, pfeldman at chromium.org,
                    yurys at chromium.org, jorlow at chromium.org,
                    bweinstein at apple.com, loislo at chromium.org


The inspector should be able to inspect IndexedDB.

IndexedDB consists of a series of object stores which map keys (strings, ints, nulls, dates, and maybe arrays of these in the future) to serialized script values + indexes which map a key to an object store entry.  For each index/object store, there's a bit of meta-data (like name, key path, etc).

I'd anticipate the IndexedDB entry on the left side of the storage bar expanding to show all databases in that origin, those expanding to show all object stores, and those expanding to show all indexes associated with them.  And then when you click on an object store, it'd show you the mapping from key to value.  The values, since they can be arbitrary javascript, would probably reuse some of the code the inspector already has to inspect values.  After a user changes a value, we'd need to verify it is still serializable via the structured clone algorithm.  (This is easy: just see if SerializedScriptValue can still serialize it.)  All keys would be read-only since they're extracted from the actual value via the "key path".

If someone has some spare cycles to look at this, it'd be really great!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list