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

Issue 16801008: catchErrors and waitForCompletion now based on runZonedExperimental. (Closed)

Created:
7 years, 6 months ago by floitsch
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

catchErrors and waitForCompletion now based on runZonedExperimental. R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=24037

Patch Set 1 #

Patch Set 2 : Some tests. #

Total comments: 4

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Added comments. Changed behavior to not deal with errors with booleans. #

Patch Set 6 : Rebase. Comments. error-handler does not use boolean result. #

Total comments: 2

Patch Set 7 : Address comment. #

Patch Set 8 : Address comment (reupload) and rename. #

Patch Set 9 : Reuse _nullDoneHandler. #

Patch Set 10 : Fix test. #

Patch Set 11 : Upload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+256 lines, -104 lines) Patch
M sdk/lib/async/zone.dart View 1 2 3 4 5 6 7 8 9 10 6 chunks +78 lines, -39 lines 0 comments Download
A tests/lib/async/catch_errors.dart View 1 chunk +29 lines, -0 lines 0 comments Download
M tests/lib/async/catch_errors10_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors11_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors12_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors13_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors14_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors15_test.dart View 1 2 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors16_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors17_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors18_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors19_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors20_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors21_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors22_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors23_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors24_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors25_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors26_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors27_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors28_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors2_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors3_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors4_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors5_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors6_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors7_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors8_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors9_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors_test.dart View 3 5 7 10 1 chunk +1 line, -0 lines 0 comments Download
A + tests/lib/async/run_zoned1_test.dart View 1 1 chunk +3 lines, -8 lines 0 comments Download
A + tests/lib/async/run_zoned2_test.dart View 1 3 5 7 10 1 chunk +3 lines, -10 lines 0 comments Download
A + tests/lib/async/run_zoned3_test.dart View 1 3 5 7 10 1 chunk +13 lines, -17 lines 0 comments Download
A tests/lib/async/run_zoned4_test.dart View 1 1 chunk +14 lines, -0 lines 0 comments Download
A + tests/lib/async/run_zoned5_test.dart View 1 2 3 4 5 7 10 1 chunk +6 lines, -10 lines 0 comments Download
A tests/lib/async/run_zoned6_test.dart View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download
A + tests/lib/async/run_zoned7_test.dart View 1 3 5 7 10 1 chunk +4 lines, -6 lines 0 comments Download
A + tests/lib/async/run_zoned8_test.dart View 1 2 3 4 5 7 10 1 chunk +16 lines, -14 lines 0 comments Download
A tests/lib/async/run_zoned9_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
floitsch
Still missing some tests that test runZonedExperimental directly, but otherwise I would be ok with ...
7 years, 6 months ago (2013-06-12 14:25:01 UTC) #1
floitsch
A few more tests and bugfixes.
7 years, 6 months ago (2013-06-12 15:38:10 UTC) #2
Lasse Reichstein Nielsen
LGTM (rubberstamped) https://codereview.chromium.org/16801008/diff/3001/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/16801008/diff/3001/sdk/lib/async/zone.dart#newcode240 sdk/lib/async/zone.dart:240: // TODO(11244): remove second try when VM ...
7 years, 6 months ago (2013-06-13 12:10:08 UTC) #3
floitsch
PTAL. Ready to commit. https://codereview.chromium.org/16801008/diff/3001/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/16801008/diff/3001/sdk/lib/async/zone.dart#newcode240 sdk/lib/async/zone.dart:240: // TODO(11244): remove second try ...
7 years, 6 months ago (2013-06-13 14:38:54 UTC) #4
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/16801008/diff/17001/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/16801008/diff/17001/sdk/lib/async/zone.dart#newcode500 sdk/lib/async/zone.dart:500: if (onDone == null) onDone = () {}; ...
7 years, 6 months ago (2013-06-14 11:46:49 UTC) #5
floitsch
https://codereview.chromium.org/16801008/diff/17001/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/16801008/diff/17001/sdk/lib/async/zone.dart#newcode500 sdk/lib/async/zone.dart:500: if (onDone == null) onDone = () {}; On ...
7 years, 6 months ago (2013-06-14 12:26:47 UTC) #6
floitsch
Reuse _nullDoneHandler instead of _emptyOnDone.
7 years, 6 months ago (2013-06-14 12:29:37 UTC) #7
floitsch
7 years, 6 months ago (2013-06-14 15:13:45 UTC) #8
floitsch
7 years, 6 months ago (2013-06-14 16:30:11 UTC) #9
Message was sent while issue was closed.
Committed patchset #11 manually as r24037 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698