[Webkit-unassigned] [Bug 38369] Remove custom bindings code for generating arrays

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 29 22:51:58 PDT 2010


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





--- Comment #2 from Yaar Schnitman <yaar at chromium.org>  2010-04-29 22:51:58 PST ---
This is good stuff!

Instead of [ArrayType=T] array, consider conforming to the Web IDL definitions:
1. sequence<T>
2. XxxArray
I think the former is for light-weight generic JS [] arrays, while the later is
for object that act like arrays but have their own prototype (e.g.
WebGLFloatArray). Bot notations make the code simpler, as you don't have to
carry the ext attrs along with the type string everywhere since T is embedded
in the type string and easy to extract anywhere.

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