[Webkit-unassigned] [Bug 97375] New: IndexedDB: Remove IDBKey from WebKitIDL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 21 15:41:56 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97375
Summary: IndexedDB: Remove IDBKey from WebKitIDL
Product: WebKit
Version: 523.x (Safari 3)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jsbell at chromium.org
CC: dgrogan at chromium.org, alecflett at chromium.org
The WebKit IDB implementation creates a special type, IDBKey, and exposes it in the WebKitIDL files for IDL types, e.g.:
[CallWith=ScriptExecutionContext] IDBRequest put(in any value, in [Optional] IDBKey key)
raises (IDBDatabaseException);
This requires logic in the code generator and custom binding code (V8 and JSC) to have special cases for IDBKey.
Alternately, we could match the WebIDL and just have this be an "any", and then expose functions (in the binding layer, I guess) which the implementation of put() (for example) would call to map a DOMObject (usually a ScriptObject) into an IDBKey (or fail).
That would also be a good time to make IDBKey a value type instead of a refcounted class.
--
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