gecko/js
Andy Wingo 6f3144c4e8 Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff
Add a Generator constructor, like the Function constructor.

Define the GeneratorFunctionPrototype, GeneratorFunction, and
GeneratorObjectPrototype meta-objects.

When cloning or creating a star generator, give it
GeneratorFunctionPrototype as its prototype.

Each star generator function has a ".prototype" property, which has
GeneratorObjectPrototype as its prototype.  That prototype does not have
a ".constructor" link.

If Function.prototype.toSource is called on a non-function, chain up to
Object.prototype.toSource instead.

Prototypes of generator objects are no longer made with
GeneratorObject::class_.  This allows us to elide some "null" checks
from bug 352885.  Instead calling a generator on a method now signals a
typeerror.

Make the "send" generator method a simple alias to "next".
2013-08-22 10:16:07 -04:00
..
ductwork/debugger Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
examples Bug 876776 - Import latest version of js/examples/jorendb.js. DONTBUILD 2013-06-04 12:14:17 -07:00
ipc Merge m-c to inbound 2013-08-22 10:38:48 +02:00
jsd Merge m-c to inbound 2013-08-22 10:38:48 +02:00
public Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage. 2013-08-22 10:16:30 +02:00
src Bug 904701 - Implement prototype madness for ES6 generators. r=bhackett, r=jorendorff 2013-08-22 10:16:07 -04:00
xpconnect Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00