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
Kyle Huey
fa511cb934
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Arnaud Sourioux
846a0ff093
Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley
2013-06-07 08:40:56 -04:00
Kyle Huey
b8b637e901
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
8ffe7e2c57
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Bobby Holley
7a7cb3b991
Bug 877478 - Remove SetSecurityManagerForJSContext and related APIs. r=mrbkap
...
The only consumers here were the shells, which we've now fixed.
2013-06-04 19:56:43 -07:00
Trevor Saunders
399641e550
bug 873622 - remove nsIXPConnectWrappedNative::GetXPConnect() r=bholley
2013-05-17 14:31:02 -04:00
Mihai Sucan
1611b7310d
Bug 859756 - [browserconsole] Add timestamp to nsIConsoleMessages; r=bz
2013-05-24 21:36:56 +03:00
Jan de Mooij
d1d46a2f99
Bug 857845 part 3 - Remove JM JSAPI flags, memory reporters and browser prefs. r=djvj
...
--HG--
extra : rebase_source : 8b2ed85801fcd8c8fd0fc16a89b1a275add1a310
2013-05-22 14:50:45 +02:00
Boris Zbarsky
08e2b56c8e
Bug 874612. Make some nsIXPConnectWrappedNative methods take a Handle<jsid> instead of a jsid. r=bholley
2013-05-21 22:59:17 -04:00
Boris Zbarsky
85b06d58a3
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
Gregory Szorc
14c4938355
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
0b28853762
Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
...
CLOSED TREE
2013-05-17 17:30:20 -04:00
Mihai Sucan
e9c7f9a4ce
Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz
2013-05-16 20:23:46 +03:00
Bobby Holley
771069e4dc
Bug 868675 - Introduce a Cu API for waiving/unwaiving. r=gabor,sr=mrbkap
...
This should be the API we promote going forward.
2013-05-07 10:09:02 -07:00
Tom Schuster
6e39838725
Bug 865410 - Use CallArgs for XPConnect Call and Construct hooks. r=bholley.
2013-05-04 19:25:15 +02:00
Bobby Holley
e47507c912
Bug 865729 - Remove nsIJSContextStack. r=gabor
...
\o/
2013-04-29 11:16:24 -07:00
Bobby Holley
eb840cbdb4
Bug 865729 - Remove Context stack iterators. r=gabor
2013-04-29 11:16:23 -07:00
Bobby Holley
ee8843b983
Bug 865729 - Remove Push/Pop from public API. r=gabor
2013-04-29 11:16:22 -07:00
Bobby Holley
a1a3f2c647
Bug 865729 - Make nsIXPConnect inherit nsIThreadJSContextStack. r=gabor
...
Right now, the concrete nsXPConnect implements nsIXPConnect and
nsIThreadJSContextStack separately. I want to migrate the API from the latter
interface to the former, but I can't right now because it means we'd end up
with a duplicated method (getSafeJSContext). Since there's only one concrete
class that implements nsXPConnect, let's just use interface inheritance, which
simplifies the migration.
2013-04-29 11:16:20 -07:00
Bobby Holley
edbf96fe52
Bug 862918 - Add a utility method on Cu to get the class name of an object. r=bz
...
instanceof is behaving sketchily on modal window, and I want this test to be robust.
2013-04-19 09:49:57 -04:00
Jeff Walden
f9d3bc73ed
Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm
2013-04-05 21:22:55 -07:00
Gabor Krizsanits
c38a4cd7da
Bug 820170 - Turning BackstagePass into non-singleton. r=bholley
2013-04-04 11:27:38 +02:00
Bobby Holley
dd167cf5db
Bug 856257 - Clean up nsXPConnect sandbox API a bit. r=mrbkap
2013-04-02 09:45:01 -07:00
Kyle Machulis
5aa83c3e11
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
c79ccc0693
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00