Bug 98085 - IndexedDB: remove autogenerated objectStore/index id code
Summary: IndexedDB: remove autogenerated objectStore/index id code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alec Flett
URL:
Keywords:
Depends on: 97834
Blocks: 98682
  Show dependency treegraph
 
Reported: 2012-10-01 15:48 PDT by Alec Flett
Modified: 2012-10-08 18:17 PDT (History)
10 users (show)

See Also:


Attachments
Patch (31.05 KB, patch)
2012-10-08 13:22 PDT, Alec Flett
no flags Details | Formatted Diff | Diff
Patch (40.13 KB, patch)
2012-10-08 14:29 PDT, Alec Flett
no flags Details | Formatted Diff | Diff
Patch (39.31 KB, patch)
2012-10-08 14:46 PDT, Alec Flett
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Flett 2012-10-01 15:48:16 PDT
After we land bug 97834, we'll need to remove support for autogenerated objectStore  and index database ids.
Comment 1 Alec Flett 2012-10-08 13:22:44 PDT
Created attachment 167596 [details]
Patch
Comment 2 Alec Flett 2012-10-08 13:23:20 PDT
jsbell@ - quick once-over? mostly code removal.
Comment 3 Alec Flett 2012-10-08 13:34:39 PDT
jsbell@ - wait ignore that there were a few more things I just figured out I could remove.
Comment 4 WebKit Review Bot 2012-10-08 14:07:11 PDT
Comment on attachment 167596 [details]
Patch

Attachment 167596 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/14197024
Comment 5 Joshua Bell 2012-10-08 14:13:12 PDT
Comment on attachment 167596 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=167596&action=review

lgtm, one nit.

> Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp:-628
> -    ASSERT(maxIndexIds.size() == ids.size());

Why is this being removed?
Comment 6 Peter Beverloo (cr-android ews) 2012-10-08 14:21:05 PDT
Comment on attachment 167596 [details]
Patch

Attachment 167596 [details] did not pass cr-android-ews (chromium-android):
Output: http://queues.webkit.org/results/14228336
Comment 7 Alec Flett 2012-10-08 14:29:29 PDT
Created attachment 167610 [details]
Patch
Comment 8 WebKit Review Bot 2012-10-08 14:32:45 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.
Comment 9 Alec Flett 2012-10-08 14:33:32 PDT
ok this is ready - turns out the chromium side wasn't calling into the old API, thus could be removed in one shot. 

jsbell@ - ready for review. even more code/scaffolding removal than the previous patch.
Comment 10 Joshua Bell 2012-10-08 14:42:04 PDT
Comment on attachment 167610 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=167610&action=review

Still lgtm, w/ nits.

> Source/WebCore/ChangeLog:-1555
> -

Accidental whitespace removal?

> Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp:-628
> -    ASSERT(maxIndexIds.size() == ids.size());

Still want this assert?
Comment 11 Alec Flett 2012-10-08 14:46:59 PDT
Created attachment 167619 [details]
Patch
Comment 12 Alec Flett 2012-10-08 14:47:54 PDT
tony@ - r?

abarth@ - r? for chromium glue (just code removal)
Comment 13 WebKit Review Bot 2012-10-08 18:17:55 PDT
Comment on attachment 167619 [details]
Patch

Clearing flags on attachment: 167619

Committed r130708: <http://trac.webkit.org/changeset/130708>
Comment 14 WebKit Review Bot 2012-10-08 18:17:59 PDT
All reviewed patches have been landed.  Closing bug.