Commit Graph

122790 Commits

Author SHA1 Message Date
Bobby Holley
1ffc542460 Bug 834732 - Implement stricter cx handling in xpc_EvalInSandbox. r=mrbkap 2013-02-26 11:04:11 -08:00
Bobby Holley
51ba6ef50d 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
9190ce39d5 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
10b21fa400 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
6c8aaf6e25 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
c6da4f2657 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
997dcc7d65 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
10cd22acc0 Bug 835868 - Consolidate cross-process permission checks for TCPSocket. r=jdm 2013-02-26 13:57:39 -05:00
Sriram Ramasubramanian
e34d7b5105 Bug 844984: Remove overdraw in Awesomebar. [r=bnicholson] 2013-02-25 12:15:00 -08:00
Nicolas B. Pierron
886b6d7469 Bug 841666 - Use exponent over-estimation to truncate operations. r=h4writer 2013-02-26 10:54:26 -08:00
Brian Nicholson
425860bde6 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
8eb41d1bd5 Bug 844305 - Check that excluded type are included before generating guards. r=bhackett 2013-02-26 10:43:32 -08:00
Nicolas B. Pierron
33b8484355 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
90d52c37e5 Bug 775281: B2G Mochitest frontend fixes to enable xpcshell from test.sh. r=jgriffin 2013-02-26 12:05:35 -06:00
Josh Matthews
35b5eb78a2 Bug 832411 - Build fix for a CLOSED TREE. 2013-02-26 13:05:05 -05:00
Kyle Machulis
c26d4228e6 Bug 843913: Set DBus watch function to null on event loop exit; r=tzimmermann 2013-02-26 10:01:48 -08:00
Jim Chen
57a92f2116 Bug 844913 - Null-check getEditable() results in GeckoInputConnection; r=cpeterson 2013-02-26 12:48:32 -05:00
Josh Matthews
61e76802ae 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
0200f7ab78 Bug 809254 - New Tab (⌘T) while minimized leaves the window minimized. r=dao 2013-02-26 18:18:26 +01:00
David Rajchenbach-Teller
b0f2f97bcf 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
d9de4189d3 Bug 840887 - DirectoryIterator.prototype.exists - asynchronous version. r=froydnj 2013-02-26 12:08:28 -05:00
David Rajchenbach-Teller
40c86b9211 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
89fd452b5b 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
c45bf4ae63 Bug 840887 - New OS.Constants constants. r=khuey 2013-02-26 12:06:53 -05:00
Andrea Marchesini
8212b675ca Bug 843417 - LMK will never kill the Musicplayer app. r=mchen, f=jlebar 2013-02-26 12:02:32 -05:00
Andrea Marchesini
342ae1355d Bug 842986 - Implement MozFrameLoaderOwner on HTMLFrameElement. r=bz 2013-02-26 12:02:32 -05:00
Ryan VanderMeulen
854640ae1e Merge m-c to inbound. 2013-02-26 12:02:29 -05:00
Robert Longson
1216de8a05 Bug 785606 - Support viewBox=none from SVG 1.2 Tiny r=jwatt 2013-02-26 16:58:06 +00:00
Rail Aliiev
f12e7d74a0 Bug 837019 - update mozilla-central gonk snapshot (otoro). r=hwine 2013-02-26 11:55:44 -05:00
Rail Aliiev
fbf7ab3493 Bug 837019 - update mozilla-central gonk snapshot (unagi & panda). r=hwine 2013-02-26 11:55:06 -05:00
Rafael Ávila de Espíndola
5d2e6f8fa1 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
34b8551fe3 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
Norbert Lindenberg
79c107aa93 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 11). r=jwalden
--HG--
extra : rebase_source : 4de3e1ccf4c5f5809ff517ac7190ea411119dac3
2013-02-22 15:31:09 -08:00
Norbert Lindenberg
66398bcef4 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 10). r=jwalden
--HG--
extra : rebase_source : 5e68b2c9aaa862152a80d870f0379d81db98fead
2013-02-22 15:31:07 -08:00
Norbert Lindenberg
1251bc9f6a Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 9). r=jwalden
--HG--
extra : rebase_source : f87af76e895dc145e73d0df0e44aec931ec1ffdf
2013-02-22 15:30:28 -08:00
Norbert Lindenberg
907883adcb Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 8). r=jwalden
--HG--
extra : rebase_source : 7d583e686ae7c2f830971e7282b5f1754d2c57f9
2013-02-22 15:30:09 -08:00
Justin Lebar
a9c8386f3a Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz 2013-02-26 11:24:41 -05:00
Bobby Holley
3ed822eacf Bug 812693 - Remove GetJSObjectOfWrapper. r=mrbkap 2013-02-26 08:15:44 -08:00
Brian Hackett
e2d5ca1724 Bug 835587 - Add syntax only mode to parser, r=jorendorff. 2013-02-26 08:41:57 -07:00
James Willcox
26f696defb Bug 844289 - Guard against missing Surface.mNativeSurface on Android r=kats 2013-02-26 09:28:57 -05:00
Adam Roach [:abr]
85c5ad8da6 Bug 837523 - Additional checks for unsupported app behavior r=ehugg 2013-02-26 08:26:29 -06:00
Geoff Brown
d66ee68167 Bug 844797 - Avoid UnboundLocalError on dumpDir in checkForCrashes; r=edmorley 2013-02-26 07:19:58 -07:00
Geoff Brown
d9b8b01e2e Bug 798683 - Replace getChildCount() calls in robocop tests; r=bnicholson 2013-02-26 07:19:57 -07:00
Berker Peksag
47563a3e43 Bug 801618 - WebApps installer does not need asyncCopy. r=yoric 2013-02-26 09:48:35 +02:00
Nanci Bonfim
62aed6d8a3 Bug 800278 - FrameWorker.ports using Map instead of object. r=jaws 2013-02-24 02:36:03 -03:00
Jorge Luis Mendez
246a565220 Bug 793728 - Implement OS X backend for the Ambient Light API. r=BenWa, r=dougt, r=bz 2013-02-22 00:39:42 -05:00
Jan de Mooij
33b89c2e79 Bug 844893 - Don't assert when two threads call getVMWrapper at the same time. r=luke 2013-02-26 13:49:44 +01:00
Jacek Caban
feedcb752e Bug 716859 - Avoid jump crossing variable declaration (GCC bustage fix) 2013-02-26 12:06:43 +01:00
Jacek Caban
c7103f6a75 Bug 844905 - Change MediaResource::GetContentType return type to nsCString. r=cpearce 2013-02-26 12:02:20 +01:00
Gregory Szorc
6c3fa08eab Backout 4682ed369545 (bug 841713) for reftest make target bustage
--HG--
extra : rebase_source : 6bf45c9f33563109cf6d17197f9184a3a336efe0
2013-02-20 09:16:02 -08:00