Andreas Gal
831efbf9e8
Backout bug 639227 due to orange.
2011-03-06 21:37:13 -08:00
Andreas Gal
52c4d6513a
Remove ObjectOps trace hook (bug 639227, r=dvander).
2011-03-06 20:49:54 -08:00
Andreas Gal
f5b9aeb7d0
Remove obsolete JSMarkOp API (bug 638291, r=jorendorff).
2011-03-05 14:50:11 -08:00
Jeff Walden
2db290c32a
Bug 638312 - Add JS_IsBuiltinEvalFunction and JS_IsBuiltinFunctionConstructor APIs. r=gal
2011-03-02 19:57:44 -08:00
Igor Bukanov
b9b1577eec
bug 630209 - (Compile|Execute)Script that are GC-safe. r=jorendorff
2011-02-03 14:06:21 +01:00
Blake Kaplan
239d15c104
Fixing bug 623810. r=jst@mozilla.org, gal@uci.edu, a=blocker. CLOSED TREE
2011-02-11 16:17:25 -08:00
Andreas Gal
9a7cc712a8
When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker). (relanding in a CLOSED TREE)
2011-02-19 22:59:49 -08:00
Jeff Walden
1e41f95c6d
#jsapi observed the extent of orange in the TM tree and saw that OS X x86 opt was consistently and totally evil. So jwalden was sorry he had ever pushed changes for bug 631135. It broke his heart. And he said, “I will wipe this tree of every push back to 9105cd721d46. Yes, and I will revert the entire TM CLOSED TREE. I am sorry I ever pushed to it.” But 9105cd721d46 found favor with #jsapi.
2011-02-20 17:46:35 -08:00
Andreas Gal
faec8b99c2
When idle the GC holds on to unused chunks indefinitely (bug 631733, r=brendan, a=blocker).
2011-02-19 22:59:49 -08:00
Jeff Walden
7ce51759aa
Backed out changeset 4d86e63ff60d, diagnostic patch; back out 3da12edf735e, followup fix; back out bug 631135 completely, unexplained intermittent orange.
...
--HG--
extra : rebase_source : e2e56a78bc0eea0d6e005bc976c74b33d8c22281
2011-02-19 19:50:19 -08:00
Jeff Walden
e604ceddc7
Bug 631135 - Objects created by or on behalf of fast natives and property ops (getters or setters) are parented to the wrong proto and global. r=lw,jst,mrbkap,bz, a=jst
2011-02-08 17:20:06 -08:00
Chris Leary
a718b751ed
Merge tracemonkey to mozilla-central. (a=blockers)
2011-02-15 12:05:57 -08:00
Andreas Gal
408f957e8a
js_UnbrandAndClearSlots leaks, use JS_ClearScope and throw if compile-N-go scripts are run after JS_ClearScope (630072, r=brendan, a=blocker).
2011-02-13 20:55:33 -08:00
Andreas Gal
5d4e5b427f
js_UnbrandAndClearSlots leaks, use JS_ClearScope and throw if compile-N-go scripts are run after JS_ClearScope (630072, r=brendan).
2011-02-13 20:55:33 -08:00
Bill McCloskey
42e73fa7bc
Bug 631951 - Shrink methodjit memory usage by interpreting a few times before compiling (r=dvander)
2011-02-11 16:31:32 -08:00
Jim Blandy
de75b9fa19
Bug 537873: Add a 'strict' argument to C++ property setter functions. r=brendan
...
This changes the type of setters to JSStrictPropertyOp, which is just like
JSPropertyOp except that it takes a 'JSBool strict' argument. Most of the
patch is introducing distinct types and using the appropriate stubs.
The following are left for subsequent patches:
x Similar fixes to the browser outside SpiderMonkey.
x Actually *using* the newly available strictness information. This patch
should have no user-visible effect. I didn't want the interesting stuff
to get lost in this noise.
2011-02-09 11:31:40 -08:00
Johnny Stenback
6b87b64c44
Backed out changeset 3fb25cc2c040 due to orange.
2011-02-11 18:04:09 -08:00
Andreas Gal
cabd660fbb
Bug 630072. Fix issue with wrappers holding objects from old scopes alive. r=mrbkap@gmail.com, a=blocker
2011-02-11 16:36:48 -08:00
Blake Kaplan
ec5802cfe2
Fixing bug 623810. r=jst@mozilla.org, gal@uci.edu, a=blocker.
2011-02-11 16:17:25 -08:00
David Mandelin
a4880c2f6d
Bug 611652: clear values instead of scope when global window is cleared, r=brendan,enn,jeff,mrbkap,smaug
...
--HG--
extra : rebase_source : 77e3844d35de229817bee767256a96d030a78bf9
2011-01-21 18:37:30 -08:00
Jeff Walden
13fb18a6fe
Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin
...
--HG--
extra : rebase_source : be6802a24bd58eb6339369e6803d3eb2fbbc07a5
2011-01-26 13:37:45 -08:00
Jim Blandy
672dd55a28
Bug 621103: Rename js::Anchor to JS::Anchor: 'JS' is the public namespace. r=waldo
2011-01-31 14:42:53 -08:00
Chris Leary
001cef1fd8
Merge the backout head.
2011-01-27 16:26:21 -08:00
Chris Leary
8f8ea8fd48
Backed out changeset b5ca98debed0
2011-01-27 16:25:30 -08:00
David Mandelin
62ff5f09d8
Bug 611653: clear values instead of scope when global window shuts down, r=brendan,smaug
2011-01-21 18:37:30 -08:00
Chris Leary
074bd0c596
Bug 595691, take 2: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-27 02:54:58 -08:00
Chris Leary
1771b7c232
Backed out changeset b88172246b66 due to Win32 debug failures.
2011-01-25 04:11:47 -08:00
Chris Leary
b462e1fb98
Bug 595691: fix versioning across VM instances, remove _options. (r=luke,brendan,igor)
2011-01-25 02:33:27 -08:00
Andreas Gal
927855f788
Cache eval CSP check (bug 614137, r=mrbkap, a=dmandelin).
2011-01-22 14:28:37 -08:00
Andreas Gal
bdd4aa4ade
AnyName can't have a NULL parent (bug 617485, r=brendan).
2011-01-21 10:55:39 -08:00
Andrew Paprocki
224681155f
Add JS_NewDateObject, JS_NewDateObjectMsec, JS_ObjectIsDate to the JSAPI. Bug 625870, r=jorendorff, a=shaver.
2011-01-18 16:11:03 -06:00
Jason Orendorff
b12d9b4edc
Backed out changeset 27bf86dbdb52 due to redness.
2011-01-18 12:49:36 -06:00
Andrew Paprocki
187630946a
Add JS_NewDateObject, JS_NewDateObjectMsec, JS_ObjectIsDate to the JSAPI. r=jorendorff, a=shaver.
2011-01-18 12:29:35 -06:00
Steve Fink
8470e15e9e
Bug 624316 - Unwrap wrapped functions before returning them to JSD to see the contained script and name, r=gal, a=blocker
...
--HG--
extra : rebase_source : cd15aed41ace6f368ef5f149cd88f32c9dfd1aa5
2011-01-11 14:24:52 -08:00
Andreas Gal
108bc95880
Add API to enable/disable per-compartment GCs (bug 624229, r=shaver).
2011-01-09 22:57:21 -08:00
Ben Turner
c926abf576
Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst+jorendorff, a=blocking.
2011-01-06 22:21:30 -08:00
Chris Leary
a876224cd1
Trigger another mozilla-central build. a=breakage
2011-01-04 15:47:12 -08:00
Chris Leary
272d457a20
Merge mozilla-central to tracemonkey.
2010-12-29 19:25:04 -05:00
Jeff Walden
59814e4551
Bug 620315 - "Assertion failure: unexpected constantly false guard detected" with "use strict", 4 > this. Fix a problem where we weren't marking functions created by |new Function| as accepting a primitive this value when their body was strict mode, by removing the duplicative bit that was being checked. r=dmandelin
2010-12-22 18:05:07 -05:00
Ben Turner
8a02f568a0
Backing out worker changes, a=backout.
2010-12-21 16:44:49 -05:00
Ben Turner
d8739dcb8a
Bug 618484 - 'Allow ChromeWorkers access to XPCOM objects'. r=jst, a=blocking.
2010-12-21 14:28:08 -05:00
Ben Turner
bb620ec2bf
Bug 613083 - 'IndexedDB: Switch serialization format from JSON to structured clone bytestream'. r=sicking, a=blocking.
2010-12-21 11:02:04 -05:00
Jim Blandy
11d86e7398
Bug 618217: Neaten up specialization of js::Anchor for struct-like jsval on non-GNU compilers. r=bzbarsky
2010-12-14 11:30:20 -08:00
Igor Bukanov
034b3c6618
bug 618262 - Removal of JS_NewString. r=brendan
2010-12-10 12:50:50 +01:00
Igor Bukanov
a18b8a8142
bug 617215 - eliminating JS_NewString usage in FF while fixing a leak there. r=bz
2010-12-09 11:22:15 +01:00
Boris Zbarsky
d9586ee9ab
Bug 614138. Fix stupid typo that breaks opt builds.
2010-12-09 00:16:30 -05:00
Boris Zbarsky
eb0e23508a
Bug 614138 followup to fix Windows debug compile errors for good.
2010-12-09 00:01:52 -05:00
Boris Zbarsky
45b14fe278
Bug 614138 followup to fix Windows debug compile errors.
2010-12-08 23:11:54 -05:00
Jim Blandy
e08e432406
Bug 614138 part 1: Add an API for holding GC objects while we use values they own. r=jorendorff, a=bzbarsky
2010-12-08 22:17:36 -05:00
Igor Bukanov
933918e6f4
Bug 614578 - Removal of nsAutoGCRoot. r=mrbkap
2010-11-26 15:11:14 +01:00