Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Issue 9691021: IndexedDB: Fix prefetching; cache was always being bypassed. (Closed)

Created:
8 years, 9 months ago by jsbell
Modified:
8 years, 9 months ago
Reviewers:
michaeln, hans, dgrogan
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

IndexedDB: Fix prefetching; cache was always being bypassed. Regression introduced in r119183 when "Null" and "Invalid" were disambiguated. Tests will require refactoring; tracked as crbug.com/118033 BUG=117920 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126719 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127509

Patch Set 1 #

Patch Set 2 : Added unit tests to verify prefetch cache is used #

Total comments: 1

Patch Set 3 : Chromium coding style #

Patch Set 4 : Ditch the test for now. #

Patch Set 5 : Fix memory leak #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M content/common/indexed_db/proxy_webidbcursor_impl.cc View 1 2 3 4 2 chunks +7 lines, -5 lines 1 comment Download

Messages

Total messages: 15 (0 generated)
jsbell
Oops, my bad. Thoughts on a test to ensure cache is getting used?
8 years, 9 months ago (2012-03-13 00:14:34 UTC) #1
michaeln
lgtm
8 years, 9 months ago (2012-03-13 00:44:12 UTC) #2
michaeln
unittests can work well for test at this grain size?
8 years, 9 months ago (2012-03-13 00:47:42 UTC) #3
jsbell
On 2012/03/13 00:47:42, michaeln wrote: > unittests can work well for test at this grain ...
8 years, 9 months ago (2012-03-13 17:42:20 UTC) #4
michaeln
http://codereview.chromium.org/9691021/diff/1002/content/common/indexed_db/proxy_webidbcursor_impl_unittest.cc File content/common/indexed_db/proxy_webidbcursor_impl_unittest.cc (right): http://codereview.chromium.org/9691021/diff/1002/content/common/indexed_db/proxy_webidbcursor_impl_unittest.cc#newcode24 content/common/indexed_db/proxy_webidbcursor_impl_unittest.cc:24: RendererWebIDBCursorImpl cursor(kInvalidIDBCursorId); I was wondering how the kInvalidIDBCursorId value ...
8 years, 9 months ago (2012-03-13 18:39:48 UTC) #5
jsbell
On 2012/03/13 18:39:48, michaeln wrote: > Hmmm... feels dirty to modify the impl class in ...
8 years, 9 months ago (2012-03-13 18:47:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/9691021/6
8 years, 9 months ago (2012-03-13 19:00:12 UTC) #7
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
8 years, 9 months ago (2012-03-14 01:30:03 UTC) #8
michaeln
On 2012/03/14 01:30:03, I haz the power (commit-bot) wrote: > The commit queue went berserk ...
8 years, 9 months ago (2012-03-14 01:37:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/9691021/6
8 years, 9 months ago (2012-03-14 18:32:16 UTC) #10
commit-bot: I haz the power
Change committed as 126719
8 years, 9 months ago (2012-03-14 20:26:02 UTC) #11
jsbell
The initial trivial fix was reverted because it exposed a memory leak. We must have ...
8 years, 9 months ago (2012-03-17 00:37:23 UTC) #12
michaeln
http://codereview.chromium.org/9691021/diff/13001/content/common/indexed_db/proxy_webidbcursor_impl.cc File content/common/indexed_db/proxy_webidbcursor_impl.cc (right): http://codereview.chromium.org/9691021/diff/13001/content/common/indexed_db/proxy_webidbcursor_impl.cc#newcode69 content/common/indexed_db/proxy_webidbcursor_impl.cc:69: scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr); lgtm
8 years, 9 months ago (2012-03-17 02:44:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/9691021/13001
8 years, 9 months ago (2012-03-19 16:08:14 UTC) #14
commit-bot: I haz the power
8 years, 9 months ago (2012-03-19 18:36:47 UTC) #15
Change committed as 127509

Powered by Google App Engine
This is Rietveld 408576698