Commit Graph

132421 Commits

Author SHA1 Message Date
Bobby Holley
d1daeb827a Bug 868110 - Introduce a more private API for the consumers that really do need the default compartment object. r=luke
The primary consumer of this is the whole inner/outer DOM window setup, which
uses the default global to track the current inner. But there are few other
random ones as well.

We use this as an opportunity to convert a bunch of consumers from the two-step
GetNativeContext() -> JS_GetGlobalObject() into just |GetNativeGlobal()|. This
will make things much easier to convert when we start tracking the current inner
explicitly.
2013-05-22 15:42:44 -06:00
Bobby Holley
ef4df9f831 Bug 868110 - Remove JS_GetGlobalObject from the IPC test-shell. r=luke
This one is easy to infer, because we subsequently call JS_CallFunctionValue,
which asserts that cx, obj, and fval are all same-compartment. So assuming
this code doesn't compartment mismatch right now, this should be equivalent.
2013-05-22 15:42:44 -06:00
Bobby Holley
a4f2b8ea34 Bug 873698 - Remove JS_GetGlobalObject from plugins. r=gabor 2013-05-22 15:42:44 -06:00
Bobby Holley
b0e91fda0d Bug 871306 - Use the current global rather than the default global in jsdContext::GetGlobalObject. r=gabor
As far as I can tell from the IDL docs and digging through the Firebug source,
this is what we want here.
2013-05-22 15:42:44 -06:00
Bobby Holley
e81b05653a Bug 871306 - Remove globalObject from jsdIFilter. r=gabor
It looks like firebug only ever passes null, which is equivalent to not using
it at all.
2013-05-22 15:42:43 -06:00
Bobby Holley
435d516232 Bug 871306 - Add an API for directly accessing the default JSD global and use it in ActivateDebugger. r=gabor 2013-05-22 15:42:43 -06:00
Joey Armstrong
2f5467a32a bug 870406: move CSRCS to moz.build (logic) r=gps 2013-05-22 14:28:55 -07:00
Shane Tully
d36c64c1a4 Bug 790775 - Sony Ericsson Xperia Play's "circle" and "cross" D-pad buttons generate unexpected keycodes. r=cpeterson 2013-05-22 14:07:29 -07:00
Tom Schuster
dea1fca4c0 Bug 863957 - Check if jsid is really a string in Components.interfacesByID. r=bz 2013-05-22 22:32:50 +02:00
Terrence Cole
103d8701de Bug 872384 - Clone self hosted objects directly into tenured; r=till
The jit is allowed to bake pointers to intrinsics into jitcode. Since all
self-hosted clones are intrinsics, we need these to always be tenured.

--HG--
extra : rebase_source : b4e6b63db874a95d5eac4cafa34a7aaadd163f58
2013-05-16 10:24:22 -07:00
Chenxia Liu
5bb2bedfd6 Bug 872543 - Long-form data reporting notification sticks around after visiting settings. r=rnewman 2013-05-22 13:09:55 -07:00
Kartikaya Gupta
99e10f8002 Bug 868212 - Silence JS warning about undefined property. r=cpeterson 2013-05-22 15:50:54 -04:00
Mike Conley
ff12554e86 Bug 875042 - Remove unnecessary setTimeout from search-textbox constructor. r=dolske. 2013-05-22 15:37:37 -04:00
Ryan VanderMeulen
4a2c1820e6 Backed out changesets e52c6f7200b3 and 2718954757e1 (bug 874869) for intermittent Windows leaks. 2013-05-22 15:22:26 -04:00
Jan-Ivar Bruaroey
006b43099f Bug 872839 - Part 2: Untangle iceServer parsing from PeerConnectionMedia initialization for cleaner failure path. r=jesup 2013-05-22 14:32:10 -04:00
Jan-Ivar Bruaroey
8e758ade44 Bug 872839 - Part 1: Put new PeerConnections on global list earlier, ensuring close is called should PC.initialize fail. r=jesup 2013-05-22 13:05:20 -04:00
Joey Armstrong
cbd9faf4c9 bug 869135: move ASFILES to moz.build (config - set #1) 2013-05-22 12:08:51 -07:00
Richard Newman
84c79c383c Bug 875000 - Only attempt to tweak StrictMode on API 9+. r=trivial (bustage) 2013-05-22 11:26:46 -07:00
Terrence Cole
684fde513f Bug 851057 - Implement generational GC support in IonMonkey; r=dvander 2013-04-18 17:03:40 -07:00
Brian Hackett
c95cae4506 Bug 870052 - Various tweaks to reduce recompilation on asm.js style apps, r=jandem. 2013-05-22 11:36:29 -06:00
Richard Newman
ab06b41c54 Bug 858742, Bug 868449 - Fennec integration for Firefox Health Report on Android. r=mfinkle, nalexander
* * *
Hacking on profile times.
2013-05-22 10:23:53 -07:00
Richard Newman
e23d284598 Bug 868274 - Part 1: extend generateDocument to extract data from profile. r=nalexander 2013-05-22 10:23:51 -07:00
Richard Newman
9a066742c8 Bug 873360 - Profile information storage. r=nalexander 2013-05-22 10:23:29 -07:00
Richard Newman
2b7f515f12 Bug 868449 - Part 1: provide an EnvironmentBuilder to generate environments for FHR. r=nalexander 2013-05-22 10:23:29 -07:00
Richard Newman
9b65ccfe0e Bug 873338 - JavaDoc and checkstyle warnings. r=trivial 2013-05-22 10:23:29 -07:00
Richard Newman
69579460b9 Bug 858742 - Part 2: manifest change for Firefox Health Report content provider. r=trivial 2013-05-22 10:23:29 -07:00
Richard Newman
58837db389 Bug 858742 - Part 1: Firefox Health Report storage for Android. r=nalexander 2013-05-22 10:23:29 -07:00
Stephen Pohl
e2bc9c257d Bug 874486 - Add weakFrame.IsAlive checks to avoid crashing. r=roc 2013-05-22 13:16:19 -04:00
Raymond Lee
0fc1ba9821 Bug 836439 - Handle downloads started in private browsing mode. r=paolo 2013-05-22 20:14:07 +08:00
Ryan VanderMeulen
18ee6344f8 Merge m-c to inbound. 2013-05-22 12:31:28 -04:00
Ryan VanderMeulen
1d952cf849 Merge inbound to m-c. 2013-05-22 12:27:51 -04:00
Brian R. Bondy
40b7e62fb0 Bug 861322 - Make Metro read Desktop app.update.mode setting. r=jimm 2013-05-22 10:17:05 -04:00
Ryan VanderMeulen
8562f3d8aa Merge m-c to inbound. 2013-05-22 10:01:52 -04:00
Ryan VanderMeulen
0a40ecad93 No bug - Fix up reftest list order. DONTBUILD 2013-05-22 09:48:56 -04:00
Brian Hackett
f09bf4d7ea Bug 871075 - Add rooting analysis warnings for unsafe address taken of variables DONTBUILD 2013-05-22 07:47:41 -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
Brian Hackett
977c424faf Bug 871002 - Use uint32 comparisons more often, r=jandem. 2013-05-22 06:50:18 -06:00
Markus Stange
7b49365fa6 Backed out 2 changesets (bug 871590) CLOSED TREE 2013-05-22 14:10:46 +02:00
Eric Chou
21442832e7 Bug 839370 - Implement callback function OnUpdateSdpRecords() in BluetoothProfileManagers, r=gyeh 2013-05-22 19:08:21 +08:00
Eric Chou
8f97249989 Bug 839370 - Implement function UpdateSdpRecords(), r=gyeh 2013-05-22 19:08:17 +08:00
Ed Morley
948330f52b Merge mozilla-central and birch 2013-05-22 11:26:36 +01:00
Gijs Kruitbosch
c519ed8e42 Bug 874448 - OS X customization mode doesn't have dragover border indicators on toolbarpaletteitems, r=dao
--HG--
extra : rebase_source : 362b1b4596078e358cb9856b43781447e409f56f
2013-05-22 11:37:06 +02:00
Ehsan Akhgari
1b380a6cf7 Follow-up to bug 874869: Clobber the builds, because the build system sucks
Landed on a CLOSED TREE
2013-05-22 12:12:59 -04:00
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
300df79e8d Bug 868130 - Fix sketchy cx consumers identified by gabor. r=gabor 2013-05-22 10:05:27 -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