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

Issue 992333003: dart2js: Handle zero-terminated content explicitly. (Closed)

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

Description

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add test. #

Patch Set 3 : Address comment and close server in finally. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -26 lines) Patch
M pkg/compiler/lib/src/io/source_file.dart View 4 chunks +32 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/scanner/utf8_bytes_scanner.dart View 3 chunks +12 lines, -18 lines 0 comments Download
A tests/compiler/dart2js/one_line_dart_program.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/compiler/dart2js/scanner_test.dart View 1 2 1 chunk +7 lines, -1 line 0 comments Download
A tests/compiler/dart2js/zero_termination_test.dart View 1 2 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
floitsch
Still needs a test. Obsoletes https://codereview.chromium.org/989113007
5 years, 9 months ago (2015-03-10 20:57:20 UTC) #2
Anders Johnsen
LGTM! https://codereview.chromium.org/992333003/diff/1/tests/compiler/dart2js/scanner_test.dart File tests/compiler/dart2js/scanner_test.dart (right): https://codereview.chromium.org/992333003/diff/1/tests/compiler/dart2js/scanner_test.dart#newcode11 tests/compiler/dart2js/scanner_test.dart:11: List<int> zeroTerminated = new List<int>(bytes.length + 1); uint8list?
5 years, 9 months ago (2015-03-11 08:06:01 UTC) #3
Johnni Winther
lgtm
5 years, 9 months ago (2015-03-11 08:35:20 UTC) #4
floitsch
I added a test. PTAL. https://chromiumcodereview.appspot.com/992333003/diff/1/tests/compiler/dart2js/scanner_test.dart File tests/compiler/dart2js/scanner_test.dart (right): https://chromiumcodereview.appspot.com/992333003/diff/1/tests/compiler/dart2js/scanner_test.dart#newcode11 tests/compiler/dart2js/scanner_test.dart:11: List<int> zeroTerminated = new ...
5 years, 9 months ago (2015-03-11 17:07:12 UTC) #5
Anders Johnsen
LGTM, But, the test setup looks really complicated for what I would have assumed was ...
5 years, 9 months ago (2015-03-12 08:12:05 UTC) #6
floitsch
On 2015/03/12 08:12:05, Anders Johnsen wrote: > LGTM, > > But, the test setup looks ...
5 years, 9 months ago (2015-03-12 12:31:37 UTC) #7
floitsch
5 years, 9 months ago (2015-03-12 12:33:12 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 44427 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698