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

Issue 10919098: Run dart2js tests unmodified in browser. (Closed)

Created:
8 years, 3 months ago by ahe
Modified:
6 years, 10 months ago
Reviewers:
gram, ngeoffray, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Run dart2js tests unmodified in browser. Committed: https://code.google.com/p/dart/source/detail?r=12159

Patch Set 1 #

Total comments: 7

Patch Set 2 : Use messages #

Total comments: 12

Patch Set 3 : Address review comments #

Total comments: 4

Patch Set 4 : Add comments for Graham #

Patch Set 5 : One more comment for Graham; Refactored enqueueBrowserTest #

Patch Set 6 : Added comments to test_controller.js #

Patch Set 7 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -21 lines) Patch
M dart/lib/compiler/implementation/js_backend/emitter.dart View 1 2 3 4 5 6 3 chunks +38 lines, -2 lines 0 comments Download
M dart/lib/compiler/implementation/lib/isolate_patch.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M dart/pkg/unittest/config.dart View 1 2 3 chunks +14 lines, -3 lines 0 comments Download
M dart/pkg/unittest/test_controller.js View 1 2 3 4 5 3 chunks +44 lines, -7 lines 0 comments Download
M dart/tests/compiler/dart2js_native/dart2js_native.status View 1 1 chunk +1 line, -1 line 0 comments Download
M dart/tools/testing/dart/test_suite.dart View 1 2 3 4 3 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
ahe
Seems to work for ./tools/test.py --checked -cdart2js -rdrt language -mrelease
8 years, 3 months ago (2012-09-05 15:36:15 UTC) #1
kasperl
Comments: https://chromiumcodereview.appspot.com/10919098/diff/1/dart/lib/compiler/implementation/js_backend/emitter.dart File dart/lib/compiler/implementation/js_backend/emitter.dart (right): https://chromiumcodereview.appspot.com/10919098/diff/1/dart/lib/compiler/implementation/js_backend/emitter.dart#newcode1218 dart/lib/compiler/implementation/js_backend/emitter.dart:1218: if (typeof dartMainRunner == 'function') { Somehow it ...
8 years, 3 months ago (2012-09-06 10:29:29 UTC) #2
ahe
PTAL. All tests pass now. dart2js/drt tests are twice as fast on my mac. Note: ...
8 years, 3 months ago (2012-09-08 13:32:32 UTC) #3
kasperl
https://chromiumcodereview.appspot.com/10919098/diff/5001/dart/lib/compiler/implementation/lib/isolate_patch.dart File dart/lib/compiler/implementation/lib/isolate_patch.dart (right): https://chromiumcodereview.appspot.com/10919098/diff/5001/dart/lib/compiler/implementation/lib/isolate_patch.dart#newcode1238 dart/lib/compiler/implementation/lib/isolate_patch.dart:1238: void clearTimeout(int _handle) native; Why does the parameter name ...
8 years, 3 months ago (2012-09-10 07:37:03 UTC) #4
ahe
https://chromiumcodereview.appspot.com/10919098/diff/5001/dart/lib/compiler/implementation/lib/isolate_patch.dart File dart/lib/compiler/implementation/lib/isolate_patch.dart (right): https://chromiumcodereview.appspot.com/10919098/diff/5001/dart/lib/compiler/implementation/lib/isolate_patch.dart#newcode1238 dart/lib/compiler/implementation/lib/isolate_patch.dart:1238: void clearTimeout(int _handle) native; On 2012/09/10 07:37:03, kasperl wrote: ...
8 years, 3 months ago (2012-09-10 08:31:13 UTC) #5
ngeoffray
http://codereview.chromium.org/10919098/diff/5001/dart/pkg/unittest/config.dart File dart/pkg/unittest/config.dart (right): http://codereview.chromium.org/10919098/diff/5001/dart/pkg/unittest/config.dart#newcode41 dart/pkg/unittest/config.dart:41: $$postGlobalMessage('unittest-suite-wait-for-done'); As discussed, it would be nice to be ...
8 years, 3 months ago (2012-09-10 08:51:14 UTC) #6
ahe
PTAL https://chromiumcodereview.appspot.com/10919098/diff/5001/dart/lib/compiler/implementation/lib/isolate_patch.dart File dart/lib/compiler/implementation/lib/isolate_patch.dart (right): https://chromiumcodereview.appspot.com/10919098/diff/5001/dart/lib/compiler/implementation/lib/isolate_patch.dart#newcode1238 dart/lib/compiler/implementation/lib/isolate_patch.dart:1238: void clearTimeout(int _handle) native; On 2012/09/10 08:31:14, ahe ...
8 years, 3 months ago (2012-09-10 10:35:59 UTC) #7
kasperl
https://chromiumcodereview.appspot.com/10919098/diff/1006/dart/pkg/unittest/config.dart File dart/pkg/unittest/config.dart (right): https://chromiumcodereview.appspot.com/10919098/diff/1006/dart/pkg/unittest/config.dart#newcode149 dart/pkg/unittest/config.dart:149: print(message); Would it make sense to add a prefix ...
8 years, 3 months ago (2012-09-10 10:46:30 UTC) #8
ahe
https://chromiumcodereview.appspot.com/10919098/diff/1006/dart/pkg/unittest/config.dart File dart/pkg/unittest/config.dart (right): https://chromiumcodereview.appspot.com/10919098/diff/1006/dart/pkg/unittest/config.dart#newcode149 dart/pkg/unittest/config.dart:149: print(message); On 2012/09/10 10:46:30, kasperl wrote: > Would it ...
8 years, 3 months ago (2012-09-10 10:48:05 UTC) #9
gram
As I'm not familiar with the details of dart2js, I find it very hard to ...
8 years, 3 months ago (2012-09-10 16:25:20 UTC) #10
ahe
On 2012/09/10 16:25:20, gram wrote: > As I'm not familiar with the details of dart2js, ...
8 years, 3 months ago (2012-09-10 16:49:57 UTC) #11
ahe
Hi Graham, Thank you for the suggestions about more comments in the emitter. I know ...
8 years, 3 months ago (2012-09-10 20:26:16 UTC) #12
ahe
The code is commented and I have cleaned up enqueueBrowserTests. As far as I'm concerned, ...
8 years, 3 months ago (2012-09-10 20:51:41 UTC) #13
gram
On 2012/09/10 20:51:41, ahe wrote: > The code is commented and I have cleaned up ...
8 years, 3 months ago (2012-09-10 21:08:19 UTC) #14
kasperl
8 years, 3 months ago (2012-09-11 06:29:00 UTC) #15
LGTM.

Powered by Google App Engine
This is Rietveld 408576698