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

Issue 321433002: IndexedDB: Ensure transactions created in microtasks are deactivated (Closed)

Created:
6 years, 6 months ago by jsbell
Modified:
6 years, 6 months ago
Reviewers:
adamk
CC:
blink-reviews, arv+blink, alecflett, ericu+idb_chromium.org, abarth-chromium, dgrogan, cmumford, blink-reviews-bindings_chromium.org, jsbell+idb_chromium.org
Visibility:
Public.

Description

IndexedDB: Ensure transactions created in microtasks are deactivated The IDB spec defines that transactions are created 'active' and become 'inactive' when control returns to the event loop. The way this was implemented, transactions created within microtasks (e.g. Promise callbacks) were not deactivated. Flip the order of microtasks and deactivation, and add tests. BUG=380910 R=adamk@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175600 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175737

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove dead FIXME #

Patch Set 3 : Ensure setTimeout callbacks are wrapped in t.step_func #

Patch Set 4 : Remove racy assertion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -3 lines) Patch
A LayoutTests/storage/indexeddb/microtasks.html View 1 2 3 1 chunk +108 lines, -0 lines 0 comments Download
A LayoutTests/storage/indexeddb/microtasks-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/bindings/v8/V8RecursionScope.cpp View 1 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
jsbell
adamk@ - PTAL Makes the IDB tests happy locally, but I just fired off try ...
6 years, 6 months ago (2014-06-05 22:01:53 UTC) #1
adamk
lgtm https://codereview.chromium.org/321433002/diff/1/Source/bindings/v8/V8RecursionScope.cpp File Source/bindings/v8/V8RecursionScope.cpp (right): https://codereview.chromium.org/321433002/diff/1/Source/bindings/v8/V8RecursionScope.cpp#newcode41 Source/bindings/v8/V8RecursionScope.cpp:41: // FIXME: Instrument any work that takes place ...
6 years, 6 months ago (2014-06-05 22:20:46 UTC) #2
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-05 22:37:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/321433002/20001
6 years, 6 months ago (2014-06-05 22:38:15 UTC) #4
commit-bot: I haz the power
Change committed as 175600
6 years, 6 months ago (2014-06-05 23:56:54 UTC) #5
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-06 17:57:20 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/321433002/40001
6 years, 6 months ago (2014-06-06 17:58:13 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: blink_presubmit on tryserver.blink ...
6 years, 6 months ago (2014-06-06 20:14:18 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 21:06:10 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/10659)
6 years, 6 months ago (2014-06-06 21:06:11 UTC) #10
jsbell
On 2014/06/06 21:06:11, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 6 months ago (2014-06-06 21:26:51 UTC) #11
jsbell
On 2014/06/06 21:26:51, jsbell wrote: > Failure looks legit, but of course there's no data ...
6 years, 6 months ago (2014-06-06 22:16:09 UTC) #12
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-06 22:16:49 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/321433002/60001
6 years, 6 months ago (2014-06-06 22:17:16 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-06 23:46:32 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-06 23:55:29 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/10705)
6 years, 6 months ago (2014-06-06 23:55:30 UTC) #17
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-07 00:06:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/321433002/60001
6 years, 6 months ago (2014-06-07 00:06:54 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 6 months ago (2014-06-07 00:17:18 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-07 00:51:46 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/11111)
6 years, 6 months ago (2014-06-07 00:51:47 UTC) #22
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-07 05:25:35 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/321433002/60001
6 years, 6 months ago (2014-06-07 05:26:17 UTC) #24
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 06:02:15 UTC) #25
Message was sent while issue was closed.
Change committed as 175737

Powered by Google App Engine
This is Rietveld 408576698