Commit Graph

2225 Commits

Author SHA1 Message Date
Bobby Holley
29aaa7a698 Bug 872135 - Use the SafeJSContext in nsXPConnect::CheckForDebugMode. r=gabor 2013-05-22 10:05:28 -06:00
Bobby Holley
ac7f7ccafb Bug 868130 - Fix include guard. r=me 2013-05-22 10:05:28 -06:00
Bobby Holley
91448a9dac Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
ba8c5579b5 Bug 868130 - Add an AutoRequest inside nsCxPusher. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
20dd5cfed6 Bug 868130 - Remove the dependencies of the nsCxPusher machinery on nsContentUtils, use nsCxPusher in xpcshell, and privatize APIs. r=gabor
No more xpc::danger, for now. ;-)
2013-05-22 10:05:26 -06:00
Bobby Holley
fbfc8f9abe Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
The JSContext stack is an XPConnect construction. In particular, there are
situations where we want to manipulate it outside the lifetime of nsContentUtils
but within the lifetime of the stack itself. In order to do this cleanly, it's
helpful to use private XPConnect APIs. So the first step here is to move this into
js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h.

--HG--
rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp
rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
2013-05-22 10:05:26 -06:00
Bobby Holley
54ef3d2952 Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor 2013-05-22 10:05:26 -06:00
Bobby Holley
94963dc0b5 Bug 868130 - Enter a request for all of OnJSContextNew. r=peterv 2013-05-22 10:05:23 -06: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
Bobby Holley
58c6661d63 Bug 874083 - Ignore domain in PrepareForWrapping prototype remapping. r=gabor, billm 2013-05-21 07:53:35 -06:00
Brian Hackett
7f3a0017d1 Bug 871079 - Don't trigger operation callback if JS has been running for less than one second, r=bholley. 2013-05-20 20:26:44 -06:00
Andrew McCreight
45b08b78f1 Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug 2013-05-20 13:08:11 -07:00
Masatoshi Kimura
39d0ce714a Bug 873753 - Remove classinfo bits from WebIDL-bound events. r=smaug 2013-05-21 04:34:12 +09:00
Bobby Holley
aef9decad9 Bug 871887 - Make sure |this|-binding is correct or marquee event listeners. r=bz 2013-05-20 11:33:49 -06: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
Boris Zbarsky
8fdfd3f823 Bug 873735 part 1. Fix the more or less mechanical browser rooting hazards. r=terrence 2013-05-20 08:40:06 -04:00
Boris Zbarsky
9b8ebb7008 Bug 873730. Make JS_SourceHook take a Handle for the JSScript. r=till 2013-05-18 23:09:11 -04:00
Masatoshi Kimura
0ce5a821cd Bug 871786 - Remove KeyboardEvent classinfo. r=smaug 2013-05-19 10:28:48 +09:00
Andrea Marchesini
38fc5d8909 Bug 870856 - Convert DOMError to WebIDL. r=Ms2ger, r=bz 2013-05-18 13:52:06 -04:00
Boris Zbarsky
fd290b314c Bug 868312 finale: finish rooting dom/ code. r=smaug 2013-05-17 21:48:25 -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
9a0ba8199c Merge m-c to inbound on a CLOSED TREE. 2013-05-17 17:34:54 -04: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
Ryan VanderMeulen
b34b45bbc7 Merge m-c to fx-team. 2013-05-17 12:51: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
Jan-Ivar Bruaroey
724cdbf7ac Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup 2013-05-07 20:55:21 -04:00
Ryan VanderMeulen
94b76c580d Merge m-c to inbound. 2013-05-17 15:40:53 -04:00
Bobby Holley
2164e47055 Bug 872772 - Tests. r=gabor 2013-05-17 10:44:25 -07:00
Bobby Holley
064079672c Bug 872772 - Fix up lost Xray waivers when wrapping into the content compartment. r=gabor 2013-05-17 10:44:25 -07:00
Andrew McCreight
b13ef63428 Bug 865320 - Move the logic for deciding when to doing a merging CC into the cycle collector. r=smaug 2013-04-29 16:41:41 -07:00
Nathan Froyd
2271a709b0 Bug 871595 - don't include WrapperFactory.h in AccessCheck.h; r=bholley 2013-05-13 12:04:23 -04:00
David Zbarsky
81e131ceac Remove some unused code due to bug 871189, r=bz over irc 2013-05-16 12:29:03 -07:00
David Zbarsky
c8f4001a0a Bug 871189 - Remove Document classinfo r=bz 2013-05-16 11:06:21 -07:00
Olli Pettay
a140d82a9a additional patch for Bug 847594, remove bogus assertion, r=bz, CLOSED TREE 2013-05-16 19:16:29 +03:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Aryeh Gregor
479d0df997 Bug 867098 - Don't implicitly convert to already_AddRefed in js/xpconnect/. r=peterv 2013-04-28 14:49:41 +03:00
Cameron McCormack
5cffb9cbd6 Bug 839103 - Part 11: Add StyleRule{Added,Removed,Changed} events. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
26cb31824b Bug 839103 - Part 10: Add StyleSheetApplicableStateChange event. r=bz 2013-05-16 17:13:36 +10:00
Cameron McCormack
0a241ee395 Bug 839103 - Part 9: Unify nsIDOMStyleSheet{Added,Removed}Event. r=bz 2013-05-16 17:13:36 +10:00
Bobby Holley
718c0af04a Bug 866823 - Handle standard prototype remapping in PrepareForWrapping. r=gabor,mrbkap 2013-05-15 21:13:12 -07:00
Bobby Holley
e64892b96e Bug 866823 - Don't create waivers in WaiveXrayAndWrap if the caller has no business waiving. r=gabor,mrbkap 2013-05-15 21:13:12 -07:00
Bobby Holley
f16fc9fb32 Bug 871887 - Fix marquee _setEventListener. r=bz 2013-05-15 18:59:53 -07:00
Trevor Saunders
e6f2cf55d3 bug 860027 - lazily get the list of interfaces r=bholley 2013-05-03 17:22:46 -04:00
Trevor Saunders
b53dcf2bff bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley r=bsmedberg 2013-04-09 16:00:21 -04:00
Masatoshi Kimura
ac11f43104 Bug 673919 - Remove captureEvents, releaseEvents, and routeEvent. r=smaug 2013-05-14 21:18:39 +09:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Ryan VanderMeulen
153e36ec98 Backed out changesets 6be352955252 and 1bc459138617 (bug 770840) for Android nightly bustage (bug 870782).
CLOSED TREE
2013-05-10 12:38:26 -04:00
Brian O'Keefe
2186ab5dce Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps 2013-05-01 14:05:40 -04:00
Bobby Holley
e11b57da96 Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2 2013-04-12 15:35:00 -04:00