Comment #2 on issue 3391 by [email protected]: Arguments objects should have
@@iterator == ArrayValues own property
http://code.google.com/p/v8/issues/detail?id=3391
This property is on the arguments instances, as it has no prototype, so
there's no easy place to monkeypatch. I guess we can mutate the native
context's arguments maps within the bootstrapper...
Then there is the question of iteration order. The current spec has
@@iterator between length and callee; that's probably too much work to
change.
Tentative plan: see if @@iterator can be implemented as a callbacks
property. The getter would return ArrayValues, captured at bootstrap
time. The setter would remove the callback property and instead add a
normal property. At bootstrap time, if harmony iteration is enabled, we
monkeypunch the sloppy, aliased, and strict arguments boilerplate maps to
add the @@iterator callbacks property.
--
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.