[Webkit-unassigned] [Bug 80696] Remove custom bindings for attribute type Array.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 11 22:47:06 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=80696





--- Comment #5 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com>  2012-03-11 22:47:06 PST ---
(In reply to comment #4)
Thanks Adam Barh for comments.

> Why ScriptProfile?  Shouldn't it depend on the type?  This doesn't seem right.

Can I add ArrayType to get the return types in codegenerator after that for Console.idl it would look like,
     readonly attribute [ArrayType=ScriptProfile] Array profiles;

> Also, is the name "Array" used in the specs?  I thought WebIDL used syntax like DOMString[] that give the type of the array.

According to spec reference http://www.w3.org/TR/WebIDL/#es-array recently syntax for type Array is changed from DOMString[] to Array, So can use name Array.

> > Source/WebCore/page/Console.idl:49
> > -        readonly attribute [CustomGetter] Array profiles;
> > +        readonly attribute Array profiles;
> 
> This change affects JSC and V8 but you've only change the CodeGeneratorJS and not CodeGeneratorV8.

Yes I need to modify for V8 also need to check for gobject too.
I will updated these once basic implementation for JS works.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list