Re: What changes to Web Messaging spec are proposed? [Was: Re: Using ArrayBuffer as payload for binary data to/from Web Workers]

On Wed, Jun 22, 2011 at 4:33 AM, David Levin <levin@chromium.org> wrote:

> Making people use a helper function like that is just making them jump an
>> unnecessary hoop.
>>
>
> It makes them jump through another hoop to potentially misuse the api.
>

No, it's another hoop that *everyone* has to jump through to use the API at
all, so code you write in browser N+1 would also work in browser N where
fewer classes support transfer.

Jumping that hoop is not the misuse; it's a direct requirement of the API.
*Because* everyone would be doing that, the misuse will also be possible.

Also, I haven't seen mention of Transferrable else where in the final
> proposed solution which you used in that code.
>

It's an interface to indicate that an object is transferrable, to allows
feature testing.  http://krijnhoetmer.nl/irc-logs/whatwg/20110617#l-1427

-- 
Glenn Maynard

Received on Wednesday, 22 June 2011 09:31:44 UTC