Atul Aggarwal
70ea895999
Bug 678988 - "potential null pointer dereference in js/jsd/jsd_scpt.c" [r=sphink]
2011-08-28 07:48:00 -07:00
Malini Das
a0832b693a
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only
2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3
Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only
2011-08-12 12:21:37 -04:00
Michael Wu
ccaba60ed1
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Phil Ringnalda
13498484cb
Back out 66845f1a3aad (bug 672893) for debug startup crashes
2011-08-06 15:31:30 -07:00
Jason Orendorff
8d922115b9
Bug 672893 - Don't #include jscompartment.h in xpconnect. r=cdleary.
2011-08-06 16:05:25 -05:00
Michael Wu
bfc8ebbc5c
Bug 675567 - Fix PRBool/JSBool mixups, r=mrbkap
2011-08-03 18:59:10 -07:00
Peter Van der Beken
6c570f85d2
Fix for bug 659581 (Clear debugger activation callback after calling it). r=brendan.
...
--HG--
extra : rebase_source : 41c42ca1ba657b58cb91cb5ed616f9536789ef99
2011-05-25 10:46:51 +02:00
Jeff Walden
d336c82cfa
Bug 470791 - Remove all users of the long-obsolete JSLL_* macros. r=jimb
...
--HG--
extra : rebase_source : 106b723b49d54dcd86ec67eaa50ca919bc8e5845
2011-06-09 01:13:03 -07:00
Ed Morley
223c46b36b
Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted
2011-06-12 03:49:00 -04:00
Chris Leary
f8e0e912ab
Merge mozilla-central to tracemonkey.
2011-06-06 09:41:22 -07:00
Ed Morley
5f60af28bb
Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky
2011-06-01 03:07:00 -07:00
Steve Fink
457647eddb
Test for bug 638178 - new feature getExecutableLines (r=timeless)
...
--HG--
extra : rebase_source : d29194bf998a6dfcb2fadd5e2186d4d64396bd6f
2011-03-03 10:11:54 -08:00
Steve Fink
715faebf0e
Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless)
...
--HG--
extra : rebase_source : a7d66e9ec47ccedfdf1abc3c1d339629c7eb5f3d
2011-03-03 10:11:54 -08:00
Steve Fink
093e050f1b
Backout 8d39d7a5b85c
2011-05-24 16:53:07 -07:00
Steve Fink
d4de79130b
Backout 6358f05bdd6d
2011-05-24 16:52:46 -07:00
Steve Fink
72421370af
Test for bug 638178 - new feature getExecutableLines (r=timeless)
2011-03-03 10:11:54 -08:00
Steve Fink
baaa9a6514
Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless)
2011-03-03 10:11:54 -08:00
Matheus Kerschbaum
35f86c76ad
Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew
2011-05-23 18:54:47 +02:00
Igor Bukanov
10724eed0a
Bug 641048 - adding proper constructor/destrictor to JSTHread/ThreadData 641048. r=luke r=mrbkap
2011-03-13 15:45:02 +01:00
Chris Leary
93970628c1
Merge mozilla-central to tracemonkey.
2011-04-02 12:12:45 -07:00
Steve Fink
f24c9d54bb
Bug 639943 - Convert IDL formatting to JS engine house style (r=timeless)
2011-03-26 12:05:40 -07:00
Chris Leary
733f538571
Merge mozilla-central and tracemonkey.
2011-03-29 14:52:44 -07:00
Chris Leary
78ceed9ab7
Merge mozilla-central to tracemonkey.
2011-03-29 09:05:25 -07:00
Luke Wagner
6617dd4c5a
Bug 646380 - jsd_GetValueString needs to null out 'call' after leaving the cross compartment call (r=sphink)
2011-03-31 15:29:44 -04:00
timeless@mozdev.org
f8420fb5f2
Bug 586731 jsd_NewSourceText leaks new_url_string ifndef LIVEWIRE
...
r=biesi
2011-03-28 16:49:16 -04:00
timeless@mozdev.org
26619ba869
Bug 577910 mark DEBUG only variables as ifdef DEBUG in jsd
...
r=biesi
2010-07-11 15:38:58 +03:00
Steve Fink
530d5125c2
Bug 635298 - Check return value of JS_ValueToString() (r=luke, a=gal)
...
--HG--
extra : rebase_source : 578154e99a3192c7c6610f62b181bf222373b834
2011-02-18 14:27:00 -08:00
Chris Leary
ad3af1b94e
Merge mozilla-central to tracemonkey.
2011-02-17 10:36:55 -08:00
Steve Fink
86e9633eff
Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke)
2011-02-11 17:12:00 -08:00
Andreas Gal
abcd4c32b1
Backed out changeset dd5c76d35ac4 (bug 632343).
2011-02-14 23:29:39 -08:00
Luke Wagner
bc1bb93fb2
Bug 632343 - Fix live script check, do not recompile when turning off debugging (r=luke)
2011-02-11 17:12:00 -08:00
Steve Fink
bdc2d97478
Bug 633016 - Prevent jsdScripts from leaking by always hooking script creation/destruction (r=gal)
...
--HG--
extra : rebase_source : 93f446ba1cda0cc56659da9773ab99670d3516b8
2011-02-11 13:22:58 -08:00
Chris Leary
a718b751ed
Merge tracemonkey to mozilla-central. (a=blockers)
2011-02-15 12:05:57 -08:00
Gijs Kruitbosch
ecb7086c9a
Bug 633833 - Add function keyword to all the single function JSD interfaces, r=timeless, a=bzbarsky
2011-02-14 17:14:07 +01:00
Steve Fink
e4a3e6541e
Bug 632544 - JSD_GetJSFunction can return NULL (r=dmandelin)
2011-01-28 16:54:42 -08:00
Steve Fink
2af7d0908f
Bug 628758 - Various compartment and request fixes for JSD (r=luke)
...
--HG--
extra : rebase_source : 98a06e6f9c7528ebbdbaa445d7cc8e28973d5d02
2011-01-27 18:31:48 -08:00
Steve Fink
e5c82a1fa9
Bug 632314 - Clean up ephemeral stack frames (r=timeless)
...
--HG--
extra : rebase_source : f8190baf0a3e46c94933dcdea512e4f6ea922a67
2011-02-07 17:34:15 -08:00
Steve Fink
7b5ff04357
Bug 629242 - Declare, error check for EnableSingleStepInterrupts (r=dmandelin)
2011-01-31 15:01:08 -08:00
Steve Fink
61565d4634
Bug 626743 - Set debug mode for all compartments in main thread (r=dmandelin, a=blocker)
...
--HG--
extra : rebase_source : ee656687d36620cad69d415baa9a71748154b563
2011-01-20 22:10:54 -08:00
Steve Fink
6a333d3f55
Bug 627758 - Handle cancelled GC runs properly (r=dmandelin)
...
--HG--
extra : rebase_source : a215df78cb2bedb190f8655df4cd5b7dd6ec5f3a
2011-01-31 15:00:52 -08:00
Igor Bukanov
7c65c6fde5
bug 624880 - renaming JSD public API to reflect the signature change. r=timeless
2011-01-29 22:40:29 +01: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
Steve Fink
c4756a5628
Test loosely connected to bug 617870 - check whether JSD's topLevelHook and functionHook callbacks are invoked properly (r=test)
2010-12-10 11:39:46 -08:00
timeless@mozdev.org
3a8d5e7ecf
Bug 620420 - jsds_InvalidateAllEphemerals can use a do {} while() loop, r=brendan
2010-12-20 17:12:00 -08:00
Igor Bukanov
4397c04f6b
Bug 619641 - making jsd to return "anonymous" for nameless functions, not an empty string, for compatibility with Firebug. r=adrake
2010-12-23 22:41:57 +01:00
timeless@mozdev.org
9e36477daf
Bug 617964 jsd_NewValue leaks jsdval when JS_EnterCrossCompartmentCall fails, r=jorendorff
2010-12-09 13:14:00 -08:00
Luke Wagner
2fc61cf52e
Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh)
2010-12-03 00:24:17 -08:00
Andrew Drake
d2355b6bb9
Bug 617870, rest of bug 609141 - Cross-compartment calls for JSD, add JSScript* option for JS_EnterCrossCompartmentCall. r=jorendorff
...
--HG--
extra : rebase_source : bc60e91a6804470e28038cc62e60eca16710776c
2010-12-14 13:24:00 -08:00
Steve Fink
4187f585f2
Bug 610793 - Add a per-script enableSingleStepInterrupts() to JSD [r=dmandelin]
...
--HG--
extra : rebase_source : 248eb8bf3d3a94cce626614da2be1449c8b27a8f
2010-11-16 15:18:35 -08:00
Igor Bukanov
3717953163
Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap
2010-11-24 17:56:43 +01:00
timeless@mozdev.org
b408951f41
Bug 615361 warning: cast from pointer to integer of different size in jsd
...
r=bz
--HG--
extra : rebase_source : 6f2dc7c2ba4b0367a8723bae01ce3797d193ff0d
2010-12-04 11:05:45 +01:00
Igor Bukanov
d34f057e79
bug 607292 - eliminating JS_GetStringBytes and friends. r=gal
2010-11-08 13:17:31 +01:00
Blake Kaplan
a4b38abdeb
Bug 609141 - Compartments mismatch in jsdScript::GetFunctionSource. r=sayrer
2010-11-03 18:04:22 -07:00
Robert Sayre
aecb00a979
Follow-up fix for bug 595243. Don't try to place non-main thread scripts in debug mode, and don't attempt to set debug mode from a non-main thread. r=gal
2010-10-30 15:07:46 -04:00
Robert Sayre
03513401da
Bug 595243 - Expose debugMode to JSD. Relanding test bustage fixed up. r=gal.
2010-10-30 12:13:02 -04:00
Jeff Walden
ff603e73f4
Backed out changeset 85feecf161fe (Career Limiting Move? < http://bonsai.mozilla.org/cvsquery.cgi?who=sspitzer%40netscape.com&whotype=regexp&date=explicit&mindate=2001-01-25+10%3A00&maxdate=2001-01-25+10%3A15 >), seems to have turned mochitest-plain-4 orange.
2010-10-29 22:31:12 -07:00
Robert Sayre
19cc79ccf3
Bug 595243 - Expose debugMode to JSD. r=gal
2010-10-29 18:35:07 -04:00
Blake Kaplan
f4cc477379
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
...
--HG--
extra : rebase_source : f0e69380a0ef144e07af7d75b859712fe67bb753
2010-10-26 19:48:51 -07:00
Blake Kaplan
babfa71137
Bug 606357 - Make jsd values not compartment mismatch. r=gal
...
--HG--
extra : transplant_source : %DD49k%A8%D8%92p%1EC%07NKU%9D%BFY8%A0U
2010-10-25 12:12:32 -07:00
David Anderson
2f0a83a27d
Remove JSOP_BEGIN and fix tracer integration issues (bug 603044, r=luke+dmandelin).
2010-10-15 11:36:56 -07:00
David Anderson
e0dffc93d5
Merge backout.
2010-10-15 15:29:31 -07:00
David Anderson
61f242f7aa
Backed out changeset 2bdf648e7015
2010-10-15 15:21:51 -07:00
David Anderson
3c809907f5
Merge backout.
2010-10-15 14:19:06 -07:00
David Anderson
cae2e1860d
Bumped JSD uuid.
2010-10-15 14:18:13 -07:00
David Anderson
c7c5f82ff4
Backed out changeset 1998fa240434
2010-10-15 14:13:59 -07:00
Andreas Gal
3417abf36c
Don't try to waive Xray wrapper for primitives (604361, r=mrbkap).
2010-10-14 13:41:52 -07:00
Jim Blandy
112fe57db0
Bug 514570: Adapt jsd to new JS_GetFrameThis arguments. r=brendan
...
It used to be:
JSObject *JS_GetFrameThis(JSContext *, JSStackFrame *);
Now it is:
JSBool JS_GetFrameThis(JSContext *, JSStackFrame *, jsval *);
(In strict mode code, |this| values that are primitives don't get wrapped.)
2010-10-12 11:50:03 -07:00
David Mandelin
3024f662e3
Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb
2010-10-06 11:23:14 -07:00
David Mandelin
50f3df9d0e
Backed out changeset af020f2b9293 due to x64 build bustage.
2010-10-07 17:03:01 -07:00
David Mandelin
544d2fb3f2
Bug 602003: add jsd API to query valid script begin and end PCs, r=sayrer,jjb
2010-10-06 11:23:14 -07:00
Andreas Gal<gal@uci.edu>
6a46766c34
Bug 600580 - TM: set right compartment in _newJSDContext r=gwagner
2010-09-29 23:32:22 -07:00
Gregor Wagner
ca86274758
Back out 94e52cdc2157
2010-09-29 13:39:22 -07:00
Andreas Gal<gal@uci.edu>
45165dced8
Bug 600580 - TM: set right compartment in _newJSDContext r=gregor
2010-09-29 12:28:05 -07:00
Johnny Stenback
e9ec6c1765
Fixing bug 599761. Use the right compartment in jsd. r=gal.
2010-09-28 19:29:29 -07:00
Andreas Gal
36bbc0f2d9
Compilation fix for bug 600015.
2010-09-27 16:27:30 -07: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
Jason Orendorff
a43bea11f5
Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal.
2010-09-14 16:24:59 -07:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
Luke Wagner
0fc967db46
Bug 584453 - fix thinko in jsdScript::GetParameterNames (r=bz)
...
--HG--
extra : rebase_source : a4b2d49c2f84d2faf2fad552eda56aa7ce7f4547
2010-08-11 17:24:39 -07:00
Andrew Drake
af9fb85d3c
Bug 584912: Fix use after free in jsd_DestroyThreadState. r=timeless, a=sayrer
2010-08-10 17:21:11 -07:00
Igor Bukanov
2019c722fb
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Igor Bukanov
181c2cdf3a
Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution.
2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f
bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff
2010-06-12 18:29:04 +02:00
Paul Biggar
1504032238
Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan)
2010-07-23 19:33:49 -07:00
Luke Wagner
99411cc93d
Bug 549143 - fatvals
2010-07-14 23:19:36 -07:00
Robert Sayre
34b4182b78
Merge mozilla-central to tracemonkey.
2010-07-08 18:15:52 -07:00
Robert Sayre
70fc03b113
Merge mozilla-central to tracemonkey.
2010-07-02 17:25:52 -07:00
timeless@mozdev.org
6ef8003e9c
Bug 552686 JS_GetFrameThis seems to require a JSContext these days when it calls some xpconnect wrapper that gets a thisObject
...
r=jorendorff
--HG--
extra : rebase_source : 7db05ad444219ffd5dbb64a86ac7470aa8095ace
2010-05-25 04:11:47 +03:00
Benjamin Smedberg
f13550a209
Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work.
2010-06-10 14:11:40 -04:00
Andreas Gal
70617110b8
Add an API for compartments (570040, r=jorendorff).
2010-06-04 16:32:10 -07:00
David Anderson
7d51777143
Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap).
2010-05-23 17:14:56 -07:00
Robert Sayre
13c247559e
Merge mozilla-central to tracemonkey
2010-05-17 13:55:37 -04:00
Jason Orendorff
ee50fdd206
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9
Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
...
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Luke Wagner
d0cd28412f
Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan)
2010-04-30 17:34:54 -07:00
timeless@mozdev.org
d555f3f806
Bug 560139 - jsdStackFrame::Eval leaks estate when failing to use ContextStack. r=jorendorff.
...
--HG--
extra : rebase_source : 611b291f96b21d33ba8f1ab3d56401c7fff7900d
2010-04-19 09:22:00 -05:00
Michael Kohler
9397418412
Bug 506041 Part 2: Correct misspellings in source code
...
r=timeless
2010-05-13 14:19:50 +02:00
timeless@mozdev.org
159260b382
Bug 469226 every method in jsd-xpc would needs to push a frame before calling jsd_ to make quickstubs happy
...
fix jsd for quickstubs
r=jorendorff
--HG--
extra : rebase_source : 345b8c19b67524dcc632689021a981a944d5ba45
2010-03-12 07:50:10 +01:00
Chris Jones
f0560d9e8e
Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg
2010-03-03 23:02:55 -06:00