Bug 64843

Summary: V8 binding: unable to use [Reflect] on some attributes
Product: WebKit Reporter: Leo Yang <leo.yang>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: arv, cdumez, code.vineet
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Leo Yang
Reported 2011-07-19 18:50:34 PDT
For V8 binding, some svg attribute like glyphRef can not be applied [Reflect] in idl file. Seems the generator converts the attribute to lower case. As a result, it will generate undefined identifier, like SVGNames::glyphrefAttr instead of SVGNames::glyphRefAttr.
Attachments
Vineet Chaudhary (vineetc)
Comment 1 2012-07-31 04:05:57 PDT
(In reply to comment #0) > For V8 binding, some svg attribute like glyphRef can not be applied [Reflect] in idl file. Seems the generator converts the attribute to lower case. As a result, it will generate undefined identifier, like SVGNames::glyphrefAttr instead of SVGNames::glyphRefAttr. Is this bug still valid? Do you have any example where we can use [Reflect] on attributes and generating wrong code. For the case mentioned glyhRef part of SVGAltGlyphElement and per spec http://www.w3.org/TR/SVG/text.html#InterfaceSVGAltGlyphElement its shouldn't be [Reflect] or you have some specific reason to have it?
Chris Dumez
Comment 2 2013-07-02 07:01:08 PDT
The latest specification does not say anything about [Reflect]: https://svgwg.org/svg2-draft/text.html#InterfaceSVGGlyphRefElement Closing this bug report. Feel free to reopen and comment if you feel this is wrong.
Chris Dumez
Comment 3 2013-07-02 07:01:50 PDT
Also a V8 Bug.
Note You need to log in before you can comment on or make changes to this bug.