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

Issue 2763813002: Ensure correctness for interleaved IndexedDB cursor iteration. (Closed)

Created:
3 years, 9 months ago by pwnall
Modified:
3 years, 9 months ago
Reviewers:
dgozman, jsbell, dmurph
CC:
chromium-reviews, blink-reviews, jsbell+idb_chromium.org, cmumford
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure correctness for interleaved IndexedDB cursor iteration. BUG=702787 Review-Url: https://codereview.chromium.org/2763813002 Cr-Commit-Position: refs/heads/master@{#459613} Committed: https://chromium.googlesource.com/chromium/src/+/9de6f24edfb54f9afd3d2dee474a2602585f68dc

Patch Set 1 : Fix WPT version. #

Total comments: 21

Patch Set 2 : Addressed feedback. #

Patch Set 3 : Removed n=500 test to avoid timeout. #

Patch Set 4 : n=50 smaller constants #

Patch Set 5 : n=100 smaller constants #

Patch Set 6 : n=50 larger constants #

Patch Set 7 : n=20 larger constants #

Patch Set 8 : Relax quota restriction for the test to pass. #

Total comments: 10

Patch Set 9 : Addressed feedback. #

Patch Set 10 : Added comment showing the interleaving sequence used in this test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -14 lines) Patch
M content/shell/browser/layout_test/layout_test_content_browser_client.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html View 1 2 3 4 5 6 7 8 9 1 chunk +196 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/IndexedDB/support-promises.js View 1 6 chunks +29 lines, -13 lines 0 comments Download

Messages

Total messages: 76 (57 generated)
pwnall
jsbell: Can you please review the test? dmurph: Can you please verify that the test ...
3 years, 9 months ago (2017-03-22 21:42:31 UTC) #17
jsbell
https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html File third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html (right): https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html#newcode1 third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html:1: <!doctype html> I don't think this is appropriate for ...
3 years, 9 months ago (2017-03-22 22:35:33 UTC) #18
dmurph
https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html File third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html (right): https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html#newcode65 third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html:65: I'm really confused about what's happening here... can we ...
3 years, 9 months ago (2017-03-22 23:34:54 UTC) #19
pwnall
jsbell, dmurph: Thank you very much for the thorough feedback. PTAL? https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html File third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html (right): ...
3 years, 9 months ago (2017-03-23 03:18:57 UTC) #25
pwnall
I think the timeouts are because of some assert that's super-linear in database size, transaction ...
3 years, 9 months ago (2017-03-23 08:55:47 UTC) #38
dmurph
I wish we didn't have to change quota settings, but I guess there's no way ...
3 years, 9 months ago (2017-03-23 21:10:52 UTC) #45
jsbell
https://codereview.chromium.org/2763813002/diff/240001/content/shell/browser/layout_test/layout_test_content_browser_client.cc File content/shell/browser/layout_test/layout_test_content_browser_client.cc (right): https://codereview.chromium.org/2763813002/diff/240001/content/shell/browser/layout_test/layout_test_content_browser_client.cc#newcode135 content/shell/browser/layout_test/layout_test_content_browser_client.cc:135: callback.Run(storage::GetHardCodedSettings(1024 * 1024 * 1024)); Might want to add ...
3 years, 9 months ago (2017-03-23 21:20:01 UTC) #46
pwnall
dmurph, jsbell: Thank you very much for the feedback! jsbell: PTAL? https://codereview.chromium.org/2763813002/diff/240001/content/shell/browser/layout_test/layout_test_content_browser_client.cc File content/shell/browser/layout_test/layout_test_content_browser_client.cc (right): ...
3 years, 9 months ago (2017-03-23 22:08:27 UTC) #54
pwnall
https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html File third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html (right): https://codereview.chromium.org/2763813002/diff/80001/third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html#newcode94 third_party/WebKit/LayoutTests/external/wpt/IndexedDB/interleaved-cursors.html:94: () => database); On 2017/03/23 03:18:57, pwnall wrote: > ...
3 years, 9 months ago (2017-03-23 22:09:30 UTC) #55
jsbell
lgtm
3 years, 9 months ago (2017-03-24 20:19:02 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2763813002/300001
3 years, 9 months ago (2017-03-24 20:49:25 UTC) #61
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/394403)
3 years, 9 months ago (2017-03-24 20:59:32 UTC) #63
pwnall
dgozman@chromium.org: Can you please review changes in content/shell/browser/layout_test/layout_test_content_browser_client.cc?
3 years, 9 months ago (2017-03-24 21:21:27 UTC) #65
dgozman
lgtm
3 years, 9 months ago (2017-03-24 22:47:41 UTC) #66
pwnall
On 2017/03/24 22:47:41, dgozman wrote: > lgtm Thank you very much for the quick turnaround!
3 years, 9 months ago (2017-03-24 22:52:50 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2763813002/300001
3 years, 9 months ago (2017-03-24 22:53:00 UTC) #69
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/391474)
3 years, 9 months ago (2017-03-24 23:18:58 UTC) #71
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2763813002/300001
3 years, 9 months ago (2017-03-24 23:48:02 UTC) #73
commit-bot: I haz the power
3 years, 9 months ago (2017-03-25 01:12:56 UTC) #76
Message was sent while issue was closed.
Committed patchset #10 (id:300001) as
https://chromium.googlesource.com/chromium/src/+/9de6f24edfb54f9afd3d2dee474a...

Powered by Google App Engine
This is Rietveld 408576698