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

Issue 18540002: Add fillRange to typed ungrowable lists. (Closed)

Created:
7 years, 5 months ago by zarah
Modified:
7 years, 5 months ago
Reviewers:
floitsch, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add fillRange to typed ungrowable lists. BUG=http://dartbug.com/11621 R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=24689

Patch Set 1 #

Patch Set 2 : Removed new lines. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -9 lines) Patch
M sdk/lib/typed_data/dart2js/typed_data_dart2js.dart View 9 chunks +9 lines, -9 lines 0 comments Download
A tests/corelib/list_ungrowable_fillRange_test.dart View 1 1 chunk +127 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
zarah
7 years, 5 months ago (2013-07-02 14:51:29 UTC) #1
floitsch
LGTM.
7 years, 5 months ago (2013-07-02 15:10:23 UTC) #2
zarah
Committed patchset #2 manually as r24689 (presubmit successful).
7 years, 5 months ago (2013-07-02 15:15:12 UTC) #3
sra1
7 years, 5 months ago (2013-07-02 18:54:49 UTC) #4
Message was sent while issue was closed.
tests/corelib/ is the wrong place for this test, since dart:typed_data is a
separate lib to dart:corelib. 

There are already typed_data tests under:

  tests/html/
  tests/standalone/
  tests/lib/typed_data/

tests/standalone/ is also wrong since we want test coverage of browsers, each
which has a different implementation of typed data.

Depending on where the test is moved, it needs to suppress IE9 which does not
have typed data types.

* if you move the code to tests/html/, rewrite it to use unittest and to import
dart:html so you can test Platform.supportsTypedData to see if the browser that
the code is running in supports typed_data.  See the other examples in that
directory.

* if you move it to tests/lib/typed_data/, be sure to mark ie9 as failing in
tests/lib/lib.status

Powered by Google App Engine
This is Rietveld 408576698