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

Issue 2164483004: Allow callable JS objects. dartbug.com/25321 (Closed)

Created:
4 years, 5 months ago by Jacob
Modified:
4 years, 5 months ago
Reviewers:
Bill Hesse, sra1
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Seems like this is all that is required to support callable JS objects. dartbug.com/25321 BUG= R=sra@google.com Committed: https://github.com/dart-lang/sdk/commit/bbb0c3f7275295c79e639808f5777aedc6374f5a

Patch Set 1 #

Total comments: 4

Patch Set 2 : Seems like this is all that is required to support callable JS objects. dartbug.com/25321 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -7 lines) Patch
M pkg/compiler/lib/src/diagnostics/messages.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/backend.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A tests/html/js_typed_interop_callable_object_test.dart View 1 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Jacob
4 years, 5 months ago (2016-07-20 00:53:57 UTC) #2
sra1
This 'works' because code is placed on Interceptor instead of JavaScriptObject. If we make JavaScriptFunction ...
4 years, 5 months ago (2016-07-20 18:21:27 UTC) #3
sra1
https://codereview.chromium.org/2164483004/diff/1/tests/html/js_typed_interop_callable_object_test.dart File tests/html/js_typed_interop_callable_object_test.dart (right): https://codereview.chromium.org/2164483004/diff/1/tests/html/js_typed_interop_callable_object_test.dart#newcode33 tests/html/js_typed_interop_callable_object_test.dart:33: external num call(num a, num b); Document somewhere that ...
4 years, 5 months ago (2016-07-20 18:31:14 UTC) #4
Jacob
https://codereview.chromium.org/2164483004/diff/1/tests/html/js_typed_interop_callable_object_test.dart File tests/html/js_typed_interop_callable_object_test.dart (right): https://codereview.chromium.org/2164483004/diff/1/tests/html/js_typed_interop_callable_object_test.dart#newcode33 tests/html/js_typed_interop_callable_object_test.dart:33: external num call(num a, num b); On 2016/07/20 18:31:14, ...
4 years, 5 months ago (2016-07-20 19:52:24 UTC) #5
Jacob
https://codereview.chromium.org/2164483004/diff/1/tests/html/js_typed_interop_callable_object_test.dart File tests/html/js_typed_interop_callable_object_test.dart (right): https://codereview.chromium.org/2164483004/diff/1/tests/html/js_typed_interop_callable_object_test.dart#newcode53 tests/html/js_typed_interop_callable_object_test.dart:53: }); On 2016/07/20 18:31:14, sra1 wrote: > Add another ...
4 years, 5 months ago (2016-07-20 19:53:52 UTC) #6
sra1
lgtm
4 years, 5 months ago (2016-07-20 20:11:26 UTC) #7
Jacob
Committed patchset #2 (id:20001) manually as bbb0c3f7275295c79e639808f5777aedc6374f5a (presubmit successful).
4 years, 5 months ago (2016-07-20 20:16:42 UTC) #9
Bill Hesse
4 years, 5 months ago (2016-07-22 16:41:20 UTC) #11
Message was sent while issue was closed.
This also affects issue https://github.com/dart-lang/sdk/issues/14813 and
changes the error on the test https://github.com/dart-lang/sdk/issues/14813 from
a CompileError to a RuntimeError.

I will update the status file for this.

Powered by Google App Engine
This is Rietveld 408576698