Comment #4 on issue 3292 by wi...@igalia.com: Implement generator mirror
http://code.google.com/p/v8/issues/detail?id=3292
I'm on it if you like. The proposal would be to add a case to
serializeObject like:
if (mirror.isGenerator()) {
// Add generator specific properties.
content.status = mirror.status(); // either 'running', 'closed',
or 'suspended'
content.func = this.serializeReference(mirror.func()) // the function
content.sourceLocation = mirror.sourceLocation() // when status
is 'suspended', a source location, otherwise undefined
content.context = this.serializeReference(mirror.context()) // the
context, for use by eval
}
And a suitable GeneratorMirror implementation.
That's probably enough for a nice UI. WDYT?
--
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
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.