Commit Graph

17 Commits

Author SHA1 Message Date
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
David Keeler
32412de189 bug 891992 - remove LIVEWIRE from jsd r=timeless 2013-07-10 13:53:11 -07:00
Bobby Holley
667efac1a4 Bug 880697 - Replace usage of dumbContext with AutoSafeJSContext. r=gabor
dumbContext ends up with jsdc->glob as its default global, so we have to be
very careful to audit for any places where the code might be assuming that
its cx is in the compartment of jsdc->glob. Luckily, the code already seems
pretty explicit about its compartments.
2013-06-12 14:17:55 -07:00
Bobby Holley
fc2eabba5c Bug 880697 - Root directly with a runtime in jsd_DestroyScriptHookProc. r=gabor 2013-06-12 14:17:55 -07:00
Bobby Holley
899c3f66b7 Bug 880697 - Make JS_ClearScriptTraps take a runtime directly. r=gabor
This obviates the need for a context at the JSD callsite.
2013-06-12 14:17:55 -07:00
Bobby Holley
efa87b19f7 Bug 880697 - Stop using clunky C API in JSD and start using RAII classes. r=gabor 2013-06-12 14:17:54 -07:00
Ehsan Akhgari
05fd8d38f6 Bug 871192 - Fix more rooting hazards in the JS debugger; r=till 2013-05-12 09:13:22 -04:00
Till Schneidereit
e1d27fb43f Bug 868369 - remove guard in jsd_SetExecutionHook made superfluous by change in _newJSDScript to align with beta and aurora branches. r=me
--HG--
extra : rebase_source : 88045156e58f6d65f2ee1e821e24452be1a64a94
2013-05-06 21:43:57 +02:00
Till Schneidereit
ced9bd259d Bug 868369 - don't ever create JSDScripts for self-hosted scripts. r=sfink
--HG--
extra : rebase_source : 2104e9dca9c05c158e78a0ba740227e4a190e125
2013-05-06 19:17:38 +02:00
Till Schneidereit
580f4427f5 Bug 851788 - prevent jsd_SetExecutionHook from operating on self-hosted functions. r=jimb 2013-04-23 12:58:24 +01:00
Sean Stangl
3733f89aca Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-16 13:47:10 -07:00
Phil Ringnalda
2607292fa5 Back out a5a1dd3bd8ae (bug 860029) for stupidorange 2013-04-15 12:55:38 -07:00
Sean Stangl
ab9b6329c4 Bug 860029 - Standardize Modelines in the JS Module. r=njn 2013-04-15 11:33:03 -07:00
Jan de Mooij
a9f2829ff4 Bug 833817 part 3 - Replace JSStackFrame with JSAbstractFramePtr. r=luke 2013-01-25 09:49:29 +01:00
David Anderson
043ddae94a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
Terrence Cole
09d4300426 Bug 501536 - Make jsd compile as C++; r=luke
This should be the last real C consumer of JS-API in mozilla-central.

--HG--
rename : js/jsd/jsd_atom.c => js/jsd/jsd_atom.cpp
rename : js/jsd/jsd_high.c => js/jsd/jsd_high.cpp
rename : js/jsd/jsd_hook.c => js/jsd/jsd_hook.cpp
rename : js/jsd/jsd_java.c => js/jsd/jsd_java.cpp
rename : js/jsd/jsd_lock.c => js/jsd/jsd_lock.cpp
rename : js/jsd/jsd_obj.c => js/jsd/jsd_obj.cpp
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_step.c => js/jsd/jsd_step.cpp
rename : js/jsd/jsd_text.c => js/jsd/jsd_text.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
rename : js/jsd/jsdebug.c => js/jsd/jsdebug.cpp
rename : js/jsd/jsdstubs.c => js/jsd/jsdstubs.cpp
2012-09-04 09:02:03 -07:00