RESOLVED FIXED 92203
IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
https://bugs.webkit.org/show_bug.cgi?id=92203
Summary IndexedDB: WebKit API interfaces for "upgradeneeded" methods and events
David Grogan
Reported 2012-07-24 21:05:39 PDT
IndexedDB: WebKit API changes to support upgradeneeded methods and events
Attachments
Patch (6.63 KB, patch)
2012-07-24 21:13 PDT, David Grogan
no flags
Patch (6.61 KB, patch)
2012-07-25 00:12 PDT, David Grogan
no flags
David Grogan
Comment 1 2012-07-24 21:13:46 PDT
WebKit Review Bot
Comment 2 2012-07-24 21:15:10 PDT
Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.
David Grogan
Comment 3 2012-07-24 21:20:45 PDT
Josh, could you take a look at this?
Joshua Bell
Comment 4 2012-07-24 22:01:28 PDT
Comment on attachment 154239 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154239&action=review LGTM, just naming nits. > Source/WebKit/chromium/public/WebIDBCallbacks.h:61 > + virtual void onBlocked(long long existingVersion) { WEBKIT_ASSERT_NOT_REACHED(); } Is there significance to calling this "existingVersion" rather than "oldVersion"? > Source/WebKit/chromium/public/WebIDBDatabaseCallbacks.h:38 > + virtual void onVersionChange(long long currentVersion, long long requestedVersion) { WEBKIT_ASSERT_NOT_REACHED(); } Can these be "oldVersion" and "newVersion" to align with the spec properties?
David Grogan
Comment 5 2012-07-25 00:11:19 PDT
Comment on attachment 154239 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=154239&action=review >> Source/WebKit/chromium/public/WebIDBCallbacks.h:61 >> + virtual void onBlocked(long long existingVersion) { WEBKIT_ASSERT_NOT_REACHED(); } > > Is there significance to calling this "existingVersion" rather than "oldVersion"? No, thanks for catching that. >> Source/WebKit/chromium/public/WebIDBDatabaseCallbacks.h:38 >> + virtual void onVersionChange(long long currentVersion, long long requestedVersion) { WEBKIT_ASSERT_NOT_REACHED(); } > > Can these be "oldVersion" and "newVersion" to align with the spec properties? SG.
David Grogan
Comment 6 2012-07-25 00:12:22 PDT
David Grogan
Comment 7 2012-07-25 16:02:34 PDT
WebKit API reviewers, this is ready for you.
WebKit Review Bot
Comment 8 2012-07-25 23:37:57 PDT
Comment on attachment 154278 [details] Patch Clearing flags on attachment: 154278 Committed r123710: <http://trac.webkit.org/changeset/123710>
WebKit Review Bot
Comment 9 2012-07-25 23:38:02 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.