On 2015/04/30 07:11:34, jochen wrote:
On 2015/04/29 at 21:50:35, binji wrote:
> On 2015/04/29 07:30:18, jochen wrote:
> > i'd also be interested in what happens if you postMessage an array
buffer
in
> > blink. Or if any API that expects some form of serialized script value
gets
an
> > shared array buffer?
>
> I have a WIP CL here: https://codereview.chromium.org/1097773004/
>
> The current plan is that any API that expects an ArrayBuffer will not
work
with a SharedArrayBuffer. AIUI, that restriction may be loosened in the
future
on an API-by-API basis.
what about v8 value converter in //src/content/public/child and
gin_java_bridge_value_converter in //src/content/renderer/java
I took a look at both of these, and they use
Value::Is{ArrayBuffer,ArrayBufferView,TypedArray} to decide whether to
convert.
These return false for SAB. Actually, it didn't return false for
JSArrayBufferView, so I've fixed that in the CL.
https://codereview.chromium.org/1069883002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.