Commit Graph

31504 Commits

Author SHA1 Message Date
Chris Pearce
515d668bfb Bug 1109861 - Add delegate to manage waiting for the CDM to mark key usable. r=kinetik 2014-12-11 15:59:37 +13:00
Chris Pearce
d65355fd96 Bug 1109457 - Hook up CDM session close notification to MediaKeySession. r=jwwang 2014-12-11 15:59:37 +13:00
Chris Pearce
7cb2683938 Bug 1101328 - Rely on CDM to report keys as unusable on when removing sessions. r=jwwang 2014-12-11 15:59:37 +13:00
Chris Pearce
98553454ac Bug 1101328 - Use AsyncEventDispatcher to dispatch keyschange to MediaKeySession, since it doesn't require an nsIDocument. r=peterv 2014-12-11 15:59:37 +13:00
Anthony Jones
03b7ea76e0 Bug 1098126 - Add CENC support to MoofParser; r=edwin 2014-12-11 15:29:38 +13:00
Wes Kocher
756e64c118 Backed out 2 changesets (bug 1108917) for mochitest-2 bustage on a CLOSED TREE
Backed out changeset e278ad9face8 (bug 1108917)
Backed out changeset 5c24dfe0cf87 (bug 1108917)
2014-12-10 15:53:21 -08:00
Wes Kocher
dc80961c63 Backed out changeset 0b71e08f9d34 (bug 1109431) for mochitest-2 bustage on a CLOSED TREE 2014-12-10 15:52:47 -08:00
Bobby Holley
ebbb8e2385 Bug 1108701 - Try to fix b2g jb bustage on a CLOSED TREE. r=me 2014-12-10 15:31:24 -08:00
Ehsan Akhgari
550e972d13 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Benoit Girard
80634e36cd Bug 1092320 - Log a warning to the console when will-change is out of budget. r=dbaron,khuey
--HG--
extra : rebase_source : edb72547f59ae3f62b4df323b81ff63ecb677b77
2014-11-22 00:35:20 -05:00
Matt Woodrow
7182f1554c Bug 1109431 - Apply TimestampsFuzzyEqual rounding to the buffered ranges returned from multiple decoders. r=ajones
--HG--
extra : rebase_source : 1ca8f7910db619b90fdc9478bb0dc52a5d16693b
2014-12-11 10:52:57 +13:00
Matt Woodrow
c8cf5fc8d0 Bug 1108917 - Part 2: Allow eviction of entire decoders that are ahead of the current play position. r=ajones
--HG--
extra : rebase_source : fc7fbd06e9c0c65de1c5ecb07a7a355fe1f6fbe8
2014-12-11 10:50:41 +13:00
Matt Woodrow
53e63e0a0c Bug 1108917 - Part 1: Attempt to evict data from decoders in start-time order. r=ajones
--HG--
extra : rebase_source : c906ca08b4a984a7b3e2ef1cdcaea810b5f5777d
2014-12-11 10:49:54 +13:00
Jason Orendorff
92f1bf16c5 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : a44070dd6155426ef6026c1575116f90b5fdac0c
extra : amend_source : 8d8fcf05dfd5fdf214a39501663347a6d6b56463
2014-11-22 12:23:39 -06:00
Bobby Holley
65fb74f0e7 Bug 1108701 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-10 14:03:56 -08:00
Bobby Holley
60c0158fdd Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-10 14:03:56 -08:00
Ryan VanderMeulen
437abd21ee Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-10 16:01:20 -05:00
Ryan VanderMeulen
2662512950 Backed out changesets 027c65d3ac10 and 541ea8e2706e (bug 1104623) for intermittent leaks in the new test. 2014-12-10 12:43:56 -05:00
Nikhil Marathe
d5cdc68ca7 Bug 1107684 - ScriptSettings.cpp xpc::ErrorReport::Init() callers should not pass string where boolean is expected. r=bholley 2014-12-04 09:47:48 -08:00
Tom Tromey
7e74625848 Bug 1095728 - Mark ToJSValue with MOZ_WARN_UNUSED_RESULT. r=bz 2014-12-09 14:45:00 -05:00
Andrea Marchesini
c69f55b5a4 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel - tests (r=ckerschb) 2014-12-09 20:21:41 -08:00
Carsten "Tomcat" Book
2a69ec4f96 Merge mozilla-central to mozilla-inbound 2014-12-10 13:01:03 +01:00
Carsten "Tomcat" Book
2145ba8738 merge b2g-inbound to mozilla-central a=merge 2014-12-10 12:52:44 +01:00
Karl Tomlinson
323baa2777 backout 78bde999fddd from bug 975782 for assertion failure in mochitest CLOSED TREE
--HG--
extra : amend_source : 3802b09260b751790211ed5fe8174bf162694e5a
2014-12-10 17:33:46 +13:00
Kyle Machulis
0636c32ce5 Bug 1105511 - Make observer principal cache name reflect content; r=gerard-majax 2014-12-09 13:53:20 -08:00
Kyle Machulis
acc7048fe4 Bug 1105511 - Store principals with locks instead of with tasks; r=gerard-majax 2014-12-09 13:53:04 -08:00
Kyle Machulis
ac9724ff1e Bug 1105511 - Check validity of principals before doing permissions check; r=gerard-majax 2014-12-09 13:52:46 -08:00
Ryan VanderMeulen
507e950980 Merge b2g-inbound to m-c. a=merge 2014-12-09 14:11:06 -05:00
Ryan VanderMeulen
1bdab6fe7b Backed out changesets fb903f13f215, 9c5c712698e4, and 36d257ead3da (bug 1092835) for causing test_csp_allow_https_schemes.html permafail on Android 2.3.
CLOSED TREE
2014-12-09 14:00:47 -05:00
Ryan VanderMeulen
054f112d6d Backed out changeset a0a2ada42652 (bug 936724) because something in the push made Gij(2) permafail.
CLOSED TREE
2014-12-09 12:09:09 -05:00
Carsten "Tomcat" Book
45230b6414 Merge mozilla-central to b2g-inbound 2014-12-09 13:20:50 +01:00
Chris Peterson
d157605c05 Bug 1108932 - Fix -Wunused-const-variable warning-as-error in nsCSPParser.cpp. r=ckerschb 2014-12-08 21:16:51 -08:00
Dimi Lee
13291aa1f7 Bug 1091356 - Change AvailableIn to PrivilegedApps for p2p sharing API. r=smaug r=allstars.chh 2014-12-04 15:55:14 -08:00
Szu-Yu Chen [:aknow]
4421eb704f Bug 1104481 - Provide correct parameters. r=hsinyi 2014-12-09 16:03:19 +08:00
Ryan VanderMeulen
529edd40b5 Merge inbound to m-c. a=merge 2014-12-08 15:46:14 -05:00
Ryan VanderMeulen
47e5302790 Merge fx-team to m-c. a=merge 2014-12-08 15:37:46 -05:00
Ryan VanderMeulen
0aae88bf85 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
1a45088976 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley
881af4ca94 Bug 1097823 - Implement MediaTaskQueue::ForceDispatch. r=cpearce
This is necessary to have strong guarantees that promises will be resolved.
While we're flushing the task queue, normal dispatch starts to fail,
meaning that we can't dispatch promise resolution. We have 3 options to handle
this:

(A) Never respond to the promise.
(B) Invoke the Resolve/Reject callback synchronously if dispatch fails.
(C) Prevent dispatch from failing.

(C) seems like the option least likely to violate invariants if we can get away
with it. Promise resolution is unlikely to be a heavyweight task in the way that
a decode task might be, so this should hopefully be ok.

Note that this still doesn't help for bonafide task queue shutdown. It's up to
consumers to tear down their MediaPromiseHolders before the task queues are shut
down.
2014-12-08 11:34:50 -08:00
Bobby Holley
7aa1467674 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Carsten "Tomcat" Book
d47077edcc Backed out changeset ac697e112134 (bug 1105468) for m5 test failures 2014-12-10 11:44:24 +01:00
Bob Owen
d921ff4edf Bug 1103946 Part 1: Change --content-sandbox mach / mochitest option to --strict-content-sandbox. r=jmaher
Also, change tests that are skipped using (contentSandbox != off) to (strictContentSandbox).
2014-12-10 09:34:03 +00:00
Chris Pearce
e859dcdb44 Bug 1109389 - Don't share task queues with all EMEDecryptors the EME PDM creates. r=kinetik 2014-12-09 20:34:00 +01:00
Jean-Yves Avenard
3b9c59eb6d Bug 1107339 - Add support for MP4 with VP6F video track (FFmpeg only). r=k17e 2014-12-04 11:58:00 -08:00
Jay Wang
56bf9455a1 Bug 1105452 - Need to use new Audio system APIs for audio offload playback. r=roc, r=jld, r=ggrisco
Resolve the build failure caused by API changes

There are some changes in Audio APIs in Android version
21. Modifying the code to use the new APIs.

Change-Id: I24fdeb20f8f957d05fb6c0c317de0a6f0769c347

Resolve seccomp violation caused by syscall 256

Modify the filter to allow syscall 256 (set_tid_address).

Change-Id: I49461770c4c5e70bf68462d34321381b0b7ead0a
2014-12-02 17:10:00 -05:00
Karl Tomlinson
a8eb079cb4 bug 975782 stop delaying the load event when media fetch has stalled r=cpearce,f=kinetik
--HG--
extra : rebase_source : 7e47f1be1b68185377f20c0a8dc5f5f5b70b2938
2014-11-28 18:23:37 +13:00
Andrew McCreight
8d88c3a6f8 Bug 1105468 - OpenFileAndSendFDRunnable::OpenFile needs to ensure we don't release off main thread. r=khuey
If any of the file operations fail, we need to ensure we still dispatch to the main thread.

If the dispatch fails, leak the runnable (and the things it owns) rather than crash when we try to release them off main thread.
2014-11-26 13:05:00 +01:00
Alexandre Poirot
cd42d11736 Bug 1100964 - Reset phone while enabling unrestricted devtools mode. r=fabrice, r=sicking
--HG--
extra : amend_source : 905e0ea7680baad061c66a0b6dc77dbf23258218
2014-11-26 06:46:00 -05:00
Andreas Pehrson
27ed59b426 Bug 1106963 - Resync media stream clock before destroying decoded stream. r=roc 2014-12-04 19:29:00 +01:00
Jan-Ivar Bruaroey
afad2eeeee Bug 1053407 - return DOMError rather than string in peerConnection callbacks. r=bz, r=jesup 2014-11-26 15:26:37 -05:00