Commit Graph

13543 Commits

Author SHA1 Message Date
Yury Delendik
92e8ade290 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Ryan VanderMeulen
40de665a8d Merge m-c to inbound. 2013-02-14 18:03:02 -05:00
Ryan VanderMeulen
a98395cd45 Merge the last PGO-green inbound changeset to m-c. 2013-02-14 17:16:49 -05:00
Ryan VanderMeulen
aa53927960 Backed out changesets 45f20f94da76 and 47c4a7768ed9 (bug 841436) for Windows bustage on a CLOSED TREE. 2013-02-14 16:52:54 -05:00
Justin Lebar
093600fa79 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 15:41:30 -05:00
Justin Lebar
657b1efd79 Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 15:41:30 -05:00
Justin Lebar
523e77abbd Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 15:41:30 -05:00
Randell Jesup
1abf09a6e0 Bug 829907: release video capture device on MainThread (mac only) r=bsmedberg 2013-02-14 14:59:27 -05:00
Ryan VanderMeulen
cf5adab5f1 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Andrew McCreight
af0226b0d7 Bug 839874 - Make NS_ASSERTIONs in CheckCCWrapperTraversal into MOZ_ASSERT. r=smaug 2013-02-13 09:21:42 -08:00
Andrea Marchesini
c614e41e70 Bug 840559 - Convert MediaError to WebIDL. r=smaug 2013-02-14 10:59:21 -05:00
Andrea Marchesini
9760ea465e Bug 840559 - Rename nsMediaError to MediaError. r=Ms2ger
--HG--
rename : content/html/content/src/nsMediaError.cpp => content/html/content/src/MediaError.cpp
rename : content/html/content/src/nsMediaError.h => content/html/content/src/MediaError.h
2013-02-14 10:59:21 -05:00
Trevor Saunders
56e8ed5cca bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Jonathan Watt
f42b71d1b6 Bug 840720 - Check for the finiteness of the values returned from the ToDouble calls in the nsHTMLInputElement code. r=mounir. 2013-02-14 17:25:26 +00:00
Paul Adenot
368a5db685 Bug 828901 - Get the seek time as mBasePosition instead of the stream position in video-only stream when changing the playbackRate and seeking at the same time. r=kinetik 2013-01-10 12:26:18 +01:00
Matthew Gregan
23725cd473 Bug 841020 - Restore missing SetVolume when initializing AudioStream. r=cpearce 2013-02-14 10:57:46 +13:00
Jeff Gilbert
3375a513c3 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Mounir Lamouri
fbe2869183 Bug 597525 - Remove nsITextControlElement::GetDefaultValueFromContent(). r=ehsan 2013-02-13 23:16:06 +00:00
Ed Morley
3ad7657314 Backed out changeset 17f9660c7a7b (bug 836654) 2013-02-14 10:02:38 +00:00
Ed Morley
adc9ac524e Backed out changeset ef4884e40bb4 (bug 836654) 2013-02-14 10:02:32 +00:00
Ed Morley
0983efe42c Backed out changeset 55f1f62f7477 (bug 836654) 2013-02-14 10:02:27 +00:00
Trevor Saunders
2b39e8cb3c bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug 2013-02-07 09:17:47 -05:00
Trevor Saunders
2917a9b84a bug 839059 - make nsISelection{,Private} builtinclass r=smaug 2013-02-11 13:14:01 -05:00
Justin Lebar
c72a643f07 Bug 836654 - Part 9: During app-frame creation, take the CPU wake lock only after sending down the mozapptype. r=cjones
This prevents the child process from downgrading its CPU priority when
it notices that it has the CPU wake lock but no "critical" frames.

In this patch we also reduce the scope of a race condition which occurs
when we don't launch a new process for an app.  In this case, we still
need to set the child process's priority and then check that the process
is still alive.

Because this isn't a brand-new process, it's possible that the process
will downgrade its priority (e.g. due to a timer) after we check that
it's still alive and before it notices that we've acquired the CPU wake
lock on its behalf.  This patch does not resolve that race.
2013-02-14 02:26:44 -05:00
Justin Lebar
4178a47341 Bug 836654 - Part 7: Hold a CPU wake lock while a "critical" process that's expecting a system message loads. r=cjones,fabrice 2013-02-14 02:26:44 -05:00
Justin Lebar
25adb2c9b1 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Andrew McCreight
090a8455ed Bug 839753 - Fix up CC implementation for AudioDestinationNode. r=smaug 2013-02-12 08:42:59 -08:00
Timothy Nikkel
5949a85197 Bug 784591. Part 2. Don't track images that don't have a frame created. r=jlebar 2013-02-13 14:18:08 -06:00
Timothy Nikkel
0fb975f557 Bug 784591. Part 1.5. Remove the SHOULD_BE_TRACKED bit and just always track non-null requests. r=joe,khuey
Also assert that the request is null when we do not track it.
2013-02-13 14:18:08 -06:00
Ivaylo Dimitrov
a2663aeb28 Bug 836243 - Relax gstreamer version requirement. r=alessandro.d 2013-02-13 10:37:49 -08:00
Bobby Holley
999043069d Bug 839792 - Revert Tamper-proofing. r=bz
This reverts bug 821850 part 16, and updates the tests accordingly.
2013-02-13 19:16:19 +01:00
Bobby Holley
b0e2149774 Bug 839792 - Do XBL lookups on the shadow prototype. r=bz 2013-02-13 19:16:19 +01:00
Bobby Holley
31e5c808a7 Bug 839792 - Store members on a shadow proto in the XBL scope. r=bz 2013-02-13 19:16:19 +01:00
Ryan VanderMeulen
e927a7952c Backed out changeset c8479bdaf0c8 (bug 839171) for mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-13 12:32:00 -05:00
Sunny
998681d532 Bug 839171 - Update formMethod reflection to have the empty string as default value (and 'get' as invalid value). r=mounir 2013-02-13 10:35:35 -05:00
Oleg Romashin
26622d32d8 Bug 834323 - Consider to remove hardcoded samplerate from gstreamer pipeline. r=alessandro, f=rillian 2013-02-13 10:35:35 -05:00
Boris Zbarsky
81c0b2b097 Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik 2013-02-13 10:11:53 -05:00
Jonathan Watt
03c80540d3 Bug 835389 - Remove NS_NewSVGComponentTransferFunctionElement. r=Ms2ger. 2013-02-13 13:41:54 +00:00
Mounir Lamouri
36e6ca245a Bug 665655 - Make mInputData.mValue really used and usable. r=bz 2013-02-12 20:16:58 +00:00
Masayuki Nakano
e37ff211be Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug 2013-02-13 14:47:19 +09:00
Ryan VanderMeulen
0e981ca346 Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE. 2013-02-12 20:54:48 -05:00
Bobby Holley
576e95a8ce Bug 834732 - Push a cx in AdoptNode. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
e9d5a91d21 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-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927 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-13 00:22:26 +01:00
Bobby Holley
4c13bbfe38 Bug 834732 - Move cx pushing into nsPluginProtoChainInstallRunner. r=mrbkap
This gets rid of the last use of REQUIRE_SCRIPT_CONTEXT. \o/
2013-02-13 00:22:26 +01:00
Bobby Holley
9194f7a1d2 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-13 00:22:26 +01:00
Bobby Holley
863479340f 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-13 00:22:26 +01:00
Randell Jesup
6f7fac61bb Bug 833217: Null out listener if we're no longer listening for DataChannel events r=abr 2013-02-12 16:32:43 -05:00
Mounir Lamouri
0680e6e74d Bug 840031 - Use IsTextControl() in nsEventStateManager.cpp. r=smaug 2013-02-12 16:41:58 +00:00
Ed Morley
6735c60a03 Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00