Commit Graph

30 Commits

Author SHA1 Message Date
Boris Zbarsky
f699a8e019 Bug 1097987 part 3. Change XPCShellEnvironment to only use JS_ExecuteScript in global scopes. r=bholley 2015-03-14 01:36:16 -04:00
Jon Coppeard
a6cb580b7e Bug 1107639 - Replace nsAutoJSValHolder with use of PersistentRooted r=bent 2015-01-23 10:23:57 +00:00
Ehsan Akhgari
c110a2c9ac Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Nicholas Nethercote
d0f640378a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke. 2013-08-27 19:59:14 -07:00
Nicholas Nethercote
f7d6f07d24 Bug 898914 (part 1) - Remove JSBool. 2013-08-08 15:53:04 -07:00
Nicholas Nethercote
f30b759645 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz. 2013-08-06 23:59:54 -07:00
Bobby Holley
f9f997650b Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap 2013-07-16 20:38:46 -07:00
Bobby Holley
21f8aab895 Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap 2013-07-16 20:38:46 -07:00
Bobby Holley
2cc00f0070 Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap 2013-07-16 20:38:45 -07:00
Bobby Holley
c7cbaae2f9 Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 20:38:45 -07:00
Bobby Holley
40980f8e77 Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
lol @ 'ShouldCompoleOnly'.
2013-07-16 20:38:45 -07:00
Ryan VanderMeulen
bca12c75d5 Backed out 10 changesets (bug 889911, bug 889714) due to merge conflicts on a CLOSED TREE.
Backed out changeset 1a1a536121da (bug 889714)
Backed out changeset 2cd88ef9eea5 (bug 889714)
Backed out changeset 489723887eca (bug 889714)
Backed out changeset 2b38ce22cf97 (bug 889714)
Backed out changeset 87b0a59a5d51 (bug 889714)
Backed out changeset 13229bab2ba4 (bug 889714)
Backed out changeset 234bd6d1fbed (bug 889714)
Backed out changeset 4f5f62284917 (bug 889714)
Backed out changeset 18537c4436c7 (bug 889911)
Backed out changeset ca7060ab1588 (bug 889911)
2013-07-16 21:16:31 -04:00
Bobby Holley
60148348e6 Bug 889714 - Use the SafeJSContext in XPCShellEnvironment. r=mrbkap 2013-07-16 18:04:50 -07:00
Bobby Holley
2c0708d29c Bug 889714 - Stop manually holding onto system JSPrincipals. r=mrbkap 2013-07-16 18:04:50 -07:00
Bobby Holley
34fab7181b Bug 889714 - Reduce the number of places where we pull |env| off cx. r=mrbkap 2013-07-16 18:04:49 -07:00
Bobby Holley
092ee9972e Bug 889714 - Remove unused ExitCode machinery. r=mrbkap
This stuff is cribbed from xpcshell, where it makes sense. But it doens't really
make sense in the IPC context, and doesn't appear to be used either.
2013-07-16 18:04:49 -07:00
Bobby Holley
bff1c5e88e Bug 889714 - Removed unused ShouldReportWarnings and ShouldCompoleOnly [sic] machinery. r=mrbkap
lol @ 'ShouldCompoleOnly'.
2013-07-16 18:04:49 -07:00
Bobby Holley
d6769064d2 Bug 865729 - Remove nsIJSContextStack from other miscellaneous parts of gecko. r=gabor 2013-04-29 11:16:19 -07:00
Bobby Holley
34b70c6200 Bug 860438 - Remove custom AutoPusher in ipc XPCShellEnvironment. r=gabor
Some of this existing code is little wacky in that it calls Environment(mCx)
in a non-static method, which I would think would be equivalent to |this|.
But I don't know this code well enough to be sure of that, so I'm just going
to do the careful thing.
2013-04-18 11:36:05 -04:00
Steve Fink
ed62b6f44e Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
27634e6f07 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
466f61a3c6 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ben Newman
2ce29f5e13 Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Ben Turner
2ab4c579a2 Rework ipcshell to become xpcshell 2009-08-28 16:16:19 -07:00
Ben Turner
7c4b307c02 Fix testshell to use the new callback commands, and shut down properly 2009-08-25 16:07:22 -07:00
Ben Turner
0680fd70f8 Use mozilla strings instead of std::string in IPDL 2009-07-29 14:12:15 -07:00
Ben Turner
856a5078cf Allow ipcshell to receive a response from its child process 2009-07-23 15:27:17 -07:00
Ben Turner
d037cbb144 Adds the ipcshell application to test IPC 2009-07-11 02:33:10 -04:00