Commit Graph

28303 Commits

Author SHA1 Message Date
Chris Peterson
15996b5402 Bug 1107814 - Part 2: Mark some directories as FAIL_ON_WARNINGS conditionally for some compilers. r=gps 2014-12-04 01:11:14 -08:00
Chris Peterson
d3acb03f9f Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps 2014-12-04 16:24:03 -08:00
Bobby Holley
25fc505c3e Bug 1108767 - Add the ability to chain same-type promises. r=cpearce 2014-12-08 17:19:05 -08:00
Bobby Holley
5827f5f41e Bug 1108767 - Allow promises to be resolved without a MediaPromiseHolder. r=cpearce
It turns out that there are use-cases where this restriction is clunky.
2014-12-08 17:19:05 -08:00
Bobby Holley
e9cb8ab7de Bug 1108767 - Add MediaPromise::{Resolve,Reject}IfExists. r=cpearce 2014-12-08 17:19:05 -08:00
Bobby Holley
72252dd9bc Bug 1108767 - Stop including MediaTaskQueue.h from MediaPromise.h. r=cpearce
We need this so that MediaTaskQueue can use promises.
2014-12-08 17:19:05 -08:00
Bobby Holley
d16e2bb882 Bug 1108767 - Separate ThenValueRunnable so that the constructors don't collide when the resolve value is the same as the reject value. r=cpearce 2014-12-08 17:19:05 -08:00
Wes Kocher
4f38e5819e Backed out 2 changesets (bug 1060529) for introducing a new intermittent bc1 orange
Backed out changeset 5ddd9eb25925 (bug 1060529)
Backed out changeset d4f962fb38be (bug 1060529)
2014-12-08 16:40:55 -08:00
Wes Kocher
c659ea6bce Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Christoph Kerschbaumer
974a3b93f8 Bug 1094067 - CSP: Parser should follow path production from RFC 3986 - parser tests (r=sstamm) 2014-11-14 15:06:27 -08:00
Christoph Kerschbaumer
425e850a41 Bug 1094067 - CSP: Parser should follow path production from RFC 3986 (r=sstamm) 2014-11-14 15:05:36 -08:00
Christoph Kerschbaumer
4e734cf047 Bug 949706 - CSP: Correct handling of web workers importing scripts that get redirected (r=sstamm) 2014-11-21 12:54:51 -08:00
Sid Stamm
0724a0c19e Bug 949706 - tests for CSP enforcement on redirects in CSS-based image loading and worker script importing (r=ckerschb) 2014-12-04 13:43:54 -08:00
Bobby Holley
2123ec5be1 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 14:45:37 -08:00
Bobby Holley
4c90a9c683 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 14:45:37 -08:00
Bobby Holley
301ee83ed7 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 14:45:36 -08:00
Byron Campen [:bwc]
5c9f7b9ba3 Bug 1091242 - Part 7: Wiring the build system together. r=jesup, r=ted 2014-11-17 17:03:28 -08:00
Byron Campen [:bwc]
3c896093a9 Bug 1091242 - Part 6: Wiring the new JSEP handler code in. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jesup, r=smaug 2014-11-19 16:16:29 -08:00
Byron Campen [:bwc]
18e8f88a54 Bug 1091242 - Part 3: Mochitest work. See https://github.com/unicorn-wg/gecko-dev/tree/multistream_rebase for more history. r=jib 2014-11-19 16:18:10 -08:00
Ryan VanderMeulen
be6607416e Merge inbound to m-c. a=merge 2014-12-08 15:46:14 -05:00
Ryan VanderMeulen
b066802438 Merge fx-team to m-c. a=merge 2014-12-08 15:37:46 -05:00
Ryan VanderMeulen
8b716a35b2 Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
081dbd1936 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-08 11:34:50 -08:00
Bobby Holley
a809fdd3f0 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
8aa19738d9 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-08 11:34:50 -08:00
Jay Wang
32debb7f9a 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
Alexandre Poirot
b12265e338 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
9110cac5c4 Bug 1106963 - Resync media stream clock before destroying decoded stream. r=roc 2014-12-04 19:29:00 +01:00
Jan-Ivar Bruaroey
1826aecdaf Bug 1053407 - return DOMError rather than string in peerConnection callbacks. r=bz, r=jesup 2014-11-26 15:26:37 -05:00
Andrea Marchesini
9ca8ea490b 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
bd16d69b15 Backed out changeset c405b4271e64 (bug 1097823) 2014-12-07 17:09:12 -08:00
Bobby Holley
a9c173384c Backed out changeset 8dfbe042e946 (bug 1097823) 2014-12-07 17:09:11 -08:00
Bobby Holley
efdc41af7f Backed out changeset b56e5e762329 (bug 1097823) 2014-12-07 17:09:09 -08:00
Bobby Holley
142c54bbb7 Backed out changeset b76636e9f49a (bug 1097823) 2014-12-07 17:09:08 -08:00
Bobby Holley
7a75cf698f Backed out changeset ab6ddc8ac28a (bug 1097823) 2014-12-07 17:09:06 -08:00
Bobby Holley
bcf960613c Backed out changeset 47c97b8b490c (bug 1097823) 2014-12-07 17:09:04 -08:00
Bobby Holley
38f9a34097 Backed out changeset 1ea671313ad3 (bug 1097823) 2014-12-07 17:09:03 -08:00
Bobby Holley
5ab82a9fe6 Backed out changeset 979bec024c07 (bug 1097823) 2014-12-07 17:08:19 -08:00
Bobby Holley
a58bd0270b 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
26b358b2a0 Bug 1106132 - Signal more error types in browser element. r=fabrice 2014-12-05 11:06:25 +00:00
Bobby Holley
eab5796fe5 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
b007d59daf 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
0bff227286 Bug 1097823 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt 2014-12-07 11:21:35 -08:00
Bobby Holley
0fea43410f Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce 2014-12-07 11:21:35 -08:00
Bobby Holley
6e5aa9c858 Bug 1097823 - Implement Media Promises. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
d39a169145 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-07 11:21:34 -08:00
Bobby Holley
5f6567b606 Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce 2014-12-07 11:21:34 -08:00
Bobby Holley
6e61fa1c76 Bug 1103324 - Instantiate an AutoNoJSAPI when dispatching IPC messages. r=billm 2014-12-06 09:51:14 -08:00
Jan Varga
0dc2747b42 Bug 771288 - Multiprocess FileHandle support (FileHandle on PBackground); Part 1 - Remove unused stuff; r=bent 2014-12-06 07:31:53 -08:00