[webkit-dev] Passing data structures through postMessage()

Sam Weinig sam.weinig at gmail.com
Thu Sep 10 16:56:47 PDT 2009


On Thu, Sep 10, 2009 at 3:55 PM, Drew Wilson <atwilson at google.com> wrote:

> The other approach we discussed was leaving the postMessage() APIs in
> WebCore as they are (taking a DOMString parameter) and doing the
> serialization/de-serialization in the JS bindings instead.
> My one concern about building the serialization into the WebCore
> postMessage impls is I didn't quite understand how that would map to ObjC
> (although for ObjC we could just continue exposing only
> postMessage(DOMString) and have the ObjC bindings wrap the string in an
> attributeIterator).
>

For the time being, ObjC can be ignored as basic concepts like RegExp are
not defined in that context.  ObjC can continue living with the old style
postMessage and be happy doing so :).

-Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20090910/a923b6cc/attachment.html>


More information about the webkit-dev mailing list