Commit Graph

122780 Commits

Author SHA1 Message Date
Boris Zbarsky
f9e332a488 Bug 838686 part 1. Add a helper class that can store a WebIDL callback or an XPCOM interface. r=peterv 2013-02-26 15:10:15 -05:00
Boris Zbarsky
6d9032824d Bug 845313. Make mochitest-ipcplugins actually pay attention to the TEST_PATH. r=bsmedberg 2013-02-26 15:10:15 -05:00
Margaret Leibovic
8a60a5cf5d Bug 845075 - Move more tab-specific event handlers from GeckoApp to Tabs. r=mfinkle 2013-02-26 11:50:04 -08:00
Margaret Leibovic
4afe82ac09 Bug 843821 - Remove debug logging that accidentally landed. r=oops 2013-02-26 11:50:00 -08:00
Jim Blandy
a41df08de8 Bug 839313: Don't use a runtime value root to implement the 'customNative' property of 'it'. r=waldo 2013-02-26 11:48:44 -08:00
Jim Blandy
6e2c93f8f0 Bug 839313: In js/src/shell/js.cpp, Use JS_SET_RVAL, instead of assigning to *vp. r=waldo 2013-02-26 11:48:44 -08:00
Jim Blandy
58455e9632 Bug 839313: Replace JSVAL_VOID and similar constants with their JS::MumbleValue() equivalents. r=waldo 2013-02-26 11:48:43 -08:00
Joshua Cranmer
11274b83c3 Bug 648980 - Add a hook for projects to have custom configure scripts. r=glandium
--HG--
extra : rebase_source : e020071adc89e07fd45d468aabe518027df7ba44
2013-02-26 13:45:52 -06:00
Avi Halachmi
096f69a2e2 Bug 590422: Remove delay line filter from timer thread. r=bz 2013-02-20 20:21:09 +02:00
Ethan Hugg
420e9eb01d Bug 844929: Accept numeric parameters > UINT_MAX in SDP o-lines 2013-02-25 10:22:10 -08:00
Milan Sreckovic
6dfd8c194e Bug 844630 - Be explicit about environ visibility. r=bgirard 2013-02-26 13:21:06 -05:00
Bobby Holley
2c5746f6db Bug 834732 - Assert proper cx stack handling in WrapperFactory::Rewrap. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
2589449122 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Bobby Holley
210cff1d9f Bug 834732 - Introduce AutoPushJSContext. r=mrbkap
It's annoying to add yet another RAII class, but we're solving a different
problem here. In particular, there are lots of callers that grab a cx off
of an nsIScriptContext and use it without pushing. Most of the time this
is ok, since that cx is also the active cx. But it's hard to tell when we
might potentially violate that invariant. What's more, we don't want to just
use an nsCxPusher, because that does expensive things even when the cx matches
the one on the top of the stack. Most of these consumers should just switch
to AutoJSContext, but doing such a change en masse is a pretty risky thing to
do. So let's introduce a class that gives us good performance in the common case
and correctness in the uncommon case.
2013-02-26 11:04:12 -08:00
Bobby Holley
21306774b0 Bug 834732 - Improve pushing in nsJSEnvironment. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
5b3fac708a Bug 834732 - Push a cx in AdoptNode. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
8a84420534 Bug 834732 - Push a cx in nsPrincipal::SetDomain. r=mrbkap 2013-02-26 11:04:12 -08:00
Bobby Holley
3e3df975b8 Bug 834732 - Push a cx in nsWindowSH::NewResolve. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
169d010a55 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
e83e186c1b Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8 Bug 834732 - Remove PushBehavior. r=mrbkap
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
99fefbe87b Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-26 11:04:10 -08:00
Bobby Holley
cfbc405fc8 Bug 834732 - Make nsDocShell::AddState push the JSContext if it grabs one, and remove push in nsStructuredCloneContainer. r=mrbkap
This gets rid of one of the last consumers of REQUIRE_SCRIPT_CONTEXT.
2013-02-26 11:04:10 -08:00
Bobby Holley
90a1dbb7be Bug 834732 - Make SafeAutoJSContext actually push something. r=mrbkap
Currently it never does, because the SafeJSContext doesn't have an
nsIScriptContext behind it. :-(
2013-02-26 11:04:10 -08:00
Bobby Holley
e04f8d807d Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Glenna Buford
744ba6030f Bug 835868 - Consolidate cross-process permission checks for TCPSocket. r=jdm 2013-02-26 13:57:39 -05:00
Sriram Ramasubramanian
0cea701827 Bug 844984: Remove overdraw in Awesomebar. [r=bnicholson] 2013-02-25 12:15:00 -08:00
Nicolas B. Pierron
95fc06671d Bug 841666 - Use exponent over-estimation to truncate operations. r=h4writer 2013-02-26 10:54:26 -08:00
Brian Nicholson
93d01ba33b Bug 844590 - Use Looper.getMainLooper() for UiAsyncTask. r=kats
--HG--
extra : rebase_source : 4e5c919cd98b30faee9d0c1e3b429e27fe7d1ea2
2013-02-25 15:15:49 -08:00
Nicolas B. Pierron
e6bc6cbf2c Bug 844305 - Check that excluded type are included before generating guards. r=bhackett 2013-02-26 10:43:32 -08:00
Nicolas B. Pierron
94b681eea6 Bug 844059 - Prevent int-specialized GetElementIC to produce stub for float typed arrays. r=dvander 2013-02-26 10:40:19 -08:00
Marshall Culpepper
cae1fe3168 Bug 775281: B2G Mochitest frontend fixes to enable xpcshell from test.sh. r=jgriffin 2013-02-26 12:05:35 -06:00
Josh Matthews
f96cf58d2c Bug 832411 - Build fix for a CLOSED TREE. 2013-02-26 13:05:05 -05:00
Kyle Machulis
a1549cd802 Bug 843913: Set DBus watch function to null on event loop exit; r=tzimmermann 2013-02-26 10:01:48 -08:00
Jim Chen
1bea3db9ee Bug 844913 - Null-check getEditable() results in GeckoInputConnection; r=cpeterson 2013-02-26 12:48:32 -05:00
Josh Matthews
16a9bb20ba Bug 832411 - Track geolocation requests' use of high accuracy and ensure the providers are update when necessary. r=dougt 2013-02-26 12:27:31 -05:00
Andre Reinald
9aceee2108 Bug 809254 - New Tab (⌘T) while minimized leaves the window minimized. r=dao 2013-02-26 18:18:26 +01:00
David Rajchenbach-Teller
fe9d26060e Bug 840887 - Test the behavior of DirectoryIterator when the directory doesn't exist. r=froydnj 2013-02-26 12:08:51 -05:00
David Rajchenbach-Teller
9950c3040e Bug 840887 - DirectoryIterator.prototype.exists - asynchronous version. r=froydnj 2013-02-26 12:08:28 -05:00
David Rajchenbach-Teller
83353d19f3 Bug 840887 - Fix behavior of DirectoryIterator when the directory doesn't exist - Windows version. r=froydnj 2013-02-26 12:08:07 -05:00
David Rajchenbach-Teller
7fdef2d704 Bug 840887 - Fix behavior of DirectoryIterator when the directory doesn't exist - Unix version. r=froydnj 2013-02-26 12:07:42 -05:00
David Rajchenbach-Teller
3ab4721bb3 Bug 840887 - New OS.Constants constants. r=khuey 2013-02-26 12:06:53 -05:00
Andrea Marchesini
32ae77ede9 Bug 843417 - LMK will never kill the Musicplayer app. r=mchen, f=jlebar 2013-02-26 12:02:32 -05:00
Andrea Marchesini
25838567db Bug 842986 - Implement MozFrameLoaderOwner on HTMLFrameElement. r=bz 2013-02-26 12:02:32 -05:00
Ryan VanderMeulen
18bdfb8f5f Merge m-c to inbound. 2013-02-26 12:02:29 -05:00
Robert Longson
85dc58ac04 Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt 2013-02-26 16:58:06 +00:00
Rail Aliiev
2702b66949 Bug 837019 - update mozilla-central gonk snapshot (otoro). r=hwine 2013-02-26 11:55:44 -05:00
Rail Aliiev
06030282c8 Bug 837019 - update mozilla-central gonk snapshot (unagi & panda). r=hwine 2013-02-26 11:55:06 -05:00
Rafael Ávila de Espíndola
898300a17a Bug 845277 - Asan builds burning with "js/src/jsproxy.h:346:7: error: visibility does not match previous declaration". r=bholley. 2013-02-26 11:43:13 -05:00
Ehsan Akhgari
d5b7a4ed87 Bug 845341 - Make sure that PrivateBrowsingUtils.permanentPrivateBrowsing does not throw if the autostart pref doesn't have a default value; r=jdm 2013-02-26 11:31:35 -05:00