Commit Graph

31833 Commits

Author SHA1 Message Date
Bobby Holley
d3178b735c Bug 1109437 - Only switch to buffering mode when the reader is waiting for data. r=cpearce 2014-12-19 11:39:15 -08:00
Bobby Holley
6b50bfd173 Bug 1109437 - Implement non-polling buffering. r=cpearce 2014-12-19 11:39:15 -08:00
Bobby Holley
1170137ae6 Bug 1109437 - Schedule the state machine thread in MediaSourceDecoder::Load. r=cpearce
This is necessary to get the state machine moving after it's initialized.
MediaDecoder::Load does this, but it looks like we missed this in the override.
So the current code relies on the ScheduleStateMachine call at the end of
TrackBuffer::AppendData to get things rolling. We're going to be removing that
call, so we need to fix this.
2014-12-19 11:39:15 -08:00
Bobby Holley
cb28e17a47 Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce 2014-12-19 11:39:15 -08:00
Bobby Holley
8a61e238be Bug 1109437 - Stop using buffering heuristics when they're not requested. r=cpearce
Given that we set the buffering wait to 0 in this case already, the only practical
impact on our behavior of this change is that we'll no longer ping-pong between
states.
2014-12-19 11:39:15 -08:00
Bobby Holley
afa50587e3 Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce 2014-12-19 11:39:14 -08:00
Bobby Holley
7d0e766c1e Bug 1109437 - Remove MOZ_COUNT_{C,D}TOR on refcounted promise classes. r=cpearce
These were accidental and redundant, because refcounted classes get this behavior
automatically. And this is very lucky, because it turns out that our MOZ_COUNT_*
infrastructure can't handle varying-sized instances identified with the same
string, which is exactly what we can get with these templated types.

The only remaining use of these macros is on the non-templated ThenValueBase,
which is happily not variable-sized. \o/
2014-12-19 11:39:14 -08:00
Daniel Holbert
3229ae5426 Bug 1105065: Remove an #ifdef, to fix a -Wunused-private-field build warning in GMPLoader.cpp for builds with --disable-sandbox. r=cpearce 2014-12-19 10:12:23 -08:00
Ehsan Akhgari
1813ae2d33 Bug 867348 - Part 2: Apply MOZ_NO_ARITHMETIC_EXPR_IN_ARGUMENT to CheckedInt's constructor; r=jrmuizel,cpearce
Note that the analysis currently just looks at the AST subtree of the
function call site and is therefore unable to correctly deal with cases
such as the last two hunks of the change to OggCodecState.cpp.  Fixing
the analysis to deal with that would be very difficult, so we currently
adjust the code so that it compiles.  The first hunk in that file though
is a real bug that this analysis found.
2014-12-18 15:27:05 -05:00
Bill McCloskey
02b0b22c14 Bug 1087117 - Disable test_bug457672.html in e10s for intermittent failures 2014-12-19 09:22:05 -08:00
Blake Kaplan
83b87ab7f1 Bug 1113313 - Rename these functions to better reflect what they do. r=billm
--HG--
extra : rebase_source : ae61b3dd6dd5ce50a131a640060d7be57e562e4d
2014-12-19 12:07:04 -05:00
Ryan VanderMeulen
c54bf72326 Backed out changesets 6bd00fa70b00, 4e2f8f3b8f6b, and c89fec9c8b55 (bug 879717) for introducting multiple new intermittent failures.
--HG--
extra : rebase_source : 4aad9383081f256484dd06e87f14cc82ecf186b5
2014-12-19 12:07:20 -05:00
Ben Turner
6567898382 Bug 1113429 - Optimize NUWA idle notifications on workers, r=froydnj. 2014-12-19 08:27:03 -08:00
Carsten "Tomcat" Book
00daf95872 Backed out changeset 45940d63b0c7 (bug 1000305) for Android Test failures 2014-12-19 10:47:57 +01:00
Carsten "Tomcat" Book
be6a4e2137 Backed out changeset 2996cc51cb0d (bug 1000305) 2014-12-19 10:47:41 +01:00
Andreas Pehrson
099c1c9b78 Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata event. r=roc 2014-12-19 01:25:00 +01:00
Andreas Pehrson
a670bb9fa6 Bug 879717 - Part 2 - Test that drawing a video element to canvas never throws. r=roc 2014-11-26 18:30:00 +01:00
Andreas Pehrson
d92e123dc4 Bug 879717 - Part 1 - Delay entering HAVE_CURRENT_DATA state until a video frame has been stored in the image container. r=roc 2014-11-26 18:29:00 +01:00
JW Wang
c1b3e5deb9 Bug 1108960 - notify all steams for the resource ID when any stream get closed/suspended/resumed. r=roc. 2014-12-18 23:48:00 +01:00
Bobby Holley
6de0fd24fb Bug 1113282 - Check during async TrackBuffer decoder initialization to make sure we haven't been shut down. r=cajbir 2014-12-18 13:59:00 +01:00
Nils Ohlmeier [:drno]
442ee5b598 Bug 1112967 - consolidate all 50 calls to requestFlkayTimeout in WebRTC tests into one. r=bwc 2014-12-17 19:09:00 +01:00
Ted Clancy
cca78a3e59 Bug 1000305 - Part 2 - Tests for getIcon(). r=ferjm r=waldo 2014-12-18 17:42:25 -05:00
Ted Clancy
8714b58302 Bug 1000305 - Part 1 - Add a getIcon() method. r=fabrice r=ehsan 2014-12-18 17:40:41 -05:00
Jamin Liu
1e0e97bfcf Bug 1065751 - Support AGPS with roaming cell by retrieving mcc & mnc from nsIMobileNetworkInfo. r=kchen 2014-12-18 17:51:00 +01:00
Carsten "Tomcat" Book
eacfeed59f Backed out changeset 4757a1d4a23e (bug 1113282) for e10s M1 test failures 2014-12-19 09:00:07 +01:00
Andrea Marchesini
449657cc1a Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
--HG--
extra : rebase_source : abdca619a27b46693ead93a6f468a40b2eeab2cf
2014-10-06 16:45:14 +01:00
Bobby Holley
a6dc11c7e3 Bug 1113282 - Check during async TrackBuffer decoder initialization to make sure we haven't been shut down. r=cajbir 2014-12-18 22:26:52 -08:00
Bill McCloskey
559c57d455 Bug 1113006 - Screen manager ScreenForBrowser message should return primary screen as fallback (r=mconley) 2014-12-18 17:36:20 -08:00
Bill McCloskey
1c06e285f6 Bug 1105039 - Use high prio messages rather than intr for profiling (r=mconley) 2014-12-18 17:36:17 -08:00
Bill McCloskey
51b3cbac31 Bug 1109883 - Use urgent messages for protocol bridging (r=bent) 2014-12-18 17:35:48 -08:00
Bill McCloskey
73c276ef13 Bug 1110938 - Add timeout for CPOWs (default to 0) (r=dvander) 2014-12-18 17:35:44 -08:00
Bill McCloskey
f14fdf73f1 Bug 1072980 - Add test for passing CPOWs to C++ (r=mrbkap) 2014-12-18 17:34:23 -08:00
Prabhjyot Singh Sodhi
0de35ab99f Bug 1112830 - Changed mCumulativeResolution of FrameMetrics.h to private and all correspondings files using this variable using getters and setters;r=kats 2014-12-18 19:33:18 -05:00
Andreas Pehrson
0b6566fff1 Bug 1111831 - Play the video element in test_multiple_mediastreamtracks.html to ensure metadata gets loaded. r=roc 2014-12-15 14:45:00 -05:00
David Anderson
e2f100731e Handle in-process APZ events correctly on Windows. (bug 1111873 part 2, r=kats)
--HG--
extra : rebase_source : 8ca5156392705e3a1806fc6a15154dbaa380f438
2014-12-18 15:25:03 -08:00
David Anderson
82682ed576 Add a map from layers to TabParents. (bug 1111873 part 1, r=smaug)
--HG--
extra : rebase_source : 68d9d718969ddffcfbbf44f03acbfe6c545b0965
2014-12-18 15:23:39 -08:00
Ryan VanderMeulen
4dd66991b6 Merge m-c to inbound. a=merge 2014-12-18 18:12:31 -05:00
Ryan VanderMeulen
e74a8fc1d1 Merge inbound to m-c. a=merge 2014-12-18 17:59:14 -05:00
Kyle Machulis
270a684d66 Bug 1110872 - Readd cleanup for live locks in SettingsManager; r=gerard-majax 2014-12-18 09:27:06 -08:00
Carsten "Tomcat" Book
4755deb0c5 merge mozilla-inbound to mozilla-central a=merge 2014-12-18 13:50:27 +01:00
Ryan VanderMeulen
7acf8539fb Backed out changesets 70428bb355a4 and a0ba2f134695 (bug 1109457) for EME failures and crashes on OSX 10.6. 2014-12-18 00:22:19 -05:00
Ryan VanderMeulen
e7a2383af9 Backed out changesets 8305a602f997 and 51a1e963d908 (bug 826176) for Android mochitest failures. 2014-12-17 23:09:13 -05:00
Michael Wu
96fc95d44c Bug 1112429 - Remove libnetutils from systemlibs.js, r=fabrice 2014-12-16 21:31:56 -05:00
Ben Hsu
d18762333c Bug 1110572 - Check the existance of a listener in this._listeners. r=edgar 2014-12-17 00:33:00 -05:00
Andrew Osmond
30195c7bb8 Bug 1104913 - Update WebRTC to handle additional camera hardware states. r=jesup 2014-12-13 12:22:11 -08:00
Andrew Osmond
6a9e14e1fb Bug 1104913 - Update selection algorithms for preview, picture and video sizes to have sane defaults. r=mikeh, r=bz 2014-12-12 19:51:29 -08:00
Pierre Rudloff
6c818493a3 Bug 1021357 - NetworkGeolocationProvider.js: if <2 wifi APs, don't send wifi in JSON request. r=garvank 2014-12-17 13:44:00 -05:00
Ryan VanderMeulen
90f31ccf52 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Ryan VanderMeulen
311a052157 Merge fx-team to m-c. a=merge 2014-12-17 20:41:21 -05:00
Prabhjyot Singh Sodhi
74d83cd734 Bug 1101620 - Changed mDevPixelsPerCSSPixel of FrameMetrics.h to private and all corresponding files using this variables using getters and setters;r=kats 2014-12-17 17:14:05 -05:00