Josh Matthews
1e266b7afb
Bug 652803 - Check for existing proxy operations before attempting to fix a proxy object. r=gal
2011-05-05 21:55:25 +02:00
Andreas Gal
e7d653fb45
Add a "binary" argument to snarf (bug 655168, r=cdleary).
2011-05-05 17:59:47 -07:00
Andrew McCreight
5d31eb0d55
Bug 650519. Add safe function to check gray GC mark bits, then use it. (r=gal)
...
--HG--
extra : rebase_source : bb8eeed202e30c575ff22165c0b4de591c1dcb64
2011-05-04 09:26:44 -07:00
Blake Kaplan
9c143b391d
Bug 651298 - Remove this assertion because document.domain makes it false. r=luke
...
--HG--
extra : rebase_source : 32cdb0b90074c7c7abe8a4d76de518bfc2757798
2011-04-28 15:40:21 -07:00
Blake Kaplan
c16987745d
Bug 653309 - Don't break compartment rules. Hold the XPCWrappedNative pointer directly in the holder. r=gal
...
--HG--
extra : rebase_source : f59294302611044458748c76adcd4343ebaada54
2011-04-29 14:51:49 -07:00
Ryan VanderMeulen
36e9afa970
Bug 653959 - Fix warning spam by using consistent declaration for js_DeclEnvClass. r=luke
2011-05-05 17:53:36 +02:00
Jeff Walden
849fe0bfd1
Backed out changeset 83ae6e7c572e, maybe caused an orange, trying a backout of the most likely regressor. r=orange
2011-05-04 23:10:16 -04:00
Jeff Walden
e625314785
Bug 653888 - Clean up the Walk internal spec function, make the reviver delete properties from arrays if it returns undefined. r=pbiggar
...
--HG--
extra : rebase_source : 6d2004b0d6089c0c6d85bdaf4d4b0c8240840109
2011-04-30 03:22:48 -04:00
Jeff Walden
ca1b251411
Bug 653847 - JSON.parse should properly handle omitted arguments. r=pbiggar
...
--HG--
extra : rebase_source : 4ac9654d421a2504dbe24767fd5ffc0cbf52592e
2011-04-30 03:22:36 -04:00
Jeff Walden
eabb72c0f4
Bug 653782 - Properly handle JSON.stringify(_, replacer) when replacer isn't callable or an array. r=pbiggar
...
--HG--
extra : rebase_source : fed45c114091f45c0573f6d3cafef4ab0dd442b1
2011-04-30 03:22:11 -04:00
Jeff Walden
9361f3bfc8
Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor
...
--HG--
extra : rebase_source : 4cb2b69a8f3d1877ca6514c8f9dfb3dc1af551b7
2011-04-30 03:19:26 -04:00
Jeff Walden
e9bdd399b1
Move GlobalObject.* into vm/. rs=cdleary
...
--HG--
rename : js/src/GlobalObject.cpp => js/src/vm/GlobalObject.cpp
rename : js/src/GlobalObject.h => js/src/vm/GlobalObject.h
extra : rebase_source : 724ae53fda5a1c74a71b01f3d44796536d413a45
2011-04-28 19:08:22 -04:00
Gregor Wagner
685d432db1
Bug 652931 - Proper handling of large mark stack insertion. r=billm
2011-05-04 12:54:48 -07:00
Chris Leary
e5b4259e5a
Bug 654792: Give Shape::shape and Shape::id better names for great justice. (r=jorendorff)
2011-05-04 12:01:39 -07:00
Igor Bukanov
212be881c3
Bug 600648 - faster GC mark bitmap operations. r=billm
2011-04-22 00:29:24 +02:00
Paul Biggar
4d87b14d7d
Bug 654073: Mark StopIteration as a class with no prototype. (r=jwalden)
...
This prevents infinite recursion when trying to initialize StopIteration.
2011-05-03 12:31:02 -07:00
Christian Holler
b0902374f8
Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm).
2011-05-03 04:26:40 -07:00
Luke Wagner
05bfe5cb0b
Bug 653631 - Fix faulty inlining of js_GetScriptedCaller (r=mrbkap)
2011-04-30 14:31:13 +07:00
Luke Wagner
4023060e30
Bug 653396 - Include JS_ARGS_LENGTH_MAX check in SplatApplyArgs (r=waldo)
2011-05-03 17:34:07 +07:00
Chris Leary
55f7c6409e
Merge mozilla-central to tracemonkey. (CLOSED TREE)
2011-05-02 10:55:34 -07:00
Igor Bukanov
5164b785fd
bug 605029 - followup to fix inconsequel typo
2011-04-29 14:11:23 +02:00
Paul Biggar
b005c6c2d4
Merge backout.
2011-04-29 04:01:23 -07:00
Paul Biggar
15828cd649
Backed out changeset 334ada87e329 (bug 628332) - those a11y errors arrived at the same time as this landing, so backing this out to see if that fixes it.
2011-04-29 04:00:57 -07:00
Christian Holler
faf48eb1e7
Bug 628332 - Avoid double-frees when compartment allocation fails (r=billm).
2011-04-27 16:09:00 -07:00
Paul Biggar
0a4b3c92dd
Bug 651864 - Extract magic slot formula into inline functions (r=jwalden)
...
The global object has special slots for built-in objects' prototypes,
constructors and properties. This makes explicit the formula to calculate the
slot number for these special slots.
2011-04-28 07:18:11 -07:00
Paul Biggar
4011ba8b50
Backed out changeset 2919a6aa1ab7 (bug 652449) - jstests in |make check| bounces again.
2011-04-28 07:46:33 -07:00
Paul Biggar
a987ff3fd1
Bug 652449 - Turn on jstests in |make check| on linux only (r=jimb)
2011-04-28 06:45:18 -07:00
Paul Biggar
e4d6748cc4
Bug 642772: Don't recreate a class during enumeration, if it has been deleted (r=bhackett)
...
In SM, classes are lazily resolved. If we detect that a class about to be used
has not yet been resolved, then we resolve it. However, the way that we decided
that they were resolved was broken. If the global object had a String property,
then it had been resolved. So what happened when we deleted the String
property? Well, it got resolved again.
Instead of using the String property of the global object, we now use the
contructor slot on the global object. This works fine for String, but some
classes don't have a constructor, like Math and JSON. For those classes, we set
the constructor slot to True. In either case, we can now tell that a class is
resolved if the constructor slot in not Undefined.
2011-04-27 04:13:56 -07:00
Matthew Draper
3eb02c1b43
Bug 564577 - __noSuchMethod__ no longer invoked for defined non-function properties (r=igor)
2011-04-22 04:38:24 +09:30
Igor Bukanov
8b0d367736
bug 605029 - ArenaHeader versus Arena<FreeCell> and other cleanups. r=wmccloskey
2011-04-20 07:30:10 +02:00
Chris Jones
a61c26e2c0
Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke
2011-04-28 17:48:52 -05:00
Chris Jones
6fd4cbff2d
Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke
2011-04-28 17:48:51 -05:00
Chris Jones
0adf6af157
Bug 642381, part 1: Remove js::Conditionally. r=luke
2011-04-28 17:48:51 -05:00
Jeff Walden
76a4343e93
Bug 652215 - Add a js::StringObject subtype of JSObject. r=njn
...
--HG--
extra : rebase_source : 7cdfe72d0932b51408b9ec5dc38219605e1925ce
2011-04-20 16:33:05 -04:00
Mook
c671b3dec1
bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff)
2011-04-20 15:19:43 -07:00
Ms2ger
941e819c63
Bug 616684 - Remove support for DOM Views; r=sicking,ehsan
2011-04-24 08:54:25 +02:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
7af0c522be
Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE
2011-04-28 15:49:16 +02:00
Olli Pettay
744a48fa95
Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck
2011-04-27 14:58:25 +03:00
Jeff Walden
af6649155f
Bug 647385 - Implement a ToInteger helper that corresponds to the spec method (rather than inlining its contents everywhere it can be trivially used). Also fixes a couple bugs in one place that should have used ToInteger but didn't. r=cdleary
2011-04-02 11:33:20 -07:00
Jeff Walden
a6c5ef2297
Bug 643537 - Properly interpret String and Number objects provided as the space argument to JSON.stringify(value, replacer, space). r=pbiggar
...
--HG--
extra : rebase_source : 0d7e32f5ce57be2a1e341db7888df41033bbd2be
2011-03-18 18:20:15 -07:00
Jeff Walden
234a32b92a
Bug 648471 - If JSON.stringify's replacer is an array, only get the list of property names to use from it once (i.e. invoke getters on the array only once), and get them in order from 0 to the array's initial length. Also use non-enumerable array index properties in addition to enumerable array index properties. r=pbiggar
...
--HG--
extra : rebase_source : 874e2502e5b5223feb19b457debc8cc8dc51e6cb
2011-04-11 01:46:12 -07:00
Rob Arnold
1fa00902b6
Bug 651510 - "Signature for JS_StructuredClone differs in jsapi.h and jsapi.cpp" [r=jorendorff]
2011-04-20 08:28:00 -07:00
Paul Biggar
2bcf2bd5aa
Merge backout of bug 651864.
2011-04-28 09:02:57 -07:00
Paul Biggar
ec3b6da446
Backed out changeset 00313f95d106 (bug 651864).
2011-04-28 09:02:13 -07:00
Jeff Walden
a0446bf092
Bug 512266 - JSON.stringify for various special characters should produce the corresponding one-character escapes. r=pbiggar
...
--HG--
extra : rebase_source : a76fb038143bd053ee9e30ae29e99d3c2e91c528
2011-03-18 17:57:18 -07:00
Jeff Walden
faf5216de3
Bug 635389 - Check for overrecursion in functions that might need it. r=jorendorff
...
--HG--
extra : rebase_source : 72d6f2c915a4aa19e9820ea4f66039f75421c32d
2011-04-18 16:50:46 -04:00
Jeff Walden
573931e488
Bug 650574 - No recursion checks converting a cyclic object to source, if the object's toSource hooks are built-in functions. r=luke
...
--HG--
extra : rebase_source : 1d94c30c3a7335b1124e19020b8244a1de32aab3
2011-04-26 16:05:58 -04:00
Luke Wagner
8492c1e5ed
Fix linker error. I fixed this in the patch I pushed to try but seem to have lost it in the meantime (r=burning-windows)
2011-04-26 14:34:09 -07:00
Luke Wagner
4fec8aa043
Fix --disable-methodjit bustage (r=red)
2011-04-26 13:39:59 -07:00