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

Issue 87523003: Change dart2js int.toRadixString to not return spurious format on IE. (Closed)

Created:
7 years ago by Lasse Reichstein Nielsen
Modified:
5 years, 11 months ago
Reviewers:
floitsch, ngeoffray
CC:
reviews_dartlang.org, Johnni Winther, ahe
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Change dart2js int.toRadixString to not return spurious format on IE. BUG= http://dartbug.com/15316 R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=42764

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed TODO, fixed one other case too. #

Patch Set 3 : And another. #

Total comments: 1

Patch Set 4 : Use string concatenation instead of StringBuffer. #

Patch Set 5 : Reduce size of generated code. #

Patch Set 6 : Update CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -13 lines) Patch
M sdk/lib/_internal/compiler/js_lib/js_number.dart View 1 2 3 4 5 4 chunks +29 lines, -8 lines 0 comments Download
M tests/corelib/corelib.status View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M tests/corelib/integer_to_radix_string_test.dart View 1 2 3 4 5 2 chunks +26 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Lasse Reichstein Nielsen
7 years ago (2013-11-26 10:00:12 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/87523003/diff/1/sdk/lib/_internal/lib/js_number.dart File sdk/lib/_internal/lib/js_number.dart (right): https://codereview.chromium.org/87523003/diff/1/sdk/lib/_internal/lib/js_number.dart#newcode138 sdk/lib/_internal/lib/js_number.dart:138: // TODO(floitsch): precision must be an integer. Remove ...
7 years ago (2013-11-26 10:25:49 UTC) #2
ahe
https://codereview.chromium.org/87523003/diff/30001/sdk/lib/_internal/lib/js_number.dart File sdk/lib/_internal/lib/js_number.dart (right): https://codereview.chromium.org/87523003/diff/30001/sdk/lib/_internal/lib/js_number.dart#newcode167 sdk/lib/_internal/lib/js_number.dart:167: StringBuffer buf = new StringBuffer(match[1]); Please use string concatenation ...
7 years ago (2013-11-26 11:25:46 UTC) #3
Lasse Reichstein Nielsen
IE isn't the only browser to give spurious results in some cases. Chrome/V8 does the ...
7 years ago (2013-11-26 14:01:05 UTC) #4
Lasse Reichstein Nielsen
Ok, all browsers do the wrong thing on some numbers. The ECMAScript spec allows an ...
7 years ago (2013-11-27 09:33:02 UTC) #5
Lasse Reichstein Nielsen
5 years, 11 months ago (2015-01-12 09:00:03 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 (id:90001) manually as 42764 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698