Igor Bukanov
3717953163
Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap
2010-11-24 17:56:43 +01:00
Blake Kaplan
6deeefba3d
bug 601803 - Support adopting a node cross-compartment. r=gal/jst
2010-11-15 17:21:25 -08:00
Blake Kaplan
bd44733edc
Backout due to bustage
2010-12-02 17:13:20 -08:00
Blake Kaplan
439ca83a7b
bug 601803 - Support adopting a node cross-compartment. r=gal/jst
2010-11-15 17:21:25 -08:00
Robert Sayre
2639d2cb2f
Merge mozilla-central to tracemonkey.
2010-11-24 14:00:42 -08:00
Jason Orendorff
b4b193de22
Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent.
2010-11-24 14:14:02 -06:00
Alon Zakai
127f68f980
Bug 502836 - Fix 'script stack space quota is exhausted' error. r=igor a=blocking-betaN+
2010-11-18 14:16:36 -08:00
Igor Bukanov
238c877cc8
Bug 607292 - followup to address comments 16 and 20 from the bug
2010-11-15 23:11:07 +01:00
Igor Bukanov
d34f057e79
bug 607292 - eliminating JS_GetStringBytes and friends. r=gal
2010-11-08 13:17:31 +01:00
Igor Bukanov
52ea348c4c
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37
Backed out changeset 8e119f847f97 (build busted)
2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-02 15:36:25 +01:00
David Mandelin
ac0db7fadd
Bug 610480 nit fix: use old-style comments in jsapi.h
2010-11-10 16:59:35 -08:00
David Mandelin
e5b3e6621e
Bug 610480: fix some MSVC warnings, r=jwalden
2010-11-10 16:46:33 -08:00
Steve Fink
80ba8d7cfd
Bug 605330 - extend jscalls (bug 507012) tracking to cover JM and fix some mismatched calls, r=dvander, a=NPODB
...
--HG--
extra : rebase_source : 77f64a8ee2c88cbb00ac5671ba2532f71551f28b
2010-09-20 12:43:51 -07:00
Daniel Holbert
44a3f3c372
Bug 610642: s/NULL/0/ to fix build warning "NULL used in arithmetic". r=dmandelin a=shaver
...
--HG--
extra : transplant_source : %92H%08%90%1D%CE%90%DDx%97%99/%F9%90%F3%CCX%BDnb
2010-11-09 11:50:24 -08:00
Robert Sayre
78fcef6d2d
Merge mozilla-central to tracemonkey.
2010-11-09 15:29:44 -05:00
David Mandelin
c5ffe3dddd
Bug 601457 diagnostic: check for setting zero ids into shapes, r=lw, a=beta8+
2010-11-08 16:20:22 -08:00
Igor Bukanov
92b67c9caf
bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal
2010-10-28 17:15:53 +02:00
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