Commit Graph

36776 Commits

Author SHA1 Message Date
Edwin Flores
4f4c4f7df0 Bug 1159300 - Don't use decrypting Gecko Media Plugins for non-encrypted playback - r=cpearce 2015-04-29 17:23:11 +12:00
JW Wang
a938555939 Bug 1159162 - Remove unnecessary testing prefs from media mochitests for they are defined in testing/profiles/prefs_general.js. r=kinetik. 2015-04-29 10:22:15 +08:00
JW Wang
ab2b51d624 Bug 1159144 - check (-1, -1) for invalid video size. r=jya. 2015-04-29 09:56:03 +08:00
JW Wang
7fcb4f12b5 Bug 752796 - longer timeout on slow platforms. r=cpearce. 2015-04-29 09:55:15 +08:00
Bobby Holley
cd25ae6fac Bug 1157803 - Mirror mPlayState and mNextState to the state machine task queue and eliminate cross-thread access. r=jww 2015-04-28 21:56:20 -07:00
Bobby Holley
5d61139eec Bug 1157803 - Clean up Canonical assigment to avoid accidentally tripping the default operator= implementation. r=jww 2015-04-28 21:56:20 -07:00
Bobby Holley
9a2aac55ff Bug 1157803 - Const-correct some methods. r=jww 2015-04-28 21:56:19 -07:00
Bobby Holley
201b659dcf Bug 1157803 - Don't auto-disconnect mirrors when the holder is destroyed off-owner-thread. r=jww
Another consequence of the MDSM's thread model.
2015-04-28 21:56:19 -07:00
Bobby Holley
913a82dcb8 Bug 1157803 - Support connect-during-initialization for mirrors. r=jww
The MDSM is constructed and destroyed on the main thread, but runs most
everything else on the task queue. So we need to bend the rules a bit here
to conveniently connect its mirrors during construction.
2015-04-28 21:56:18 -07:00
Bobby Holley
7bf0120925 Bug 1157803 - Loosen dispatch requirements for state mirroring. r=jww 2015-04-28 21:56:18 -07:00
Bobby Holley
4fc746eeac Bug 1157803 - Add an extra assertion to MediaTaskQueue::BeginShutdown. r=jww 2015-04-28 21:56:17 -07:00
Chris Pearce
7f97d32258 Bug 1159495 - Only report that Adobe EME is available if we have a plugin-container voucher. r=edwin 2015-04-29 16:47:37 +12:00
Chris Pearce
9f8788bac7 Bug 1159495 - Only report Adobe EME supported if required WMF codecs are installed. r=edwin 2015-04-29 16:47:14 +12:00
Cameron McCormack
66534e75d7 Bug 1157150 - Add nsDOMWindowUtils.postRestyleSelfEvent method, for use in tests. r=smaug 2015-04-29 14:47:14 +10:00
Doug Turner
5f2f255c9e Bug 1159310 - Remember the push count and last push time for
push events. r=kit
2015-04-28 09:40:57 -07:00
Wes Kocher
2dd76b5a8a Backed out changeset d53d91a3fae7 (bug 1155547) for b2g xpcshell orange CLOSED TREE 2015-04-28 13:40:49 -07:00
Ryan VanderMeulen
62c1b37f2f Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-28 16:03:15 -04:00
Ryan VanderMeulen
dc34386c9f Merge inbound to m-c. a=merge 2015-04-28 15:27:26 -04:00
Sotaro Ikeda
669ba8ebf0 Bug 1158692 - Change omx AudioSink to GonkAudioSink r=cpearce
--HG--
rename : dom/media/omx/AudioSink.h => dom/media/omx/GonkAudioSink.h
2015-04-28 06:50:59 -07:00
Doug Turner
8129277b27 Bug 1149271 - Remove subscriptionid. r=baku 2015-04-26 03:59:38 -07:00
Jed Davis
1b9d15f48d Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.

--HG--
extra : rebase_source : 89f467fbc553a1a3a4d9b144fff747fa3447f21b
2015-04-27 15:45:00 -04:00
Jed Davis
796a0902b3 Bug 1151597 - Step 0: Move IPC memory report generation number to parent-side actor. r=erahm
Preliminary cleanup before the main patch.  There's no reason for the
child to send the generation number back to the parent when the parent
already had it; the IPDL actor abstraction will ensure that the binding
between parent-side state and child-side state is maintained.

--HG--
extra : rebase_source : 42163bca488e4f63c14e4aee54f91a72a796f081
2015-04-27 15:44:00 -04:00
Aaron Klotz
d5c84432d0 Bug 1156800: Post a task to send async NPP_New result from child to parent; r=jimm
--HG--
extra : rebase_source : ee89159fd7781496aef5fdd55cfe9b610338581d
2015-04-27 16:07:28 -06:00
Boris Zbarsky
7fb122d0a2 Bug 1157588. Produce a better error message when someone tries to pass a mixin as an argument. r=peterv 2015-04-28 12:25:55 -04:00
Boris Zbarsky
864f723c0c Bug 1155946 part 2. Add mayResolve methods to DOM classes with resolve hooks. r=peterv 2015-04-28 12:25:55 -04:00
Chih-Kai (Patrick) Wang
4e8def4afd Bug 1155547 - Wait Nuwa forking a process if preallocated process isn't present. r=khuey 2015-04-29 00:22:44 +08:00
Bobby Holley
67746258d9 Bug 1158916 - Revert change to NotifyDataArrived. r=me 2015-04-28 09:21:48 -07:00
Valentin Gosu
da7974f079 Bug 1158868 - PeerConnection should not depend on navigator.onLine r=jesup 2015-04-28 18:29:57 +03:00
Bevis Tseng
3810a891ed Bug 1155142 - Part 2: Refactor RIL-related Modules. r=kchen 2015-04-17 19:06:24 +08:00
Bevis Tseng
411426aa0f Bug 1155142 - Part 1: Move All IccInfo-related Implementation to IccService to deprecate rilContext. r=echen 2015-04-17 19:03:46 +08:00
Alastor Wu
cec9c85b27 Bug 1151499 - Correct the FM playable state. r=baku 2015-04-23 19:32:29 +08:00
Jocelyn Liu
b31782a970 Bug 1138267 - Unregister bluetooth signal handlers in unlink. r=shuang, r=bz
Without unregistering the bluetooth signal handler when a object unlinked, we
might end up exposing a deleted object to JS or accessing deleted objects while
receiving signals from parent process.

This patch unregister signal handlers in unlink for each Bluetooth* classes
which registers signal handlers. And also checks if the signal handler is not
unregistered before handling signals in content process.
2015-04-27 22:46:00 -04:00
Carsten "Tomcat" Book
c0f0b148a5 Merge mozilla-central to b2g-inbound 2015-04-28 14:05:17 +02:00
Thomas Zimmermann
a8a6ff751e Bug 1158876: Move |DataSocket::ReceiveSocketData| into sub classes, r=kmachulis
|ReceiveSocketData| receives socket data on the main thread. This
is a specific detail of the current socket classes, which should not
be required by future implementations.

This patch moves the receive method and the corresponding runnable
into socket classes.
2015-04-28 10:18:13 +02:00
Thomas Zimmermann
10488d5115 Bug 1158876: Move management of socket I/O buffers into socket I/O classes, r=kmachulis
This patch moves management of received socket I/O buffers from
|DataSocketIO| into the I/O classes. Each I/O class is responsible
for (de-)allocating buffers, and consuming them once data has been
received.

All current I/O classes forward their buffers to the main thread,
but other operations are possible. For example, received data can
be parsed and processed directly in the I/O thread.
2015-04-28 10:18:13 +02:00
Thomas Zimmermann
ed4b4e63be Bug 1158876: Rename |SocketConsumerBase| to |DataSocket|, r=kmachulis
This patch renames |SocketConsumerBase| to |DataSocket|, and for the
I/O classes |SocketConsumerIO| to |DataSocketIO|. |DataSocketIO| also
contains send and receive functionality from |SocketBaseIO|.

|DataSocket| is a virtual base class that represents a socket that
transfers data, without a particular constraints to what the data
represents. |DataSocketIO| is the corresponding helper class on the
I/O thread.
2015-04-28 10:18:12 +02:00
Ryan VanderMeulen
74eb7193a7 Merge inbound to m-c. a=merge 2015-04-27 15:13:19 -04:00
Carsten "Tomcat" Book
e5f2272acf Backed out changeset e0b9c334c95a (bug 1138294) for frequent linux m3 test failures on a CLOSED TREE 2015-04-27 17:47:08 +02:00
Carsten "Tomcat" Book
ef8a8c5961 Backed out changeset 3f1afabc2aae (bug 1138294) 2015-04-27 17:46:34 +02:00
Carsten "Tomcat" Book
07caf3862d Backed out changeset 0c505784e8f6 (bug 1138294) 2015-04-27 17:46:29 +02:00
Carsten "Tomcat" Book
ee89ce46c8 Backed out changeset 1c0861d7a645 (bug 1138294) 2015-04-27 17:46:24 +02:00
Nathan Froyd
ddbb44d13f Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
The current name reads to me like a boolean variable, even though it's
actually a counter.  Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Samael Wang
dcfd367a21 Bug 1147305 - Map settings "mms.debugging.enabled" to preference. r=btseng 2015-04-27 11:46:26 +08:00
Carsten "Tomcat" Book
596e5f9960 merge fx-team to mozilla-central a=merge 2015-04-27 12:34:03 +02:00
Carsten "Tomcat" Book
107708af7c merge mozilla-inbound to mozilla-central a=merge 2015-04-27 12:00:14 +02:00
JW Wang
8a444e6331 Bug 1157582 - enable ffmpeg decoders on Linux in EME mochitests. r=edwin. 2015-04-27 11:41:14 +08:00
Boris Zbarsky
a8f7f27004 Bug 1157754 part 3. Make ClearMessage private on ErrorResult. r=peterv 2015-04-26 22:38:17 -04:00
Boris Zbarsky
5c1c07ceb9 Bug 1157754 part 2. Convert consumers of ErrorResult::ClearMessage() to the new better APIs we have for suppressing exceptions on ErrorResult. r=bkelly 2015-04-26 22:38:17 -04:00
Boris Zbarsky
e11db3193b Bug 1157754 part 1. Add a way to "catch" an ErrorResult, and a way to safely convert an ErrorResult to an nsresult. r=peterv 2015-04-26 22:38:17 -04:00
Brian Birtles
063783952d Bug 1157989 part 4 - Make method comment style consistent; r=jwatt 2015-04-27 10:05:47 +09:00