Bug 102018

Summary: IndexedDB: simplify RecordIdentifier
Product: WebKit Reporter: Alec Flett <alecflett>
Component: New BugsAssignee: Alec Flett <alecflett>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, dgrogan, jsbell, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 102450    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Patch for landing
none
Patch for landing
none
Patch for landing none

Alec Flett
Reported 2012-11-12 17:28:18 PST
IndexedDB: simplify RecordIdentifier
Attachments
Patch (29.46 KB, patch)
2012-11-12 17:30 PST, Alec Flett
no flags
Patch (28.78 KB, patch)
2012-11-15 17:15 PST, Alec Flett
no flags
Patch (28.81 KB, patch)
2012-11-16 15:23 PST, Alec Flett
no flags
Patch (28.81 KB, patch)
2012-11-16 15:33 PST, Alec Flett
no flags
Patch for landing (28.81 KB, patch)
2012-11-16 15:36 PST, Alec Flett
no flags
Patch for landing (28.80 KB, patch)
2012-11-16 17:34 PST, Alec Flett
no flags
Patch for landing (28.79 KB, patch)
2012-11-19 10:38 PST, Alec Flett
no flags
Alec Flett
Comment 1 2012-11-12 17:30:51 PST
Alec Flett
Comment 2 2012-11-12 17:31:48 PST
jsbell/dgrogan - quick once-over? tony - r?
WebKit Review Bot
Comment 3 2012-11-13 08:08:31 PST
Comment on attachment 173771 [details] Patch Attachment 173771 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14813822 New failing tests: storage/indexeddb/mozilla/object-store-remove-values.html storage/indexeddb/index-unique.html storage/indexeddb/cursor-skip-deleted.html storage/indexeddb/mozilla/cursor-mutation.html storage/indexeddb/cursor-delete.html storage/indexeddb/cursor-index-delete.html storage/indexeddb/mozilla/cursors.html storage/indexeddb/delete-range.html
Joshua Bell
Comment 4 2012-11-15 15:46:07 PST
Sorry, just getting a chance to look at this now. The source of the test failures isn't obvious - were you able to track it down? Overall the change looks good, although you may want to mark the constructors explicit.
Alec Flett
Comment 5 2012-11-15 17:15:23 PST
Alec Flett
Comment 6 2012-11-15 17:42:04 PST
thanks for the pointer on explicit-ness. I ended up spinning that out into bug 102450 since the actual classes missing explicitness weren't from this patch.
WebKit Review Bot
Comment 7 2012-11-16 03:35:02 PST
Comment on attachment 174566 [details] Patch Attachment 174566 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14873080 New failing tests: storage/indexeddb/mozilla/object-store-remove-values.html storage/indexeddb/index-unique.html storage/indexeddb/cursor-skip-deleted.html storage/indexeddb/mozilla/cursor-mutation.html storage/indexeddb/cursor-delete.html storage/indexeddb/cursor-index-delete.html storage/indexeddb/mozilla/cursors.html storage/indexeddb/delete-range.html
Alec Flett
Comment 8 2012-11-16 15:23:49 PST
Alec Flett
Comment 9 2012-11-16 15:30:15 PST
*** Bug 101668 has been marked as a duplicate of this bug. ***
Alec Flett
Comment 10 2012-11-16 15:30:51 PST
ok, the breakage was a stupid typo on my part (declared a subclass with a variable name that was identical to the parent class, etc)
Alec Flett
Comment 11 2012-11-16 15:33:06 PST
Created attachment 174771 [details] Patch One other minor optimization to avoid a Vector<char> copy
Tony Chang
Comment 12 2012-11-16 15:36:33 PST
Comment on attachment 174771 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=174771&action=review > Source/WebCore/Modules/indexeddb/IDBBackingStore.h:119 > + virtual const RecordIdentifier& recordIdentifier() const { return m_recordIdentifier; } Nit: extra space between const and {
Alec Flett
Comment 13 2012-11-16 15:36:50 PST
Created attachment 174773 [details] Patch for landing
WebKit Review Bot
Comment 14 2012-11-16 16:01:36 PST
Comment on attachment 174773 [details] Patch for landing Rejecting attachment 174773 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 1 ERROR: /mnt/git/webkit-commit-queue/Source/WebCore/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive). Full output: http://queues.webkit.org/results/14860431
Alec Flett
Comment 15 2012-11-16 17:34:24 PST
Created attachment 174788 [details] Patch for landing
WebKit Review Bot
Comment 16 2012-11-16 18:11:08 PST
Comment on attachment 174788 [details] Patch for landing Rejecting attachment 174788 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '-..." exit_code: 2 Last 500 characters of output: mit-queue/Source/WebKit/chromium/third_party/skia/src --revision 6424 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 48>At revision 6424. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Full output: http://queues.webkit.org/results/14880036
Alec Flett
Comment 17 2012-11-19 10:38:16 PST
Created attachment 175005 [details] Patch for landing
WebKit Review Bot
Comment 18 2012-11-19 11:16:06 PST
Comment on attachment 175005 [details] Patch for landing Clearing flags on attachment: 175005 Committed r135177: <http://trac.webkit.org/changeset/135177>
WebKit Review Bot
Comment 19 2012-11-19 11:16:11 PST
All reviewed patches have been landed. Closing bug.
Adam Barth
Comment 20 2012-11-19 17:10:43 PST
Comment on attachment 175005 [details] Patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=175005&action=review > Source/WebCore/Modules/indexeddb/IDBBackingStore.h:76 > + DISALLOW_COPY_AND_ASSIGN(RecordIdentifier); Isn't this a Chromium macro rather than a WebKit macro? /me is getting compile failures on this line.
Note You need to log in before you can comment on or make changes to this bug.