Status: Accepted
Owner: [email protected]
CC: [email protected], [email protected]
Labels: Type-Bug Priority-Medium
New issue 3391 by [email protected]: Arguments objects should have
@@iterator == ArrayValues own property
http://code.google.com/p/v8/issues/detail?id=3391
Since r24, ES6 specifies an @@iterator on arguments objects:
http://esdiscuss.org/topic/es6-draft-rev24-now-available
https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-04/apr-8.md#iterator-for-arguments-object
This is distressing. It adds a third property that needs support from the
materializer. The property is writable and configurable, so it takes up
space in the object, and there's no prototype to put it on. It references
the ArrayValues function from array-iterator.js (and @@iterator from
symbol.js), but the arguments object is defined before any of the bootstrap
JS is run.
Not sure how to swing this. We can't dispatch on the --harmony-symbols
flag that early because our decisions end up in the snapshot. Distressing!
--
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.