Commit Graph

43360 Commits

Author SHA1 Message Date
Blake Kaplan
c1498e0eab Add test. 2010-06-21 16:51:55 -07:00
Blake Kaplan
c0c914d70f Bug 561279 - Don't assume there is only one stack frame in global code. r=jorendorff 2010-05-28 16:01:04 -07:00
Wesley W. Garland
620032b563 Bug 573510 - jsapi-test harness could use a print() function. r=jorendorff. 2010-06-21 15:27:48 -05:00
Jason Orendorff
46fecd5674 Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal.
--HG--
extra : rebase_source : eaa2aee559527dbca94c3279d256833d2293ca67
2010-06-16 16:13:28 -05:00
Andreas Gal
56f83ce367 Slow arrays don't need custom objectops (571810, r=mrbkap). 2010-06-21 12:19:36 -07:00
Blake Kaplan
4d411a583b Merge backout of 5e948055cc43. 2010-06-21 11:40:48 -07:00
Blake Kaplan
7ee058443a Backed out changeset 5e948055cc43 2010-06-21 11:40:35 -07:00
David Mandelin
63421f8622 Bug 571595: make sure dense_grow always gets inlined, r=nnethercote
--HG--
extra : rebase_source : 14d00cd5356a3dc1fbc88fd305a2244584ac6889
2010-06-21 11:23:39 -07:00
Jason Orendorff
9988b38a60 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal. (Part 2 is to follow; my apologies for crummy numbering.) 2010-06-16 16:13:50 -05:00
Nicholas Nethercote
3dd0b2f480 Bug 564117 - TM: negative index check for GETELEM on 64-bit platforms is bogus. r=gal. 2010-06-20 18:46:43 -07:00
Igor Bukanov
9960173867 bug 572991 - replacing JSXMLArray locals with autoclasses. r=gal
--HG--
extra : rebase_source : b0f13006282537b671d4b410fd9849215154ae18
2010-06-19 20:58:00 +02:00
Blake Kaplan
731acc336b Bug 565230 - Don't try to resolve standard classes if an XPCNativeWrapper is resolving through us. r=gal 2010-06-10 14:48:19 -07:00
Blake Kaplan
a2ac6b938e Remove incorrect return. rs=lumpy 2010-06-18 17:45:33 -07:00
Brendan Eich
734c3a1ba9 Back out a81f2aed9c9b due to orange. 2010-06-18 17:39:22 -07:00
Jeff Walden
06de83b720 Bug 572577 - Generate only a proxy's enumerable properties by filtering a vector of all its properties in-place, without copying properties to a second vector. r=gal 2010-06-17 14:37:33 -07:00
Brendan Eich
157c408713 Eliminate JSClass::reserveSlots and reserve fixed-per-class slots lazily (535416, r=gal). 2010-06-15 10:06:40 -07:00
Brendan Eich
95bae4afbc Skip tests that fail always on 64-bit targets. 2010-06-18 16:39:22 -07:00
Jason Orendorff
a77184c334 Bug 560643 - Part 3, add support for jsval XPIDL type. r=jst, sr=jst.
--HG--
extra : rebase_source : dc17a29e8f4e8d174064df5ead078bce2970ff95
2010-06-18 15:29:21 -05:00
Ginn Chen
4fae667754 Bug 562281 - libffi configure failed if env var CFLAGS is set in ksh93 on OpenSolaris. r=ted 2010-06-18 10:30:44 -07:00
Dan Witte
7ebe964c29 Bug 564966 - ctypes stdcall tests borked on windows. Part 1: fix stdcall tests, and comment out failing closure test. r=benjamn 2010-06-18 10:30:44 -07:00
Luke Wagner
d984311efe Bug 572625 - create call object only after new frame is pushed (r=dvander) 2010-06-16 23:14:02 -07:00
Brendan Eich
9469e07029 Cherry-pick patch from bug 561674 to not define DEBUG_USERNAME. 2010-06-17 19:48:25 -07:00
Brendan Eich
4b502c156f Fix warnings due to constant JS_MAX size params in MAX_DSLOTS_LENGTH (r=gal).
--HG--
extra : rebase_source : eb93aa51f3ee12ff4711170093434910ff19a125
2010-06-13 06:08:50 +01:00
Andreas Gal
a92e115145 Move proto out of fslots and make it JSObject* (572820, r=jorendorff). 2010-06-17 15:23:17 -07:00
Jeff Walden
ff125e1ca1 Hm, didn't realize JS_LIKELY required a numeric (not nearly bool-ish) argument. r=red 2010-06-17 15:02:38 -07:00
Jeff Walden
e3d1dba2a3 Followup fix for iteration over null, misread a caller and thus missed that we could be asked to snapshot properties of null. r=orange 2010-06-17 14:45:55 -07:00
Wesley W. Garland
55cf36b68a Bug 572600 - Skip jstests which scatter. r=jorendorff.
--HG--
extra : rebase_source : cef99af144d165f54c2216641670832b61f5e1fd
2010-06-17 15:56:36 -05:00
Jeff Walden
5fbb5b9367 Bug 572577 - Change NativeIterator::allocate to accept a vector of ids rather than separate pointer/length. r=gal
--HG--
extra : rebase_source : a7b3993ec46a83e3f70bb1c2975028e1273bb044
2010-06-16 16:17:45 -07:00
Jeff Walden
e993047657 Bug 572577 - Convert proxy name-enumerating APIs to fill in vectors of names, rather than return JSIdArrays. r=gal
--HG--
extra : rebase_source : 5df8f88b785d5c2974bcc89cf285f9791dfbb0c9
2010-06-16 16:11:13 -07:00
Jeff Walden
054bf6ca45 Bug 572577 - Make property enumeration mechanisms fill in a provided vector of names, rather than return a JSIdArray. r=gal
--HG--
extra : rebase_source : 20994eb4c76aad9fe570b8dcfce1f5b6ceeef0fc
2010-06-16 14:12:21 -07:00
Blake Kaplan
eeece03cc6 Bug 572149 - Deal with an abort when about to *start* executing an imacro. r=gal
--HG--
extra : rebase_source : 916ec03b814d9e31134546a910eb329639c0b389
2010-06-16 20:29:52 -07:00
Andreas Gal
d79abfd782 Bug 572774 - NULL deref due to bug in js_Call, regression from bug 572495. r=jorendorff. 2010-06-17 13:15:18 -05:00
Igor Bukanov
5b76e21662 bug 516832 follow up - better assert coverage with conservative gc 2010-06-17 15:35:52 +02:00
Igor Bukanov
a3a94a3484 bug 572411 - removal of JSObjectOps::checkAccess. r=mrbkap 2010-06-17 14:32:26 +02:00
Chris Leary
1d03ae0f11 Fix jstests.py --valgrind-args flag. (r=jorendorff) 2010-06-16 18:34:57 -07:00
Jason Orendorff
c80c81124a Merge backout. 2010-06-16 20:03:30 -05:00
Jason Orendorff
c1e349137a Back out changeset 4c1fbfcf1d0d due to orange. 2010-06-16 20:03:11 -05:00
Jason Orendorff
07430a1bcd Back out changeset fdaff211cb8f due to orange. 2010-06-16 20:02:53 -05:00
Jason Orendorff
e4eacf8d04 Bug 570169 - Part 3, cope with E4X and compiler-internal objects. r=gal.
--HG--
extra : rebase_source : cfe0da3aa979b24ba331fbc2622970767b06ad58
2010-06-16 16:13:50 -05:00
Andreas Gal
02be8d79fb Compute 'this' in call ObjectOp so it can be overriden (572495, r=jorendorff). 2010-06-16 16:36:40 -07:00
Jason Orendorff
2d3b5bbe7a Bug 570169 - Part 2, add assertions that gcthings do not leak across compartments. r=gal. 2010-06-16 16:13:28 -05:00
Jason Orendorff
6472e34dba Bug 570169 - Part 1, preparation. Rearrange some code. r=gal. 2010-06-16 16:13:01 -05:00
Jason Orendorff
651a2b804e Delete testContexts_bug570746, which is failing only on tinderbox, inexplicably. No test is worth this much trouble. r=orange. 2010-06-16 15:19:53 -05:00
Chris Leary
c55687cccc Back out changeset fecc8ed9e813. 2010-06-16 01:17:34 -07:00
Jason Orendorff
5550380090 Note that js1_8_5/regress/regress-555246-1.js fails in the shell. 2010-06-15 19:07:50 -05:00
Dave Herman
ddf90cda8e bug 533874, r=cdleary: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Jason Orendorff
604cfc9c6f Fix testContexts_bug570746 for the third time. The scope of the jsvalRoot fundamentally cannot be correct here, so explicit JS_{Add,Remove}ObjectRoot calls are needed. r=orange.
--HG--
extra : rebase_source : e6a4ace8f159dfdb939495cecb5a9c3110242620
2010-06-14 18:50:07 -05:00
Igor Bukanov
287bafafff bug 516832 followup - fixing jsapi-tests compiler warnings 2010-06-15 09:57:24 +02:00
Jason Orendorff
6435203fb2 Remove #include cycle between jsscopeinlines.h and jsobjinlines.h. rs=Waldo. 2010-06-14 15:00:02 -05:00
Igor Bukanov
7cf58c5d22 bug 516832 - conservative stack scanning. This is based on the initial work by Anreas Gal and Gregor Wagner. r=brendan,gal 2010-06-04 16:22:28 +02:00