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

Issue 9641018: Canonicalize closures passed to native functions. (Closed)

Created:
8 years, 9 months ago by ngeoffray
Modified:
8 years, 9 months ago
Reviewers:
floitsch, sra1, kasperl
CC:
reviews_dartlang.org, ahe, karlklose, Lasse Reichstein Nielsen
Visibility:
Public.

Description

Canonicalize closures passed to native functions. Committed: https://code.google.com/p/dart/source/detail?r=5172

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -3 lines) Patch
M client/tests/client/client-leg.status View 1 1 chunk +0 lines, -2 lines 0 comments Download
M frog/leg/lib/js_helper.dart View 1 2 3 4 5 3 chunks +7 lines, -1 line 1 comment Download
A frog/tests/native/src/NativeClosureIdentityFrogTest.dart View 1 2 1 chunk +70 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
8 years, 9 months ago (2012-03-08 15:00:11 UTC) #1
ngeoffray
Apologies, test is incomplete. I'll send you an update once it's done.
8 years, 9 months ago (2012-03-08 15:06:00 UTC) #2
kasperl
LGTM. https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart File frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart#newcode1336 frog/leg/lib/js_helper.dart:1336: if (JS('bool', @'"$identity" in $0', closure)) { The ...
8 years, 9 months ago (2012-03-08 15:06:08 UTC) #3
ngeoffray
Thanks Kasper https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart File frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart#newcode1336 frog/leg/lib/js_helper.dart:1336: if (JS('bool', @'"$identity" in $0', closure)) { ...
8 years, 9 months ago (2012-03-08 15:11:35 UTC) #4
ngeoffray
On 2012/03/08 15:11:35, ngeoffray wrote: > Thanks Kasper > > https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart > File frog/leg/lib/js_helper.dart (right): ...
8 years, 9 months ago (2012-03-08 15:12:18 UTC) #5
ngeoffray
https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart File frog/leg/lib/js_helper.dart (right): https://chromiumcodereview.appspot.com/9641018/diff/1/frog/leg/lib/js_helper.dart#newcode1336 frog/leg/lib/js_helper.dart:1336: if (JS('bool', @'"$identity" in $0', closure)) { On 2012/03/08 ...
8 years, 9 months ago (2012-03-08 15:24:00 UTC) #6
ahe
8 years, 9 months ago (2012-03-08 18:32:02 UTC) #7
DBC

https://chromiumcodereview.appspot.com/9641018/diff/5004/frog/leg/lib/js_help...
File frog/leg/lib/js_helper.dart (right):

https://chromiumcodereview.appspot.com/9641018/diff/5004/frog/leg/lib/js_help...
frog/leg/lib/js_helper.dart:1277: // has, it could be set null if the thrown
value is null.
"set null" -> "null"

Powered by Google App Engine
This is Rietveld 408576698