Chris Leary
9ff0cd58c9
Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan)
2010-11-03 12:09:24 -07:00
Luke Wagner
eabe24988e
Bug 593559 - JSFUN_CONSTRUCTOR should not use the same bit as JSPROP_READONLY (r=brendan)
...
--HG--
extra : rebase_source : af02c04c4ee2255aa938aef7b50b91587f061769
2010-11-02 17:40:46 -07:00
Chris Leary
4d3fc89539
Bug 597811: Make mozJSComponentLoader use JSVERSION_LATEST. (r=sayrer)
2010-11-01 17:33:22 -07:00
Blake Kaplan
4cc16a6dd2
Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal, a=beta7+
2010-10-26 19:48:51 -07:00
David Mandelin
61c89f1888
Backout merge, a=backing out changeset tried for b7 blocker
2010-10-26 18:20:20 -07:00
David Mandelin
5aa436fc27
Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze.
2010-10-26 18:14:25 -07:00
Robert Sayre
7ce5faeded
Merge mozilla-central to tracemonkey.
2010-10-26 14:16:43 -04:00
David Mandelin
a4768a8a4b
Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker
2010-10-25 17:28:18 -07:00
Andreas Gal
4ef624448b
Don't wrap StopIteration singleton, just translate it to the current global's StopIteration object and freeze StopIteration at birth (606573, r=mrbkap).
2010-10-23 16:24:32 -07:00
Bill McCloskey
58582215b9
Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin)
2010-10-21 09:36:39 -07:00
Bill McCloskey
507ea140a2
Backed out changeset 55597c32701d
2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166
Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin)
2010-10-19 16:23:05 -07:00
Dave Herman
7488e1af91
bug 594060, r=cdleary: Reflect.parse(): make source location information optional
2010-10-19 09:00:51 -07:00
Jason Orendorff
fd0c6b2d5c
Bug 604087 - Minor tweaks to JS_TransplantWrapper and JSAutoEnterCompartment. r=mrbkap
2010-10-13 17:26:40 -07:00
Jim Blandy
713b25831a
Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
...
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Jeff Walden
4626f47ec6
Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff
2010-10-12 11:50:03 -07:00
Jeff Walden
fcbd8eb10b
Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff
2010-10-12 11:50:02 -07:00
Blake Kaplan
a44ad43150
bug 580128 - Fix more compartment warnings. Work of multiple people. r=gal/peterv/jst
2010-10-10 15:37:19 -07:00
Blake Kaplan
c563e195ac
bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv
2010-10-10 15:36:38 -07:00
Andreas Gal
04c3f3cf48
bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal
2010-09-27 13:49:09 -07:00
Blake Kaplan
3c355b8fa0
bug 580128 - Give API consumers a way to perform "brain transplants" on an object. r=gal
2010-09-17 14:54:40 -07:00
Jason Orendorff
c1daff3aa7
Rename JS_{Read,Write}Pair to JS_{Read,Write}Uint32Pair as suggested by Brendan. Followup to bug 595297.
2010-10-02 09:41:18 -05:00
Jason Orendorff
00704fa52d
Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal.
2010-09-30 19:47:10 -05:00
Andreas Gal
1649ef6d21
Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap).
2010-09-27 15:55:15 -07:00
Igor Bukanov
b8792e95c1
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Chris Leary
a9624ec341
Back out b70659aca040, burning XPCShell tests. (no_r=me)
2010-09-23 16:48:35 -07:00
Chris Leary
203741ee8e
Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
...
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Jim Blandy
9b88f70086
Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan
2010-09-21 11:35:30 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Robert Sayre
739e81c33b
Merge mozilla-central to tracemonkey.
2010-09-19 15:59:10 -04:00
Robert Sayre
576da374ec
Merge tracemonkey to mozilla-central. a=blockers
2010-09-16 09:24:02 -07:00
Jason Orendorff
a43bea11f5
Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal.
2010-09-14 16:24:59 -07:00
Chris Leary
269a7d6bab
Bug 571355: Move RegExpStatics out of JSContext. (r=gal)
2010-09-13 15:53:50 -07:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Blake Kaplan
c8933c7fa2
Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
...
--HG--
extra : rebase_source : 81e8c6e0bafaa7ee0ddd873d694209f7bb1e3008
2010-09-16 11:32:18 -07:00
Jason Orendorff
a47ae73260
Bug 593742 - nsDOMWorker has to set the right compartment. r=bent.
...
--HG--
extra : rebase_source : 1f309d333686fdad21a7b6940873994ccc64157d
2010-09-09 11:13:06 -05:00
Igor Bukanov
052c9099c5
bug 592617 - cannot compile without JS_METHODJIT. r=dmandelin
2010-09-07 13:29:22 +02:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -07:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
David Mandelin
ab97c995fd
[JAEGER] Merge from tracemonkey.
2010-08-26 10:35:24 -07:00
David Mandelin
78cdeefdf2
[JAEGER] Merge from Tracemonkey.
2010-08-24 11:56:29 -07:00
Jason Orendorff
efe79f8f4c
Bug 583232 - Add rewrapping to jsapi.h. r=gal
2010-08-23 18:14:38 -04:00
David Mandelin
67a9ce8c76
[JAEGER] Merge from tracemonkey.
2010-08-20 11:34:59 -07:00
Robert Sayre
d598acd055
Merge mozilla-central to tracemonkey.
2010-08-20 10:04:58 -04:00
David Mandelin
a21c621577
Merge from Tracemonkey.
2010-08-19 11:11:36 -07:00
Gregor Wagner
77d8fcb9e6
Bug 572057 - TM: remove weak roots (pigeon hole) r=igor
2010-08-18 12:46:47 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
Jeff Walden
765b61e1cb
Bug 429507 - ES5: Function.prototype.bind. r=brendan
2010-08-13 10:42:33 -07:00
David Mandelin
4b7d4e43d2
[JAEGER] Merge from tracemonkey.
2010-08-11 11:05:24 -07:00