[webkit-dev] How to deal with the difference between JS IDL and V8 IDL?

Kentaro Hara haraken at chromium.org
Mon Apr 23 00:48:46 PDT 2012


> Are the IDL generators for JS and V8 same?

Different. WebCore/bindings/scripts/CodeGeneratorJS.pm for JSC, and
WebCore/bindings/scripts/CodeGeneratorV8.pm for V8. Though we are
trying hard to make those two behaviors same:)

> The array syntax "float[]" is not supported by the JS binding IDL generator.

This would be a bug. I think JSC should also support it. Would you
file a bug to https://bugs.webkit.org/enter_bug.cgi?product=WebKit?


On Mon, Apr 23, 2012 at 12:40 AM, xuewen <xuewen.wang at torchmobile.com.cn> wrote:
> In the file Source/WebCore/Modules/gamepad/Gamepad.idl, there are two
> definitions:
>
> readonly attribute float[] axes;
> readonly attribute float[] buttons;
>
> The array syntax "float[]" is not supported by the JS binding IDL generator.
> Are the IDL generators for JS and V8 same?
> If it is right for V8, how do we deal with this difference between JS
> binding and V8 binding?
>
> Thanks
> Sean Wang
>
>
> ---------------------------------------------------------------------
> This transmission (including any attachments) may contain confidential
> information, privileged material (including material protected by the
> solicitor-client or other applicable privileges), or constitute non-public
> information. Any use of this information by anyone other than the intended
> recipient is prohibited. If you have received this transmission in error,
> please immediately reply to the sender and delete this information from your
> system. Use, dissemination, distribution, or reproduction of this
> transmission by unintended recipients is not authorized and may be unlawful.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev



-- 
Kentaro Hara, Tokyo, Japan (http://haraken.info)


More information about the webkit-dev mailing list