Граф коммитов

31490 Коммитов

Автор SHA1 Сообщение Дата
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
Andrea Marchesini 174e98dcb2 Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel -tests (r=ckerschb) 2014-12-07 20:24:18 -08:00
Bobby Holley aa27b00ccd Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley 4867c99ce8 Backed out changeset 8dfbe042e946 (bug 1097823) 2014-12-07 17:09:11 -08:00
Bobby Holley b55769853e Backed out changeset b56e5e762329 (bug 1097823) 2014-12-07 17:09:09 -08:00
Bobby Holley 8327697375 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley 60f876f46a Backed out changeset ab6ddc8ac28a (bug 1097823) 2014-12-07 17:09:06 -08:00
Bobby Holley 5864562a3f Backed out changeset 47c97b8b490c (bug 1097823) 2014-12-07 17:09:04 -08:00
Bobby Holley d6b8543ed2 Backed out changeset 1ea671313ad3 (bug 1097823) 2014-12-07 17:09:03 -08:00
Bobby Holley 31f9bf9d0b Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley da23a71bbe Bug 1097823 - Followup to remove the assertions cpearce asked for because they don't hold. rpending=cpearce 2014-12-07 15:41:46 -08:00
Chris Lord cccccfadb3 Bug 1106132 - Signal more error types in browser element. r=fabrice 2014-12-05 11:06:25 +00:00
Bobby Holley 7b4b4838ca Bug 1097823 - Followup to avoid null-derefing when promises have already been rejected during shutdown. rpending=cpearce 2014-12-07 15:08:47 -08:00
Bobby Holley 3871f53bf6 Bug 1097823 - Followup fix to ensure that the borrowed task queue doesn't get destroyed before subdecoders shut down. rpending=cpearce 2014-12-07 13:25:11 -08:00
Bobby Holley b5f3305d3c Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00