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

Issue 913503003: corelib: Don't blow up in memory if a duration receives a string as argument. (Closed)

Created:
5 years, 10 months ago by floitsch
Modified:
5 years, 10 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

corelib: Don't blow up in memory if a duration receives a string as argument. BUG= http://dartbug.com/22309 R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=43658

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test for microseconds. Increase size of string. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -5 lines) Patch
M sdk/lib/core/duration.dart View 1 chunk +5 lines, -5 lines 0 comments Download
A tests/corelib/duration2_test.dart View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
floitsch
5 years, 10 months ago (2015-02-09 16:22:37 UTC) #2
Lasse Reichstein Nielsen
lgtm
5 years, 10 months ago (2015-02-10 15:46:10 UTC) #3
sra1
https://codereview.chromium.org/913503003/diff/1/tests/corelib/duration2_test.dart File tests/corelib/duration2_test.dart (right): https://codereview.chromium.org/913503003/diff/1/tests/corelib/duration2_test.dart#newcode24 tests/corelib/duration2_test.dart:24: // No check for `microseconds` since it doesn't throw ...
5 years, 10 months ago (2015-02-10 16:02:31 UTC) #5
floitsch
https://codereview.chromium.org/913503003/diff/1/tests/corelib/duration2_test.dart File tests/corelib/duration2_test.dart (right): https://codereview.chromium.org/913503003/diff/1/tests/corelib/duration2_test.dart#newcode24 tests/corelib/duration2_test.dart:24: // No check for `microseconds` since it doesn't throw ...
5 years, 10 months ago (2015-02-10 16:39:17 UTC) #7
floitsch
5 years, 10 months ago (2015-02-10 16:39:47 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 43658 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698