Status: Assigned
Owner: [email protected]
CC: [email protected]
Labels: Type-Bug Priority-Medium Harmony

New issue 4128 by [email protected]: TypedArray methods should use InternalArray, not Array, as an accumulator
https://code.google.com/p/v8/issues/detail?id=4128

This comes up in cases like TypedArray.from, TypedArray.filter, etc, where there is a pattern of creating an array and then manipulating it. InternalArray, rather than global.Array, is not customizable by the user. arv@ points out that this is observable:

```
I think we have an issue with typed arrays since we are creating a new Array
which can have setters.

Object.defineProperty(Array.prototype, 1, {set: function(v) {
  alert(v);
});

For the typed arrays we can use InternalArray (where the spec asks for a List).
```

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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

Reply via email to