Commit Graph

194 Commits

Author SHA1 Message Date
Andrea Marchesini
06f3df72fa Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE 2014-01-20 18:47:35 +01:00
Andrea Marchesini
db2fa96fac Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Bobby Holley
393b120ae5 Bug 951948 - Add a way for automation to force the creation of a privileged Components object for an unprivileged scope. r=ted,r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley
e7d944c925 Bug 951948 - Separate out the unprivileged parts of nsXPCComponents into a separate interface and class. r=mrbkap 2014-01-14 18:49:29 -08:00
Bobby Holley
81e8330e64 Bug 951948 - Remove most nsIXPCScriptable junk on nsXPCComponents. r=mrbkap 2014-01-14 18:49:28 -08:00
Bobby Holley
19dcb15c73 Bug 951948 - Make nsJSID.initialize [noscript]. r=mrbkap
This lets us remove the usage of nsISecurityCheckedComponent. See the next patch.
2014-01-14 18:49:28 -08:00
Andrew McCreight
f78e86e676 Bug 956455, part 3 - Remove the holder argument to nsXPConnect::WrapNativeToJSVal. r=gabor 2014-01-06 11:54:43 -08:00
Bobby Holley
6c2d7739b3 Bug 950909 - Tests. r=smaug 2013-12-19 18:08:07 -08:00
Bobby Holley
6dba8699cf Bug 913734 - Stop storing security policies on XPCWrappedNativeProtos. r=mrbkap
This is just a cache, so we can safely remove it without impacting correctness.
The rest of this mechanism goes away in subsequent patches.
2013-12-13 19:15:43 -08:00
Bobby Holley
cfdc7a64b4 Bug 937317 - Tests. r=bz 2013-12-11 17:51:59 -08:00
Gabor Krizsanits
a4dc9c6eea Bug 943357 - Name argument of exportFunction should be optional. r=bholley 2013-12-10 09:56:19 +01:00
Phil Ringnalda
e2e1627d17 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Bobby Holley
e57ccfca4b Bug 937317 - Tests. r=bz 2013-12-06 12:01:43 -08:00
Carsten "Tomcat" Book
5493003a84 Backed out changeset c84430c040dd (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:41:18 +01:00
Bobby Holley
3fbf0dd19c Bug 937317 - Tests. r=bz 2013-12-05 21:34:18 -08:00
Gabor Krizsanits
a79d22bbdd Bug 939696 - isProxy for Cu. r=bholley 2013-11-26 14:54:02 +01:00
Terrence Cole
db6bfaf0c6 Bug 940718 - Create the first safe JSContext in a GC safe location; r=bholley
--HG--
extra : rebase_source : fa6e43d8e194e21e1a5231050aa7a959d844edd5
2013-11-20 12:12:11 -08:00
Mike Hommey
9fe772e7fd Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Bobby Holley
2c448611f5 Bug 840488 - Introduce a mechanism to temporarily or permanently block script for a given scope, and use it for unsafe channels. r=bz 2013-11-12 16:43:33 -08:00
Gijs Kruitbosch
b9bab00f22 Bug 821726 - allow bypassing script cache when using loadSubscript, r=bholley 2013-11-05 16:35:41 +01:00
Gabor Krizsanits
8550f0ba8d Bug 930523 = createObjectIn should waive. r=bholley 2013-11-05 08:02:07 +01:00
Gabor Krizsanits
0fa275fef4 Bug 930910 - evalInWindow for Cu. r=bholley 2013-11-05 08:00:30 +01:00
Gabor Krizsanits
b509eb8d77 Bug 930910 - exportFunction for Cu. r=bholley 2013-11-05 08:00:20 +01:00
Gabor Krizsanits
fa55e5337b Bug 930910 - options object for Cu.createObjectIn. r=bholley 2013-11-05 08:00:05 +01:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Bobby Holley
22b942c8eb Bug 920553 - Introduce Cu.importGlobalProperties API. r=gabor 2013-09-27 18:34:25 +02:00
Ryan VanderMeulen
30168b484b Merge fx-team to m-c. 2013-09-11 21:48:20 -04:00
Bobby Holley
759fd7d481 Bug 856437 - Remove lookupMethod API. r=gabor 2013-09-11 11:28:20 -07:00
Mike Hordecki
2ea0a6172a Bug 898559 - Add metadata API for add-on globals. r=bholley 2013-09-11 09:50:15 -04:00
Ehsan Akhgari
63120f149f Bug 913851 - Minimize the #includes in js/xpconnect; r=bholley
X-Git-Commit-ID: 78e6843063b303780a7dd2695dd2824a0a9c9a3c

--HG--
extra : rebase_source : 1dfcc228f43c68efbbc74f639570c227c26ef025
2013-09-09 23:14:10 +02:00
Ehsan Akhgari
13a9b30ce0 Bug 913830 - Remove more unneeded #includes from the xpconnect IDL files; r=bholley 2013-09-09 22:37:37 +02:00
Kyle Huey
d423a6350e Bug 911258: Part 4 - Refactor exception implementations. r=bz 2013-09-08 20:28:50 -07:00
Ehsan Akhgari
36280b9569 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
6d001e824e Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-09-04 14:06:56 -07:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Nethercote
42ccf38dcd Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Bobby Holley
2ce8f2d13b Bug 903212 - Remove nsIXPCScriptNotify machinery. r=mrbkap 2013-08-14 14:00:03 -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
Kyle Huey
0d4beab639 Bug 845545: Part 2 - Refactor context creation callbacks. r=bholley,mccr8 2013-08-03 16:55:39 -07:00
Ms2ger
023dc49091 Bug 897945 - Use an XPCOM string for nsContentUtils::ReportToConsole's category argument; r=bholley 2013-08-02 09:09:11 +02:00
Bobby Holley
a9060fc081 Bug 870043 - Add a script-accessible statistics for various watchdog events. r=mrbkap
We need this even for testing wakeups, because we can't be certain that any
given operation callback was necessarily triggered from the watchdog thread
(since it's triggered from within the JS engine in various cases as well).
2013-07-24 15:33:31 -07:00
Bill McCloskey
daca74ad0a Bug 895340 - Fix error reporting of JS exceptions from C++ (r=bholley) 2013-07-23 08:32:36 -07:00
Bobby Holley
7abe607721 Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap 2013-07-16 20:38:44 -07:00
Kyle Huey
49b422d01c Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff 2013-07-09 07:28:15 -07:00
Bobby Holley
ee3bfc4787 Bug 860085 - Remove nsIXPConnect::ReleaseJSContext. r=gabor 2013-07-03 11:05:19 -06:00
Bobby Holley
f5f7bf3be5 Bug 880917 - Generalize JS_NewGlobalObject API to take CompartmentOptions. r=luke
This will be useful for versioning, as well as JIT options and all the other
stuff that eventually needs to move out of the JSContext.
2013-06-29 09:11:17 -06:00
Bobby Holley
e1ffe44fa6 Bug 884245 - Simplify nsContentUtils::GetDocumentFromCaller. r=bz
The first three lines of this function are an obvious bug. But the behavior in
general is also worrisome, because it's using antiquated XPConnect machinery
that will be less and less correct as we move to the new DOM bindings. Let's
just infer our global from the active compartment.
2013-06-20 11:05:32 -07:00
Kyle Huey
c094a9abfa Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-18 12:01:26 -07:00
Ed Morley
dbe9ed7b72 Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266 2013-06-11 16:11:14 +01:00