Commit Graph

13525 Commits

Author SHA1 Message Date
Trevor Saunders
6dda3041a7 bug 839059 - make nsISelection{,Private} builtinclass r=smaug 2013-02-11 13:14:01 -05:00
Justin Lebar
7dc574c0e9 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
b64483ba2b 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
edfe849009 Bug 836654 - Part 5: Add nsIMozBrowserFrame::isExpectingSystemMessage. r=bz 2013-02-14 02:26:43 -05:00
Ryan VanderMeulen
4ee86d7149 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Matthew Gregan
c9185ce652 Bug 841020 - Restore missing SetVolume when initializing AudioStream. r=cpearce 2013-02-14 10:57:46 +13:00
Jeff Gilbert
a781738c64 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Mounir Lamouri
3d58c32634 Bug 597525 - Remove nsITextControlElement::GetDefaultValueFromContent(). r=ehsan 2013-02-13 23:16:06 +00:00
Andrew McCreight
8fb2f37eed Bug 839753 - Fix up CC implementation for AudioDestinationNode. r=smaug 2013-02-12 08:42:59 -08:00
Timothy Nikkel
00547ec0bd 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
6efdfa0533 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
27f054a170 Bug 836243 - Relax gstreamer version requirement. r=alessandro.d 2013-02-13 10:37:49 -08:00
Bobby Holley
89e4df03dc 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
b1f783c725 Bug 839792 - Do XBL lookups on the shadow prototype. r=bz 2013-02-13 19:16:19 +01:00
Bobby Holley
135c73b30d Bug 839792 - Store members on a shadow proto in the XBL scope. r=bz 2013-02-13 19:16:19 +01:00
Ryan VanderMeulen
e3b644926c Backed out changeset c8479bdaf0c8 (bug 839171) for mochitest-browser-chrome failures on a CLOSED TREE. 2013-02-13 12:32:00 -05:00
Sunny
932d94efd8 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
0c161d0242 Bug 834323 - Consider to remove hardcoded samplerate from gstreamer pipeline. r=alessandro, f=rillian 2013-02-13 10:35:35 -05:00
Boris Zbarsky
880e764352 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
7725cc661e Bug 835389 - Remove NS_NewSVGComponentTransferFunctionElement. r=Ms2ger. 2013-02-13 13:41:54 +00:00
Mounir Lamouri
81e7839749 Bug 665655 - Make mInputData.mValue really used and usable. r=bz 2013-02-12 20:16:58 +00:00
Masayuki Nakano
d7c9686558 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
1568f7d987 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
fd72f5bc97 Bug 834732 - Push a cx in AdoptNode. r=mrbkap 2013-02-13 00:22:27 +01:00
Bobby Holley
363a88b529 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
70a369794a 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
39acf0afd1 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
d22b4ea8a8 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
b55e2ecc2b 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
d62e195fd0 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
0158c575f8 Bug 840031 - Use IsTextControl() in nsEventStateManager.cpp. r=smaug 2013-02-12 16:41:58 +00:00
Ed Morley
fb6aef7abd Merge latest green inbound changeset to mozilla-central 2013-02-12 14:43:06 +00:00
Ed Morley
130f83f1f8 Bug 838160 - Add missing script to test_output_element.html to fix orange; r=me 2013-02-12 12:08:32 +00:00
Ms2ger
a8500df348 No bug - Remove unused variable from reflect.js; r=mounir 2013-02-12 11:14:01 +01:00
Ms2ger
a64b64ea14 Bug 838160 - Part c: Add a test for HTMLOutputElement.name reflection; r=bz 2013-02-12 11:13:57 +01:00
Ms2ger
3046dd9223 Bug 838160 - Part b: Move HTMLOutputElement to Paris bindings; r=bz 2013-02-12 11:11:01 +01:00
Ms2ger
be76d77af0 Bug 838160 - Part a: Rename nsHTMLOutputElement to mozilla::dom::HTMLOutputElement; r=bz
--HG--
rename : content/html/content/src/nsHTMLOutputElement.cpp => content/html/content/src/HTMLOutputElement.cpp
rename : content/html/content/src/nsHTMLOutputElement.cpp => content/html/content/src/HTMLOutputElement.h
2013-02-12 11:10:44 +01:00
Ms2ger
f38a4f23b0 Bug 835065 - Part c: Move SVGComponentTransferFunctionElement and subclasses to Paris bindings; r=bz 2013-02-12 11:10:24 +01:00
Ms2ger
833ca9a618 Bug 835065 - Part b: Move the declarations for SVGComponentTransferFunctionElement and subclasses into a header; r=bz
--HG--
rename : content/svg/content/src/nsSVGFilters.cpp => content/svg/content/src/SVGComponentTransferFunctionElement.h
2013-02-12 11:01:17 +01:00
Ms2ger
7251e96063 Bug 835065 - Part a: Move SVGComponentTransferFunctionElement and subclasses into the mozilla::dom namespace; r=bz 2013-02-12 10:56:55 +01:00
Robert O'Callahan
70ccb25043 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Robert O'Callahan
4ad9f7d812 Bug 839378. Don't modify the page DOM from videocontrols. r=enndeakin 2013-02-12 17:56:03 +13:00
Cameron McCormack
fb2441db60 Bug 839927 - Update scoped style content flags correctly when SVG <style scoped=""> elements are involved. r=bz 2013-02-12 15:48:22 +11:00
Olli Pettay
29c93f77f6 Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey 2013-02-11 21:37:50 +02:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Cameron McCormack
5e3ec06615 Bug 655877 - Part 43: Tests for new SVG text support. r=jwatt 2013-02-11 17:22:19 +11:00
Cameron McCormack
441ad600ab Bug 655877 - Part 42a: Handle SVG text frame pref changes gracefully. r=bz,longsonr 2013-02-11 17:22:18 +11:00
Cameron McCormack
0354d206b0 Bug 655877 - Part 34: Implement SVG DOM text methods in terms of the new SVG text frame. r=longsonr 2013-02-11 17:22:17 +11:00
Cameron McCormack
8e28ffb003 Bug 655877 - Part 31b: New frame class nsSVGTextFrame2 for SVG text using CSS block/inline/text frames for layout. r=jwatt 2013-02-11 17:22:16 +11:00
Matthew Gregan
af70a2cd1e Bug 837430 - Don't hold the decoder monitor while initializing AudioStreams. r=cpearce 2013-02-08 13:46:33 +13:00