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

Issue 11184007: Support new named arguments. (Closed)

Created:
8 years, 2 months ago by Anton Muhin
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -30 lines) Patch
M lib/html/src/Measurement.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/html/async_window_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/html/blob_constructor_test.dart View 1 chunk +8 lines, -4 lines 0 comments Download
M tests/html/canvas_pixel_array_type_alias_test.dart View 1 chunk +2 lines, -1 line 2 comments Download
M tests/html/element_constructor_1_test.dart View 2 chunks +4 lines, -2 lines 0 comments Download
M tests/html/fileapi_test.dart View 5 chunks +46 lines, -0 lines 0 comments Download
M tests/html/htmloptionscollection_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/html/indexeddb_4_test.dart View 1 chunk +14 lines, -7 lines 0 comments Download
M tests/html/mutationobserver_test.dart View 3 chunks +6 lines, -3 lines 0 comments Download
M tests/html/typed_arrays_2_test.dart View 2 chunks +4 lines, -2 lines 2 comments Download
M tests/html/typed_arrays_dataview_test.dart View 2 chunks +16 lines, -8 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Anton Muhin
This change should make all the html test pass with the flag which enforces new ...
8 years, 2 months ago (2012-10-16 18:48:21 UTC) #1
Emily Fortuna
anton, plan sgtm. a few suggestions https://codereview.chromium.org/11184007/diff/1/tests/html/canvas_pixel_array_type_alias_test.dart File tests/html/canvas_pixel_array_type_alias_test.dart (right): https://codereview.chromium.org/11184007/diff/1/tests/html/canvas_pixel_array_type_alias_test.dart#newcode37 tests/html/canvas_pixel_array_type_alias_test.dart:37: expect(data, hasLength(40000)); question: ...
8 years, 2 months ago (2012-10-16 19:51:17 UTC) #2
blois
Agree that we need to work on adding back named params- the File stuff looks ...
8 years, 2 months ago (2012-10-16 20:35:23 UTC) #3
Anton Muhin
8 years, 2 months ago (2012-10-17 09:13:37 UTC) #4
Thanks a lot for review, submitted

https://codereview.chromium.org/11184007/diff/1/tests/html/canvas_pixel_array...
File tests/html/canvas_pixel_array_type_alias_test.dart (right):

https://codereview.chromium.org/11184007/diff/1/tests/html/canvas_pixel_array...
tests/html/canvas_pixel_array_type_alias_test.dart:37: expect(data,
hasLength(40000));
On 2012/10/16 19:51:17, Emily Fortuna wrote:
> question: why does this test use the old style of specifying "expectations"?
> What about Expect.equals(data, hasLength(4000)) and Expect.isTrue?

Seems reasonable, but let address that in a separate CL

https://codereview.chromium.org/11184007/diff/1/tests/html/typed_arrays_2_tes...
File tests/html/typed_arrays_2_test.dart (right):

https://codereview.chromium.org/11184007/diff/1/tests/html/typed_arrays_2_tes...
tests/html/typed_arrays_2_test.dart:40: // OPTIONALS a2 = new
Uint32Array.fromBuffer(a1.buffer, length: 30, byteOffset: 456);
On 2012/10/16 19:51:17, Emily Fortuna wrote:
> 80 char, here and mutation_observer.

Those optionals lines should go away soon, let's keep the delta to the minimum

Powered by Google App Engine
This is Rietveld 408576698