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

Issue 26789008: Fixing double-completing indexed DB transactions (Closed)

Created:
7 years, 2 months ago by blois
Modified:
7 years, 2 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixing double-completing indexed DB transactions Basically when an error occurs, aborted occurs as well, causing an error because the future was being completed more than once. BUG=11405 R=efortuna@google.com Committed: https://code.google.com/p/dart/source/detail?r=28770

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M sdk/lib/indexed_db/dartium/indexed_db_dartium.dart View 1 1 chunk +4 lines, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_IDBTransaction.darttemplate View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
blois
7 years, 2 months ago (2013-10-15 23:12:12 UTC) #1
Emily Fortuna
https://codereview.chromium.org/26789008/diff/8001/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart File sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart (right): https://codereview.chromium.org/26789008/diff/8001/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart#newcode1268 sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart:1268: if (!errored) { would completer.isCompleted work instead?
7 years, 2 months ago (2013-10-16 00:20:59 UTC) #2
Emily Fortuna
lgtm though, just see if my comment works first please.
7 years, 2 months ago (2013-10-16 00:21:24 UTC) #3
blois
https://codereview.chromium.org/26789008/diff/8001/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart File sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart (right): https://codereview.chromium.org/26789008/diff/8001/sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart#newcode1268 sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart:1268: if (!errored) { On 2013/10/16 00:20:59, Emily Fortuna wrote: ...
7 years, 2 months ago (2013-10-17 01:05:06 UTC) #4
Emily Fortuna
lgtm
7 years, 2 months ago (2013-10-17 01:06:55 UTC) #5
blois
7 years, 2 months ago (2013-10-17 01:07:22 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r28770 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698