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

xuewen xuewen.wang at torchmobile.com.cn
Mon Apr 23 01:46:52 PDT 2012


I looked the patch, they should be the same issue. I will help to verify 
the patch

Thanks
Sean Wang

On 04/23/2012 04:14 PM, Ryosuke Niwa wrote:
> I think this is caused by the same cause as 
> https://bugs.webkit.org/show_bug.cgi?id=84540.
>
> On Mon, Apr 23, 2012 at 12:48 AM, Kentaro Hara <haraken at chromium.org 
> <mailto:haraken at chromium.org>> wrote:
>
>     > 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
>     <mailto: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 <mailto:webkit-dev at lists.webkit.org>
>     > http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>
>
>     --
>     Kentaro Hara, Tokyo, Japan (http://haraken.info)
>     _______________________________________________
>     webkit-dev mailing list
>     webkit-dev at lists.webkit.org <mailto:webkit-dev at lists.webkit.org>
>     http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
>


---------------------------------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120423/5aa53962/attachment.html>


More information about the webkit-dev mailing list