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

Issue 10873037: Support methods, getters, and setters on JS proxies. (Closed)

Created:
8 years, 4 months ago by vsm
Modified:
8 years, 4 months ago
Reviewers:
Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Support methods, getters, and setters on JS proxies. Committed: https://code.google.com/p/dart/source/detail?r=11345

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comments, cleanuo #

Patch Set 3 : Fixes for DartVM #

Patch Set 4 : Fix status #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -170 lines) Patch
M client/dart.js View 1 4 chunks +113 lines, -71 lines 0 comments Download
M lib/html/dart2js/html_dart2js.dart View 9 chunks +44 lines, -33 lines 0 comments Download
M lib/html/dartium/html_dartium.dart View 9 chunks +44 lines, -33 lines 0 comments Download
M lib/html/src/Isolates.dart View 1 2 9 chunks +40 lines, -33 lines 0 comments Download
M tests/html/html.status View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
A tests/html/js_interop_obj_invoke_test.dart View 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
vsm
8 years, 4 months ago (2012-08-23 18:58:27 UTC) #1
Emily Fortuna
8 years, 4 months ago (2012-08-23 21:04:35 UTC) #2
lgtm

https://chromiumcodereview.appspot.com/10873037/diff/1/client/dart.js
File client/dart.js (right):

https://chromiumcodereview.appspot.com/10873037/diff/1/client/dart.js#newcode86
client/dart.js:86: return [ 'objref', message._id, doSerialize(message._port) ];
An overall comment for doSerialize about the format you're returning
[messageType, id, port] would be nice

https://chromiumcodereview.appspot.com/10873037/diff/1/lib/html/src/Isolates....
File lib/html/src/Isolates.dart (right):

https://chromiumcodereview.appspot.com/10873037/diff/1/lib/html/src/Isolates....
lib/html/src/Isolates.dart:201: throw 'Illegal proxy: $port';
When would this case happen? Can we provide a more useful error message?

Powered by Google App Engine
This is Rietveld 408576698