Commit Graph

143577 Commits

Author SHA1 Message Date
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
Mina Almasry
1b2b0d7b9e Bug 728629 - canvas2D fillText & strokeText do not throw exceptions when non-finite doubles are passed for the position. r=vlad 2013-08-22 10:16:06 -04:00
Boris Zbarsky
3da3c1d677 Bug 907727. Make sure to properly forward gets to the expando object for DOM proxies. r=peterv 2013-08-22 09:46:27 -04:00
Boris Zbarsky
77e8df1201 Bug 907892. Disallow setting document.domain in sandboxed iframes. r=smaug 2013-08-22 09:46:27 -04:00
Boris Zbarsky
020c60655d Bug 907548. URL.prototype should be undefined, since we don't implement the URL API. r=khuey 2013-08-22 09:46:26 -04:00
Masatoshi Kimura
d987f7313a Bug 907968 - Remove a useless (even harmful) log. r=gps 2013-08-22 22:44:19 +09:00
Masatoshi Kimura
2e24b8124f Bug 906432 - Use getOwnPropertyNames() in test_interfaces.html. r=smaug 2013-08-22 22:44:19 +09:00
Masatoshi Kimura
f1bc49fd08 Bug 600460 - Implement category entry removal for nsScriptNamespaceManager. r=bholley 2013-08-22 22:44:19 +09:00
Markus Stange
b412ee65d5 Bug 876096 - Try adding waitForFocus, let's see whether that fixes test_activation.xul. 2013-08-22 15:33:58 +02:00
David Zbarsky
91a3fea017 Bug 883493: Make CGUnionConversionStruct use CGClass r=bz 2013-08-22 09:27:04 -04:00
David Zbarsky
5b975224e6 Remove an extra include of nsContentUtils that I somehow added in bug 903819 2013-08-22 09:26:19 -04:00
Brian Hackett
930150cc7b Bug 907777 - Add preference for off thread parsing, coalesce with preference for off thread Ion compilation, r=billm. 2013-08-22 07:22:33 -06:00
Brian Hackett
8ddf4c3484 Bug 906060 - Allow ExclusiveContext zones to have TI enabled, r=billm. 2013-08-22 07:13:18 -06:00
Patrick McManus
9c83e3b305 bug 750932 - multipart delimiter check r=jduell 2013-08-22 08:52:50 -04:00
Makoto Kato
9645c57fa1 Bug 901820 - Part 2. Remove nsCRT::strdup/nsCRT::strndup impl. r=bsmedberg 2013-08-22 19:32:11 +09:00
Makoto Kato
63341bc0ca Bug 901820 - Part 1. replace nsCRT::strdup with strdup. r=bsmedberg 2013-08-22 19:31:48 +09:00
Gabor Krizsanits
56184ed022 Bug 886237 - Splitting up XPCComponents. r=bholley 2013-08-22 08:26:37 +02:00
Jon Coppeard
a157aa79f0 Bug 907147 - Add SkipRoot to stop rooting analysis poinsoning hash in getNewType() r=terrence 2013-08-21 09:58:25 +01:00
Ms2ger
f2b45b118e Merge m-c to inbound. 2013-08-22 11:25:07 +02:00
Ms2ger
7e1f9114f0 Bug 904831 - Followup: clobber 2013-08-22 11:22:03 +02:00
Nicholas Cameron
2e6bc9e9b5 Bug 907901. Remove NS_lround from rect.h. r=Bas 2013-08-22 21:10:35 +12:00
Nicholas Cameron
3aba9bbe8e Bug 902330. Reftest for partially transparent layer. r=mattwoodrow 2013-08-22 21:10:35 +12:00
Ms2ger
87ae95251c Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
e8eaf4eb07 No bug - Use Unix line endings in nsSandboxFlags.h. 2013-08-22 08:56:07 +02:00
Ms2ger
98ef73b248 Bug 906503 - Remove nsIExceptionProvider; r=bholley
It is replaced by a direct special case in the caller.
2013-08-22 08:56:02 +02:00
Ms2ger
fd32037ec8 Bug 907337 - Remove the special case for NO_DIST_INSTALL in emitter.py; r=mshal
It is obsoleted by the general case in recursivemake.py.
2013-08-22 08:56:02 +02:00
Ms2ger
2672c6e4bb Bug 906619 - Part b: move the CSRCS definition in intl/lwbrk/src into moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
d62e2c8439 Bug 906619 - Part a: Move unconditional CSRCS to moz.build; r=mshal 2013-08-22 08:56:02 +02:00
Ms2ger
ecdd2b4462 Bug 904831 - Part d: Disallow MSVC_ENABLE_PGO in Makefiles; r=khuey 2013-08-22 08:56:02 +02:00
Ms2ger
399a57add9 Bug 904831 - Part c: Move conditional MSVC_ENABLE_PGO definitions into moz.build and remove empty makefiles; r=mshal 2013-08-22 08:56:01 +02:00
Ms2ger
4922ccbc0a Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
5b29659dff Bug 904831 - Part a: Support MSVC_ENABLE_PGO in moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
e3bbb3be02 Bug 883284 - Part h: Disallow LIBXUL_LIBRARY in Makefiles; r=khuey 2013-08-22 08:56:01 +02:00
Ms2ger
5e3caea55b Bug 883284 - Part g: Move conditional LIBXUL_LIBRARY assignments into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
c3e345584c Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium 2013-08-22 08:56:01 +02:00
Ms2ger
add9ce17b9 Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
dba42e4001 Bug 883284 - Part d: Move LIBXUL_LIBRARY into moz.build (f-j); r=bsmedberg 2013-08-22 08:56:00 +02:00
Ms2ger
ced3dd8b1c Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
2d7391b50d Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
935a1ef07a Bug 883284 - Part a: Support LIBXUL_LIBRARY in moz.build; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
8ccdba4aa0 Bug 906412 - Cleanup some random parts of the build system; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
676cea55c5 Bug 906351 - Use @DEPTH@ even more; r=ted 2013-08-22 08:55:59 +02:00
Ms2ger
2222bc9492 Bug 882859 - Part c: Move FAIL_ON_WARNINGS into moz.build in dom/plugins/ipc/hangui; r=mshal 2013-08-22 08:55:59 +02:00
Ms2ger
4d968c40e1 Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
520aff0823 Bug 882859 - Part a: Introduce FAIL_ON_WARNINGS into moz.build; r=gps 2013-08-22 08:55:58 +02:00
Ms2ger
ecca370b27 Bug 906343 - Remove the last reference to XPCSHELL_TESTS in a Makefile; r=gps 2013-08-22 08:55:53 +02:00
Ms2ger
7d56a6ab7d Bug 906342 - Move the remaining SIMPLE_PROGRAMS to moz.build and disallow setting SIMPLE_PROGRAMS in Makefiles; r=gps 2013-08-22 08:35:03 +02:00
Ms2ger
bd6f59c59f No bug - Fix indentation in xpcshell's mach handler; r=ted 2013-08-22 08:34:58 +02:00
Ms2ger
4ea4dafae0 Bug 907606 - Remove BindingUtils.h include from WebGLContext.h; r=mounir 2013-08-22 08:34:54 +02:00
Ms2ger
d329ccb29b Bug 907605 - Remove BindingUtils.h include from PrimitiveConversions.h; r=bz 2013-08-22 08:34:48 +02:00