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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 14 10:37:39 PDT 2012


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





--- Comment #11 from Erik Arvidsson <arv at chromium.org>  2012-03-14 10:37:38 PST ---
I find the WebIDL very confusing in this area. For JavaScript bindings we should follow the ECMAScript binding rules (so ignore all the #idl-foo parts). As far as I can tell that means we should use sequence<T> for Arrays. 

http://www.w3.org/TR/WebIDL/#es-sequence

"IDL sequence<T> values are represented by ECMAScript Array values."

The algorithm to convert an WebIDL sequence to a JS array matches what we want.

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