Bug 28774

Summary: Need a way to expose IDL sequences to ObjC bindings
Product: WebKit Reporter: Andrew Wilson <atwilson>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: andersca
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

Andrew Wilson
Reported 2009-08-27 09:02:41 PDT
Currently we expose sequence types via custom getters/setters in the JS bindings that map between the native WebCore collection types and JSArray (for examples, see SQLTransaction.idl and Clipboard.idl). It seems that the generated ObjC bindings for these files will not compile because the types exposed for these values in the IDL files (Array, ObjectArray) are unknown in ObjC-land. For now, we just aren't exposing bindings for those files (or, in the case of MessageEvent and the various instances of postMessage(), we are exposing a different set of non-array bindings for ObjC). When we add support for some kind of array type to the ObjC bindings generator, we should update MessageEvent and postMessage() to expose a uniform API for both sets of bindings.
Attachments
Anders Carlsson
Comment 1 2016-08-04 13:57:20 PDT
Obj-C bindings are frozen.
Note You need to log in before you can comment on or make changes to this bug.