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

Issue 2791133002: bindings: Explicitly pass ValueType to toImplArray (Closed)

Created:
3 years, 8 months ago by bashi
Modified:
3 years, 8 months ago
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bindings: Explicitly pass ValueType to toImplArray This makes toImplArray use correct NativeValueTraits<T>. BUG=707632 Review-Url: https://codereview.chromium.org/2791133002 Cr-Commit-Position: refs/heads/master@{#462346} Committed: https://chromium.googlesource.com/chromium/src/+/0f01bbd2bd685d4987f04347e6403c3e2d13e0c9

Patch Set 1 #

Patch Set 2 : Fix tests #

Total comments: 4

Messages

Total messages: 27 (17 generated)
bashi
rtoy@: does the change in iirfilter-basic.html make sense to you?
3 years, 8 months ago (2017-04-03 04:24:39 UTC) #10
haraken
LGTM https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Source/bindings/scripts/v8_types.py File third_party/WebKit/Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Source/bindings/scripts/v8_types.py#newcode642 third_party/WebKit/Source/bindings/scripts/v8_types.py:642: if native_array_element_type.is_primitive_type: Why do we need to limit ...
3 years, 8 months ago (2017-04-03 04:29:03 UTC) #12
bashi
https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Source/bindings/scripts/v8_types.py File third_party/WebKit/Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Source/bindings/scripts/v8_types.py#newcode642 third_party/WebKit/Source/bindings/scripts/v8_types.py:642: if native_array_element_type.is_primitive_type: On 2017/04/03 04:29:02, haraken wrote: > > ...
3 years, 8 months ago (2017-04-03 04:42:34 UTC) #13
bashi
https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Source/bindings/scripts/v8_types.py File third_party/WebKit/Source/bindings/scripts/v8_types.py (right): https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Source/bindings/scripts/v8_types.py#newcode642 third_party/WebKit/Source/bindings/scripts/v8_types.py:642: if native_array_element_type.is_primitive_type: On 2017/04/03 04:42:34, bashi wrote: > On ...
3 years, 8 months ago (2017-04-03 05:06:25 UTC) #15
Raymond Toy
lgtm for the webaudio changes Thanks for looking into this!
3 years, 8 months ago (2017-04-04 16:40:55 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2791133002/20001
3 years, 8 months ago (2017-04-06 01:09:53 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/424589)
3 years, 8 months ago (2017-04-06 02:31:20 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2791133002/20001
3 years, 8 months ago (2017-04-06 02:35:29 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/0f01bbd2bd685d4987f04347e6403c3e2d13e0c9
3 years, 8 months ago (2017-04-06 03:45:01 UTC) #25
Raphael Kubo da Costa (rakuco)
3 years, 8 months ago (2017-04-06 13:22:36 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Sour...
File third_party/WebKit/Source/bindings/scripts/v8_types.py (right):

https://codereview.chromium.org/2791133002/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/scripts/v8_types.py:642: if
native_array_element_type.is_primitive_type:
On 2017/04/03 05:06:25, bashi wrote:
> Looks like we need to improve coverage of native_value_traits_type_name() and
> IDLTypes.h to remove this check (e.g. we need to support enums and any). Let
me
> address it in follow-up CLs.

(belatedly adding myself to the party)

Are you actively working on this at the moment? I'm also doing some changes to
this part of the code and stumbled upon the problems with enums & friends, but
if you already have a patch we can avoid crossing our streams.

Powered by Google App Engine
This is Rietveld 408576698