[Webkit-unassigned] [Bug 84540] JS binding code generator doesn't handle "attribute unsigned long[]" well

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 24 08:59:59 PDT 2012


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


Vineet Chaudhary (vineetc) <rgf748 at motorola.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #138573|                            |review?
               Flag|                            |




--- Comment #24 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com>  2012-04-24 08:59:58 PST ---
Created an attachment (id=138573)
 --> (https://bugs.webkit.org/attachment.cgi?id=138573&action=review)
Patch_With_Traits

Attaching patch with using traits. I have tested compilation works now for

readonly attribute sequence<unsigned int> fastMallocStatistics;

In future we can add traits for other types as required like 

template<> struct traits<boolean> {
static inline v8::Handle<v8::Value> arrayV8Value(const unsigned int& value, v8::Isolate*)
{
    return v8Boolean(value);
}
};

-- 
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