Commit Graph

24729 Commits

Author SHA1 Message Date
Jonathan Kew
9e798742a1 backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Luke Wagner
9d9892ebfd Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary) 2012-02-01 13:36:48 -08:00
Luke Wagner
cb009b6710 Bug 688069 - Use CallArgs typey-ness throughout jsstr (r=waldo) 2012-01-27 15:32:53 -08:00
Luke Wagner
246ebe6d81 Bug 688069 - remove spurious call to zeroLastIndex, bringing us to parity with jsc/v8. This allows removing RegExpPair and several other cleanups (r=cdleary) 2012-01-27 15:32:53 -08:00
Luke Wagner
e0689c864f Bug 722594 - Remove xpc_CreateMTGlobalObject and mMTCompartmentMap (r=mrbkap) 2012-02-01 13:36:51 -08:00
Luke Wagner
d1142ccb8b Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm) 2012-01-30 09:17:38 -08:00
Matt Brubeck
18792c14b5 Merge mozilla-central to inbound 2012-02-02 20:49:06 -08:00
Olli Pettay
c2bc621d8f Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Terrence Cole
60e777f676 Bug 716136 - Add a configure flag to enable Generational GC; r=billm
These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.
2012-01-06 17:05:33 -08:00
Matthew Gregan
0078880f3e Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00
Andrew McCreight
7254b69c29 Bug 721933 - add way to do compartment GC with a reason. r=billm 2012-02-01 17:55:09 -08:00
Jeff Walden
b16483ec4b Bug 723249 - Implement a dump() function on JSString, JSAtom, and JSObject, for easier typing than js_Dump*. Also implement JSString::equals. r=luke 2012-01-31 18:03:41 -08:00
Igor Bukanov
18eb7777e9 bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Jeff Walden
751821143c Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke 2012-01-31 16:49:27 -08:00
Jeff Walden
d345568cd2 Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff 2012-01-19 17:15:33 -08:00
Steve Fink
4533ab332f Bug 717104 - test that an unreachable global does not keep its Debuggers alive. r=woof! 2012-01-26 11:55:39 -08:00
Steve Fink
aa681dcdeb Bug 717104 - unreachable debuggee globals should not keep their debuggers alive. r=jorendorff 2012-01-16 17:02:15 -08:00
Phil Ringnalda
39edb424ea Back out 9aac714775b9 (bug 723111) for make check orange 2012-02-01 10:25:04 -08:00
Blake Kaplan
4706ee85e0 Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky 2012-01-26 14:55:27 +01:00
Terrence Cole
d38cdf0aa7 Bug 716042 - Add missing barriers to JSObject::TradeGuts; r=billm
Add a manual post barrier to match the existing pre-barrier.
2012-01-06 14:00:35 -08:00
Brian Hackett
4eb0f56cc6 Catch some opcodes which return directly from a script, bug 723099. r=dvander 2012-02-02 16:09:47 -08:00
Brian Hackett
46c30f498d Remove bogus assert, bug 722021. r=jandem 2012-02-02 16:06:41 -08:00
Blake Kaplan
7b890173f3 Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky 2012-01-26 14:55:27 +01:00
Bobby Holley
2ff2ec84fb Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jason Orendorff
4c82fdb64c Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb. 2012-01-27 14:16:22 -06:00
Jason Orendorff
4ef18e703f Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke. 2012-01-27 14:14:01 -06:00
Peter Van der Beken
d59fbd77b4 Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz. 2011-11-09 11:37:47 +01:00
Landry Breuil
26571ab3aa Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha 2012-02-02 15:31:56 +09:00
Peter Van der Beken
9920691597 Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst. 2011-10-14 23:21:39 +02:00
Peter Van der Beken
949cdf3f71 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap. 2011-10-14 23:29:36 +02:00
Boris Zbarsky
94bc490212 Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett 2012-01-31 22:40:49 -05:00
Nicholas Nethercote
4762ea78a3 Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Matt Brubeck
98ad648b6d Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260) 2012-01-31 17:34:26 -08:00
Jeff Walden
d5a0fb3067 Add END_CASE_LEN7 for Windows support, and add two forgotten manifest lists. Bug 722260 for the latter, no bug for the former, r=bustage 2012-01-31 16:49:27 -08:00
Brian Hackett
49c7e2e24a Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin 2012-01-31 16:36:07 -08:00
Jeff Walden
81c00469ae Backed out changeset f87d25461d6c -- seems js_DumpString (at least) is only exposed in vm/String.cpp #ifdef DEBUG. Still no bug, r=bustage 2012-01-31 16:32:02 -08:00
Jeff Walden
543f62ba78 Add dump() to JSString, JSAtom, and JSObject as an easier-to-type alias to js_Dump*. Also add equals(const char*) methods to JSAtom and JSString. These methods are all to be used *only* while debugging. No bug, rs=luke over IRC 2012-01-31 15:48:27 -08:00
Jeff Walden
579123909d Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke 2012-01-30 17:08:34 -08:00
Jeff Walden
ce23b3da02 Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff 2012-01-19 17:15:33 -08:00
Sander van Veen
02e9833fe7 Bug 681556 - Default sandboxName to the caller's filename. r=mrbkap. 2012-01-30 20:06:41 -08:00
Boris Zbarsky
dd1c692ae4 Bug 722734. Add const signatures for converting back and forth between JS::Class and JSClass. r=mrbkap 2012-01-31 17:14:56 -05:00
Ed Morley
0244f64f7a Merge mozilla-central to mozilla-inbound 2012-01-31 21:20:50 +00:00
Jim Blandy
4115407cb7 Bug 722551: Once a function proxy has been frozen, operating on it should not cause its trap handlers to be called. 2012-01-31 12:48:14 -08:00
Jim Blandy
81dafa9565 Bug 722622: Remove custom trace function from js_NoSuchMethodClass. r=waldo
Since js_NoSuchMethodClass is a native class, the normal slot traversal
will reach the function and id slots.
2012-01-31 12:38:19 -08:00
Alex Keybl
8ef05bc321 Bug 700000 - Version bump 2012-01-31 10:57:49 -08:00
David Mandelin
245953b14d Bug 714616: fix write barrier in Array.shift, r=billm 2012-01-30 17:13:07 -08:00
David Anderson
ec57bdc5e6 Support soft-float for ARMv6 (bug 696291, r=mrosenberg). 2012-01-30 18:53:37 -08:00
Jeff Walden
ae06bcefef Bug 722023 - Only call GetElementIC::attachGetProp with named properties, not indexed properties. r=bhackett 2012-01-29 12:29:29 -08:00
Jeff Walden
14626199a3 Bug 721322 - Functions containing |expr.arguments| should be marked (conservatively) as using arguments. r=jorendorff 2012-01-26 17:04:00 -08:00
Kan-Ru Chen
a0f8ffaaef Bug 709585 - Part 5, hal code for the Power API. r=cjones 2012-01-31 01:08:00 -05:00