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

8734 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 811508fa12 Bug 1312337. Part 3 - employ DecoderAllocPolicy for controlling decoder creation. r=jya
MozReview-Commit-ID: JdDq1Y8oFn4

--HG--
extra : rebase_source : c5da13bc96ddfbdb9e899a64b2a2e9c32bceda2b
extra : intermediate-source : babc9ef39ddd7d0d3892282dc9e158e812d259ea
extra : source : 79f16bd2ecace7b8d4e69296a236544751a7d0e2
2016-10-27 15:16:06 +08:00
JW Wang d7adc92e17 Bug 1312337. Part 2 - implement a policy object to control the number of decoders to be created concurrently. r=gerald
MozReview-Commit-ID: 7D4PXedDC3D

--HG--
extra : rebase_source : 93f977f6543423eac79a2330d51e27aea2dfa6ee
extra : intermediate-source : 782d9f42291f3d089e5046a593d07f5073dc8830
extra : source : 421fdc7d95fcdd99d9d18dda4ab38568da7e2043
2016-10-28 17:43:19 +08:00
JW Wang 0a2d601dc2 Bug 1312337. Part 1 - move creation/initialization of decoders into DecoderFactory. r=jya
So m{Audio,Video}.mDecoder will never reference a half-baked decoder.

MozReview-Commit-ID: FwuzaRR9ugf

--HG--
extra : rebase_source : 32b13b5e3041072bb5e48e6a633281bd8df76a41
extra : intermediate-source : 3d5bc0ca507717f09e1429a5ea05f98e18b48dfc
extra : source : 039ed0007b2e63c381c1ad0f638eed5b4c53266f
2016-10-26 17:37:19 +08:00
James Cheng 472ba25796 Bug 1313878 - Use lambda to create runnable for dispatching to main thread in GMPCDMCallbackProxy.cpp r=cpearce
MozReview-Commit-ID: 2X1oWsL29n9

--HG--
extra : rebase_source : 0f652a7449f5af13641144811dc8e1d5457242db
2016-10-30 03:48:26 +08:00
Ryan VanderMeulen a41f7d1058 Merge autoland to m-c. a=merge 2016-10-29 09:12:45 -04:00
Phil Ringnalda b6eec64324 Merge m-c to a CLOSED TREE m-i
MozReview-Commit-ID: 2JxLeQ8GYIX
2016-10-27 20:36:38 -07:00
Chris Pearce b691c3f403 Bug 1310879 - Remove EME persistent-license sessions. r=gerald
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: FXj5YORxpas

--HG--
extra : source : b69b2435f1059a5c7b1dd26947ea500b381ec7f0
2016-10-18 15:42:02 +13:00
Chris Pearce 08bdd39606 Bug 1310879 - Check that only supported session types are instantiated. r=gerald
MozReview-Commit-ID: 6XkToIXzZL8

--HG--
extra : source : d1c0a7a2ff25005de82033081bee5eb10adea0c8
2016-10-28 11:43:26 +13:00
Chris Pearce 17c7c9d886 Bug 1310879 - Pass MediaKeySystemConfiguration to MediaKeys. r=gerald
MozReview-Commit-ID: 6tHlyRl4nWT

--HG--
extra : source : 5773f8dac74aaf05ec1c4f8585b3b148d51da324
2016-10-28 11:22:11 +13:00
Jan-Ivar Bruaroey 6f1eb05923 Bug 1313246 - allow empty username and credential in RTCPeerConnection constructor. r=bwc
MozReview-Commit-ID: 6EJ46BXxXW5

--HG--
extra : rebase_source : e9a5ddc25c61708371ce1c89d172dda432226b25
2016-10-26 20:41:07 -04:00
Carsten "Tomcat" Book a15991721b Merge mozilla-central to autoland 2016-10-27 16:50:00 +02:00
Carsten "Tomcat" Book 7d0f3d5865 merge mozilla-inbound to mozilla-central a=merge 2016-10-27 16:45:00 +02:00
Matt Woodrow bda6eacad9 Bug 1313281 - Part 1: Remove AsyncTransactionTracker. r=sotaro 2016-10-27 20:59:23 +13:00
Phil Ringnalda 4012e61cc3 Merge m-i to m-c, a=merge
MozReview-Commit-ID: CysKZsvYf69
2016-10-26 18:40:50 -07:00
Chris Pearce 812726afd0 Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo
The specification doesn't require there to be a 'type' member of
the keyids init data format.

MozReview-Commit-ID: 7mOm7KwyyuC

--HG--
extra : source : c9fb674f3cb8dff4fe8734e0426e67825878015d
2016-10-09 20:42:01 -07:00
Martin Thomson c09374be30 Bug 1311383 - Use unique pointers for DTLS transport and related, r=Cykesiopka
MozReview-Commit-ID: 79wKQtJjBNP

--HG--
extra : rebase_source : 1f5c7f2417c25d17fb99bc55eff8a6b2e5a333ba
2016-10-20 11:29:58 +11:00
Phil Ringnalda 21ca7c1c21 Backed out 8 changesets (bug 1309516) for Win8 wpt failures in content-security-policy/media-src/media-src-7_3.html
Backed out changeset 5cb98008b3e3 (bug 1309516)
Backed out changeset 9ddc65900391 (bug 1309516)
Backed out changeset a876261d2d38 (bug 1309516)
Backed out changeset a154fa107dd3 (bug 1309516)
Backed out changeset 35d6e08883d6 (bug 1309516)
Backed out changeset e39be827b220 (bug 1309516)
Backed out changeset 970694b0b279 (bug 1309516)
Backed out changeset 90409a433f31 (bug 1309516)
2016-10-28 18:47:49 -07:00
Kaku Kuo 235ffd3551 Bug 1309516 part 8 - modify MDSM::RecomputeDuration();r=jwwang
MozReview-Commit-ID: 6pM7Kn3kZco

--HG--
extra : rebase_source : 20b5086d68d4976cb62728e02ca9af8cb8f3862e
2016-10-24 15:04:52 +08:00
Kaku Kuo 58eac194d2 Bug 1309516 part 7 - modify the seek operation;r=jwwang
MozReview-Commit-ID: AZ9yK050ElM

--HG--
extra : rebase_source : 17f5e4e1ccabbbd67bcf4863cd246cb1f74138a1
extra : source : 838786e0d0e26958e75a129a872e378bc21a7c4a
2016-10-16 22:15:29 +08:00
Kaku Kuo eb5ec30291 Bug 1309516 part 6 - remove unused MediaDecoderReaderWrapper::mStartTimeRendezvous;r=jwwang
MozReview-Commit-ID: 6ukwUWpIJFF

--HG--
extra : rebase_source : 22bd4b1c87f67d1ad8f1b117d7fe4c3a64e56318
extra : intermediate-source : ee2d85244182d8a72aeed98da23e7680eacb73d8
extra : source : 123d5075947d2e5912f860b243cf55c838b4f393
2016-10-14 19:22:41 +08:00
Kaku Kuo eaed4802be Bug 1309516 part 5 - remove unused MediaDecoderReaderWrapper::AwaitStartTime();r=jwwang
MozReview-Commit-ID: CcybQMPz47i

--HG--
extra : rebase_source : b763ae25eaa6f6e907d3dc1521e5d3b263d6f1cb
extra : intermediate-source : c2ba16341576fa8bfe510f4d37b89ccc55456ff3
extra : source : 4de4162cce1bb37a5ab14c0506428be9b7e698ff
2016-10-14 17:45:59 +08:00
Kaku Kuo c9d73ff13f Bug 1309516 part 4 - always notify LoadedMetadataEvent before decoding first frame;r=jwwang
MozReview-Commit-ID: 4VcmELgvAjC

--HG--
extra : rebase_source : fe28ba2732866209f6fb84e3f10dfc57d00cba45
extra : source : 6d7f4bd76a754c3852a612b126b4643818eadddd
2016-10-16 21:49:07 +08:00
Kaku Kuo 64f7dc8eff Bug 1309516 part 3 - make MediaDecoderReaderWrapper keeps the start time returned from reader;r=jwwang
MozReview-Commit-ID: F57avqCENTj

--HG--
extra : rebase_source : 58971b3d189aba9e281e6e6118854d947a982ec1
extra : intermediate-source : 50c6ae37fa51c52d533bb5cdcd1267a869d49410
extra : source : cb9924bcc2c1d2a820b7b942c89feb861be85569
2016-10-14 19:10:24 +08:00
Kaku Kuo 91131af039 Bug 1309516 part 2 - replace MediaFormatReader::DemuxStartTime() with MediaInfo::mStartTime; r=jya
MozReview-Commit-ID: JzO0Yv33ljL

--HG--
extra : rebase_source : 105f4dee594a259311dda7d62a46940981be45b4
extra : intermediate-source : cca0e5eaf29e7cfdc32f8b66e217e0d8fb0fd0ea
extra : source : 6af01ba877814a43b68bc004b0e28160216e7367
2016-10-14 17:09:04 +08:00
Kaku Kuo 419e05d29a Bug 1309516 part 1 - retrieve start time before resolving the metadata promise; r=jya
MozReview-Commit-ID: FhnoFi1BSHM

--HG--
extra : rebase_source : e43b7dc820f630e6c0420e04578f155793f6ef7a
2016-10-27 15:21:05 +08:00
Munro Mengjue Chiang 12cf0bc33c Bug 1307533 - support getUserMedia facingmode on Surface Book; r=jib
MozReview-Commit-ID: IOfWT2EyEPs

--HG--
extra : rebase_source : 12e0f930a6b1770f20a014591f2d4377b5ed95bb
2016-10-27 17:55:09 +08:00
Jean-Yves Avenard 788c9353cc Bug 1292374: P3. Enable VP9 hardware acceleration on windows. r=gerald
MozReview-Commit-ID: BETY7nFDu5o

--HG--
extra : rebase_source : 2264dee30253c98885e761054799ae893cb927c3
2016-10-28 17:03:56 +11:00
Jean-Yves Avenard fea3627b11 Bug 1292374: P2. Change preference name as it's no longer restricted to intel. r=gerald
MozReview-Commit-ID: EKZjkj9SFDw

--HG--
extra : rebase_source : e022610307232edc17b746f01879b2cddc16b6ef
2016-10-28 17:03:25 +11:00
Joe Olivas 5753f883ef Bug 1292374: P1. Add support for full hardware acceleration in VP9. r=jya
MozReview-Commit-ID: ENawyqrzVgH

--HG--
extra : rebase_source : 53e6879b9f2841de5880778503bf20baada15583
2016-10-27 09:59:00 +11:00
JW Wang 06ad2f57ac Bug 1313551 - fix the traling return type of StateObject::SetState() so it can be indexed correctly by Eclipse. r=JamesCheng
MozReview-Commit-ID: 8FQuSJ0pgrB

--HG--
extra : rebase_source : e146562121074003c131dc5073c2c70a607dd138
extra : source : 06470b202b780006db9548031d81c02b4a60c04e
2016-10-26 13:56:08 +08:00
JW Wang a92f42e8f7 Bug 1313557 - remove the assertion from InternalInit() to avoid data race. r=jya
MozReview-Commit-ID: B9GCHOjMqVf

--HG--
extra : rebase_source : da1d80dc1d8f3a34a826192e0bcd146a54c11a8f
2016-10-28 11:43:03 +08:00
Jean-Yves Avenard a7bf1da943 Bug 1312886: P6. Show waitingforkey state in about:media. r=cpearce
MozReview-Commit-ID: Bz8mylFCggb

--HG--
extra : rebase_source : 8b0dad98afb3611e8e911d8a0f1714c807821a42
2016-10-27 20:26:01 +11:00
Jean-Yves Avenard 5c9c0f65ba Bug 1312886: P5. Enter buffering mode when waiting for a key. r=cpearce
MozReview-Commit-ID: CB3e02WEJiz

--HG--
extra : rebase_source : 83afbb3fd36372ac3ba1907dec7454d73ac57f2e
2016-10-27 20:25:21 +11:00
Jean-Yves Avenard ed6fae307d Bug 1312886: P4. Override MediaResource reporting if we have a pending promise. r=jwwang
A future use will see the MediaFormatReader using waiting promise to indicate that the decoders are waiting for an EME key.
We should always enter buffering mode once we're low on data and we're waiting on a key.

MozReview-Commit-ID: DFcT6YEK1Ke

--HG--
extra : rebase_source : 806bf55bb2394d2e07d446860a14bebf699b0195
2016-10-27 20:19:42 +11:00
Jean-Yves Avenard 7c88ceb9a4 Bug 1312886: [MSE] P3. Only rely on waiting promise to determine buffering state. r=jwwang
MozReview-Commit-ID: 3HfK8bwqlYM

--HG--
extra : rebase_source : ca44d3ef57165f9764ff57a4932065f19e379e3f
2016-10-27 20:16:30 +11:00
Jean-Yves Avenard 6cdfa7a953 Bug 1312886: P1. Fix comments. r=cpearce
A MediaDataDecoder now always call InputExhausted once decoding is completed.

MozReview-Commit-ID: K6SCRYb2ieI

--HG--
extra : rebase_source : 315e85eee417561be1713402bd8118ef7bffba88
2016-10-27 10:05:21 +11:00
Phil Ringnalda 62997f0b4b Backed out changeset 9b132e52aa0a (bug 1308821) for wpt encrypted-media/clearkey timeouts and unexpected passes 2016-10-26 19:07:49 -07:00
Phil Ringnalda d41a1c1da4 Merge m-c to autoland 2016-10-26 18:57:56 -07:00
Chris Pearce f98c7aa8b5 Bug 1313202 - Convert InvalidAccessErrors coming out of the Widevine CDM to TypeErrors like Chrome does. r=gerald
MozReview-Commit-ID: FEY08LZheTf

--HG--
extra : rebase_source : e6ddc8a5f7740a5e09822ea1b16ca58b05dee919
2016-10-27 14:04:10 +13:00
Chris Pearce 8685a93e46 Bug 1313202 - Update MediaKeySession.close() to match EME spec. r=gerald
MozReview-Commit-ID: JgzOaACDUfc

--HG--
extra : rebase_source : 35ce6986bdc7e486b757df53fc59a63fb97014c3
2016-10-27 11:37:27 +13:00
Chris Pearce b6dbc9a4a9 Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo
The specification doesn't require there to be a 'type' member of
the keyids init data format.

MozReview-Commit-ID: 7mOm7KwyyuC

--HG--
extra : rebase_source : 88b729ae0b0f851763bbd06ec48bae2d6ac1c47e
2016-10-09 20:42:01 -07:00
Andreas Pehrson 406b5cd4d6 Bug 1294605 - Notify MediaStreamTrackSource when track is notified of ended on main thread. r=jib
I haven't seen test failures from this but I imagine there could be.

MozReview-Commit-ID: 8iyMBzQCWeA

--HG--
extra : rebase_source : 86c375e2a39b93df4f7055c0b186e6db986d5ee8
extra : intermediate-source : 316fdba6ea475ab9b549ffd87eb0fcd45fc6e76d
extra : source : 097be88cedbf8333cb8b7d20952baa4dd6bae522
2016-08-29 16:34:27 +02:00
Jean-Yves Avenard a4f3312d22 Bug 1311876: P3. Provide more details when audio decoder errors. r=gerald
MozReview-Commit-ID: Dbh2Cvyq1NH

--HG--
extra : rebase_source : 6fa83589965db1f63c80c18bb6c94b896c1b894b
2016-10-26 11:34:46 +11:00
Jean-Yves Avenard 83df18207f Bug 1311876: P2. Recreate audio decoder when an error occurs. r=gerald
MozReview-Commit-ID: CwQMZwSNndO

--HG--
extra : rebase_source : d76bd3c15f4d4fc54fcb6f4659ad3d501433f8be
2016-10-26 09:06:14 +11:00
Jean-Yves Avenard f0515f7a99 Bug 1311876: P1. Flush audio decoder when error occurs. r=gerald
MozReview-Commit-ID: JaFfXj3xMat

--HG--
extra : rebase_source : b0929ead47ec912731a867b17ce17d59934f85c2
2016-10-26 08:48:47 +11:00
Jean-Yves Avenard 94530fa5a6 Bug 1312958: P2. Only delete the trackinfo object once the decoder has been shutdown. r=gerald
While it's unlikely to have been a problem as the decoder would have been idled at this stage. During the time the TrackInfo was reset and the decoder actually be shut down, the reference to the object would have been invalid causing a potential UAF.

MozReview-Commit-ID: 7pGJtYRy2Yr

--HG--
extra : rebase_source : d32b8ff393f55685ef182b00f286aea1d1d75464
2016-10-26 20:13:44 +11:00
Jean-Yves Avenard f1049dae10 Bug 1312958: P1. Do not modify original Audio/Video info. r=gerald
The issue is particularly problematic with the Apple audio decoder. The Apple decoder relies on the sampling rate to configure the CoreAudio transform.
The actual output rate may be different (such as with HE-AAC). Should the decoder ever need to be reset again, future initialization would have failed as the initial rate was now incorrect.

MozReview-Commit-ID: 7kTiaUYuOgf

--HG--
extra : rebase_source : 00119a13205c610542a2f690ce6c3b9caeb1b69c
2016-10-26 20:09:41 +11:00
Chia-hung Tai 489763535c Bug 1311231 - Fix test_mixed_principals.html in XP. r=jwwang
Can not play mp4 on XP. So add the canPlayType checking for the test failure.

MozReview-Commit-ID: KH70XsQkYYF

--HG--
extra : rebase_source : fc08ea1aad6094757dcc7f72662d0d214b4bdeb7
2016-10-19 17:55:18 +08:00
Andreas Pehrson 0c1268b303 Bug 1312332 - Use stopVideo as intended. r=jib
MozReview-Commit-ID: JreGgjDwfam

--HG--
extra : rebase_source : 3bcf591250ea92e245446ddb2c34a937afd63939
2016-10-24 08:01:41 +02:00
Dan Minor 50b4412911 Bug 1265401 - Perform linear interpolation when computing the SetValueCurveAtTime events; r=padenot
MozReview-Commit-ID: IOiyq5a4P2A

--HG--
extra : rebase_source : b3d225348d6b8c9dd8b4b20eb11e8ec65413a52e
2016-10-24 13:07:32 -04:00
Dan Minor 4b0ae91ea2 Bug 1308427 - Allow a setTargetAtTime TimeConstant to be 0; r=padenot
MozReview-Commit-ID: 86YSuJDdks8

--HG--
extra : rebase_source : f7bcee3652446e21a7379371e424c5137c3d9391
2016-10-20 11:10:19 -04:00
Alex Chronopoulos 63cb3d50d0 Bug 1312684 - Format log message outside the log macro. r=padenot
* * *
Bug1312684 - Use VsprintfLiteral instead of vsnprintf. p?padenot

MozReview-Commit-ID: 9r826JcmNch

--HG--
extra : rebase_source : 9dc881a504ff5d2be0bfa25d6d7f3762569e1201
2016-10-25 14:34:19 +03:00
Carsten "Tomcat" Book 0f5c8f1a56 Backed out changeset 4c80cc28343b (bug 1312684) for bustage 2016-10-25 12:19:49 +02:00
Alex Chronopoulos 1be8a9f0fe Bug 1312684 - Format log message outside the log macro. r=padenot
MozReview-Commit-ID: 4w8ohHbXdUS

--HG--
extra : rebase_source : b6d2915e931a35f552874d05f0df95f7ecc2ceb0
2016-10-25 12:39:48 +03:00
JW Wang d310175f8e Bug 1311904 - move |mOwner->FirstFrameLoaded()| to the bottom of FirstFrameLoaded() to prevent shutdown from happening in the middle of FirstFrameLoaded(). r=cpearce
MozReview-Commit-ID: FnRsGMhxeZV

--HG--
extra : rebase_source : 4c0cc66afed965e540af73ff8d08f8d08d62aa35
extra : source : 398a3a4bc9d742333b3d4c6a59eaa6f1d71f03eb
2016-10-21 14:27:27 +08:00
JW Wang fe23b37cf3 Bug 1312321. Part 2 - make SetState() protected again. r=JamesCheng
MozReview-Commit-ID: BlYO8U28gVQ

--HG--
extra : rebase_source : 203cabd64989b40af4504088ff427a0cebfcb96a
2016-10-24 11:47:51 +08:00
JW Wang a1fa6db84e Bug 1312321. Part 1 - make StateObject::SetState pass-by-value. r=JamesCheng
MozReview-Commit-ID: 34Y4bNAGmbk

--HG--
extra : rebase_source : 64d0765dadd4f2fac979dcd28f5382aace5d13d6
2016-10-24 11:43:57 +08:00
JW Wang 6cd0511a40 Bug 1311594 - Release decoders when MDSM has decoded all audio/video frames. r=cpearce
MozReview-Commit-ID: LoFgTYebYaj

--HG--
extra : rebase_source : 9ebc0f76ad75ca4ebd0cbe1e0cf668c82ab4ce2b
extra : source : 36896fb8c49af3d017763be1a0c3970986986b58
2016-10-11 17:30:25 +08:00
Andreas Pehrson 5b8cee9143 Bug 1294605 - Notify MediaStreamTrackSource when ReadyState is overriden. r=jib
MozReview-Commit-ID: CSRWgYt4hqe

--HG--
extra : rebase_source : 48ca3562db75b5e691773d82f41537070dae9eef
extra : intermediate-source : d7cc714009d4db05f343522f80502673f61d7cca
extra : source : 8e71a7a649109d03cebe039ee787edb32631e31f
2016-08-22 18:28:10 +02:00
Andreas Pehrson 3218ca42b9 Bug 1294605 - Enable test code waiting for this bug. r=jib
MozReview-Commit-ID: 3TV58pT1SF2

--HG--
extra : rebase_source : 90ec71319c4180ec464c770534862d6a7faf3d1f
extra : intermediate-source : ba9fd44ecdcf130e80da14ec9288ad98f4e82516
extra : source : 631047fcb5af9e5d2bcf4761dc8fbd0d37529270
2016-08-22 18:27:38 +02:00
Andreas Pehrson 66f01e5d24 Bug 1294605 - Add explicit test case. r=jib
MozReview-Commit-ID: 9MJn7QQ9siZ

--HG--
extra : rebase_source : a333ce86be27f0b1806ddbc0e49f6a9eda6d5522
extra : intermediate-source : 77a7f70e04f50b9c621ec3228eb5ba61a3a9e1ac
extra : source : 4cfa56c2c97b0d971894b0485e7893ac5363f746
2016-08-30 14:24:33 +02:00
Andreas Pehrson 24b498b985 Bug 1295352 - Release MediaEngineTabVideoSource main-thread-only members on main thread. r=jesup
MozReview-Commit-ID: H3N70b9tGiI

--HG--
extra : rebase_source : e8dd9562fcf0cfe3d37987947ab85f0ac1ef66a3
extra : intermediate-source : 57f7b75e5a6210ba05e58cb6a117151e1d25f29e
extra : source : 5a2bbbf8ce4b6afc4e3649ce9ca5786aac4b5336
2016-08-30 14:17:59 +02:00
Andreas Pehrson aafd1d4711 Bug 1295352 - Update mediaElementCapture tests to stop all tracks before finishing. r=jib
MozReview-Commit-ID: GnfFt1vIbig

--HG--
extra : rebase_source : 005bcde1072282b25f751e38c1ea3dc059811ada
extra : intermediate-source : 907d83f3649296a187ab5e8b98475ad3b8b88bc2
extra : source : ead33662607bf6bc37bbcf8de6ed7daf5d773ca6
2016-08-29 16:37:16 +02:00
Andreas Pehrson d0bbc5938c Bug 1295352 - Use mState in MediaEngineTabVideoSource. r=jesup
MozReview-Commit-ID: 1zZlMXAqpo7

--HG--
extra : rebase_source : be6dadad9f7059a01f5e96d90232275407b80412
extra : intermediate-source : f3dae14842ecbc89f405095c20faa6834ed10a04
extra : source : 65f1bf3e9dec44ffd6c10a2b1a895ef936ba2d8b
2016-08-25 12:25:06 +02:00
Andreas Pehrson 3633aa0676 Bug 1295352 - Check state in MediaEngines' NotifyPull(). r=jesup
GetEndOfAppendedData() returns null and calls a NS_ERROR() if the track we're
looking for doesn't exist - to indicate an error in the caller's code.

When we end a MediaEngine track we set the state to stopped, which we can use
to guard the calls to GetEndOfAppendedData() (and appending data in general).
The locking is already in place.

MozReview-Commit-ID: DuknmBF883H

--HG--
extra : rebase_source : 14f3442407d7895a7e515cd5c0b01ba5ce446961
extra : intermediate-source : a7c8bab2624a1a1b27d6ba472815a0a09fba1b50
extra : source : df194bbc13b651b94b550e281c6d8cae49ce3324
2016-08-23 10:45:09 +02:00
Paul Adenot d83be5fb40 Bug 1312413 - `mDefaultDevice` should be an index in `mDeviceIndexes`. r=jesup
MozReview-Commit-ID: 8UywuqRAegy

--HG--
extra : rebase_source : 08ad3f27cebadc3322e7ea199db90786388a69c0
2016-10-24 17:26:07 +02:00
Andreas Pehrson 704f4eecc8 Bug 1302612 - SourceMediaStream: Don't lock mMutex when disconnecting consumers. r=jesup
MozReview-Commit-ID: 7F4BXQbzUSx

--HG--
extra : rebase_source : c5003ad7657e67f31449fec7078ea779d7c4cfaa
2016-10-24 07:46:21 +02:00
Gerald Squelart 116cef615e Bug 1311877 - VideoPlaybackQuality.totalVideoFrameCount is presented+dropped - r=jya
totalVideoFrameCount was previously incorrectly set to the number of demuxed
frames.
According to the current W3C specs [1], it should instead be the total number of
frames that have been presented, plus frames that have been discarded.

Also added a check that discarded<=total in mochitest.

[1] https://wicg.github.io/media-playback-quality/#concepts

MozReview-Commit-ID: Gnv1roM5n0A

--HG--
extra : rebase_source : 1f018612fbaf43867f5c92e59d62d718a3b08535
2016-10-21 12:01:59 +11:00
JW Wang 8921e3dab6 Bug 1308147. Part 6 - remove unused MDSM::mQueuedSeek for there is no code to modify it. r=kikuo
MozReview-Commit-ID: BlQydjfm4DI

--HG--
extra : rebase_source : 56c61685973059ce79845bb5536aa2373db52eac
extra : source : d232ec41605f08821ea9ca99af4ba762968a995e
2016-10-19 18:27:50 +08:00
JW Wang 41648a7e80 Bug 1308147. Part 5 - reject mPendingSeek in DormantState::Exit(). r=kikuo
MozReview-Commit-ID: HfQCWBNtUwZ

--HG--
extra : rebase_source : ebae0bc2c8c91a859eb254f5fa1c947abc869ed3
extra : source : 69296a28551d1e2d1013790e2cfd7e063beea246
2016-10-19 18:12:06 +08:00
JW Wang a05dfac69c Bug 1308147. Part 4 - reject mPendingSeek in WaitForCDMState::Exit(). r=kikuo
MozReview-Commit-ID: H7ChCplXhBM

--HG--
extra : rebase_source : a55da8f58bdd9479672b9f48cc569b01136a301c
extra : source : e88328340a21b97f059c41d5f9a67fd7275379b2
2016-10-19 18:09:07 +08:00
JW Wang 5b97d25789 Bug 1308147. Part 3 - add DecodingFirstFrameState::mPendingSeek to store a pending seek job. r=kikuo
MozReview-Commit-ID: 4TMwk6q67go

--HG--
extra : rebase_source : d4e413492d1a703f27e3cb97aee789b4a9405972
extra : source : 83ee4f96ba2903efbda0bfc80b43d06bed57c680
2016-10-19 17:56:20 +08:00
JW Wang 854dc50a5c Bug 1308147. Part 2 - add DormantState::mPendingSeek to store a pending seek job. r=kikuo
MozReview-Commit-ID: oySkHWuYo3

--HG--
extra : rebase_source : d15883048fe64fbd8fcd5d00b4b5bd29f3c1aa3b
extra : source : 773bda0269ece927e19cefdc459e1d808b05d2b2
2016-10-19 15:35:29 +08:00
JW Wang c218e0acd8 Bug 1308147. Part 1 - add WaitForCDMState::mPendingSeek to store a pending seek job. r=kikuo
MozReview-Commit-ID: LmSSm98k9Ze

--HG--
extra : rebase_source : c399eb57bdf1539de6b89f0d6ddc824c1a3df82c
extra : source : 4745002f7a74589ed17098bd0daf22f359e18a74
2016-10-18 17:36:49 +08:00
JW Wang f7791e7d66 Bug 1311901 - document the internal states of MDSM. r=kaku,kikuo
MozReview-Commit-ID: 4fNJcjk6aMI

--HG--
extra : source : dc3b596f11157cfd17db6f407705c0ed5dae410e
2016-10-21 11:37:00 +08:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Andreas Pehrson ba771ca352 Bug 1294605 - Increase 'ended' timeout in test_gUM_trackEnded.html. r=jib
MozReview-Commit-ID: 84BXrFnrdrE

--HG--
extra : rebase_source : ad0e75d1a6521a82f45fa7457d283cfac8f281e5
2016-10-21 15:46:17 +02:00
Chris Pearce ea73ebebc8 Bug 1311848 - Don't call ConnectPendingPromiseIdWithToken in MediaKeySession::Load. r=kikuo
We don't need to call MediaKeys::ConnectPendingPromiseIdWithToken() on the
MediaKeySession::Load() path, we already know the session Id, and we've already
removed the session from the list of pending sessions in Load().

MozReview-Commit-ID: KBiEsY95Csi

--HG--
extra : rebase_source : aadc3204409df35e4bbcb9532c530f860681afd1
2016-10-21 10:52:26 +13:00
Chris Pearce 22b1ca7b53 Bug 1311864 - Reject MediaKeySession::Load() for non temporary session types. r=kikuo
We are required to do this by the draft EME spec.

MozReview-Commit-ID: FnIEFgVId1z

--HG--
extra : rebase_source : 23042d3acda6cfcb379db457224d648dc955f688
2016-10-21 11:43:05 +13:00
Wes Kocher f639e224a7 Merge m-c to autoland, a=merge 2016-10-20 11:36:09 -07:00
Sebastian Hengst 84075be506 Backed out changeset 19d4e98a1191 (bug 1295352) for frequently failing mda test test_getUserMedia_trackEnded.html on Linux x64 debug. r=backout a=backout
--HG--
extra : source : 4693d5445f6755dea29f763a5568c456cbf3d8cb
extra : amend_source : 66a80de5c3fbed08cd94309439a351bd8f876fcc
2016-10-20 20:03:17 +02:00
Sebastian Hengst 971d25de22 Backed out changeset 4f5c09304792 (bug 1295352)
--HG--
extra : source : 0d2f0fcf7185290db6623557c66959e32b552c59
2016-10-20 20:03:17 +02:00
Sebastian Hengst d0d2db5cab Backed out changeset d921975370c7 (bug 1295352)
--HG--
extra : source : eecba1a05d03f27cb3966948effe04a1c9bfec83
2016-10-20 20:03:17 +02:00
Sebastian Hengst 3f0c757970 Backed out changeset 081401df2032 (bug 1295352)
--HG--
extra : source : aee84ca17a022f97e4544bd07e6dc54690020640
2016-10-20 20:03:16 +02:00
Sebastian Hengst ab4eaeff9f Backed out changeset 9a2ec23ccac7 (bug 1295352)
--HG--
extra : source : 60e3863206b89848720257e56b0a51fc454ec225
2016-10-20 20:03:16 +02:00
Sebastian Hengst d5addf7d5c Backed out changeset 95f04e2c2b06 (bug 1295352)
--HG--
extra : source : 051a29aa9419a32d6295f9e79362ceb3611b53a5
2016-10-20 20:03:16 +02:00
Sebastian Hengst d3910409f1 Backed out changeset d0d0f847d043 (bug 1295352)
--HG--
extra : source : be887787de62889d8761e4402b320f351d571d23
2016-10-20 20:03:16 +02:00
Sebastian Hengst fa35a48d74 Backed out changeset 1978000eae5e (bug 1294605)
--HG--
extra : source : 45b00bb6727a744bdc733578297418df6c9b1b58
2016-10-20 20:03:16 +02:00
Sebastian Hengst aa0990718c Backed out changeset eb930799bd15 (bug 1294605)
--HG--
extra : source : 5a542246049e4ff7fc0c49234fdb49605047a8e2
2016-10-20 20:03:16 +02:00
Sebastian Hengst 1456ec14f4 Backed out changeset 0593feead369 (bug 1294605)
--HG--
extra : source : 387012235302ccb073180d17ecea6e0d794dfcb3
2016-10-20 20:03:16 +02:00
Sebastian Hengst 2c7995c52e Backed out changeset c0c023815311 (bug 1294605)
--HG--
extra : source : 40fb588cb1bc706a9c86dd5a27442714bd236afb
2016-10-20 20:03:15 +02:00
Carsten "Tomcat" Book 2e7511ed5a merge mozilla-inbound to mozilla-central a=merge 2016-10-20 16:47:39 +02:00
JW Wang 6325e94bc6 Bug 1311267 - DecodingFirstFrameState should override HandleDormant(). r=kikuo
MozReview-Commit-ID: LGcvRJF3cNC

--HG--
extra : rebase_source : 486f363e33756eaeea8336811fa4c9d3753da1b6
2016-10-19 14:25:42 +08:00
Kilik Kuo ede59e2ecf Bug 1310936- Provide a map to get pending MediaKeySession by promise Id correctly. r=cpearce
MozReview-Commit-ID: 34BL4GYoC1A

--HG--
extra : rebase_source : 4dffdf8da32412a6812716de9edbf685235ce442
2016-10-20 15:28:09 +08:00
Cervantes Yu 9b89fed177 Bug 1278443 - Part 1: Don't open PBackground actors after PContentChild is closed. r=billm
MozReview-Commit-ID: FMtHF3yMQFG

--HG--
extra : rebase_source : 901de005a8f18ea7e406abae48d623fb60537c04
2016-10-04 17:48:46 +08:00
Chia-hung Tai 6cbbd57bb8 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : 0fa06adf8dcf25e8403f4d82413684a7eb3332e1
2016-10-03 17:48:03 +08:00
Phil Ringnalda 3e17fd7779 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 6ims5jd1FU5
2016-10-19 18:29:50 -07:00
Phil Ringnalda 7fd865b93f Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Carsten "Tomcat" Book 4730023cdb Merge mozilla-central to mozilla-inbound 2016-10-19 17:03:49 +02:00
Carsten "Tomcat" Book 036a7c4324 merge mozilla-inbound to mozilla-central a=merge 2016-10-19 17:02:38 +02:00
Sebastian Hengst 52b641f9be Backed out changeset 2d160c261384 (bug 1310879) for failing browser-chrome test browser/components/contextualidentity/test/browser/browser_eme.js. r=backout 2016-10-19 11:26:08 +02:00
Phil Ringnalda 8377010e6a Merge m-c to m-i
MozReview-Commit-ID: Ihd0iacfcIW

--HG--
rename : devtools/.eslintrc => devtools/.eslintrc.js
2016-10-18 19:45:02 -07:00
Phil Ringnalda 6c91017f20 Merge m-i to m-c, a=merge
MozReview-Commit-ID: FA9OZyjP59N
2016-10-18 19:36:18 -07:00
Kilik Kuo 4eecda6d84 Bug 1310958 - Reject promise with correct error in MediaKeySession::Load. r=cpearce
MozReview-Commit-ID: JuWGZCMfW6x

--HG--
extra : rebase_source : 59a9957cd3d37c0ef81cd6bc09f7b6eda3afac7b
2016-10-18 17:31:51 +08:00
Chris Pearce 3e93e729a6 Bug 1310879 - Remove EME persistent-license sessions. r=kikuo
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: KXyuRNMJKIZ

--HG--
extra : rebase_source : fd5c66f8929dfdb28ceb5cb82a75181a9168ca81
2016-10-18 15:42:02 +13:00
JW Wang 95a229468e Bug 1310140. Part 13 - handle resuming video decoding in various state objects. r=kaku,kamidphish
Note StateObject::HandleResumeVideoDecoding() doesn't check mIsReaderSuspended
because if the reader is suspended, MDSM must be in the dormant state and won't
resume video decoding.

MozReview-Commit-ID: FY4rdFmk56C

--HG--
extra : rebase_source : 000837b59944ad3f2efb12a367d7cc12c7a6deab
extra : source : a11fd583471f8a8e496a3152bb73bc17c6345a63
2016-10-18 14:56:36 +08:00
JW Wang 9f67fc7996 Bug 1310140. Part 12 - move the HasVideo() check into HandleVideoSuspendTimeout(). r=kaku,kamidphish
If MDSM becomes invisible while decoding metadata, VisibilityChanged() will return early
because mInfo is still nothing. And MDSM will never suspend video decoding if there are no
visibility changes later. We should delay the check util the timer goes off and MDSM
needs to switch on the blank decoder.

MozReview-Commit-ID: Ids9MncpC2l

--HG--
extra : rebase_source : 77ab76b09bae3dec3447950a8f0a7fcffff565b7
extra : source : 4527aed6f0b4f3ac11981df4517adacf9a43b4a2
2016-10-18 14:07:07 +08:00
JW Wang 7290b9911b Bug 1310140. Part 11 - make StateObject::HandleVideoSuspendTimeout() pure virtual for all sub-classes override it. r=kaku,kamidphish
MozReview-Commit-ID: 2uZHm3NZIFV

--HG--
extra : rebase_source : a6896a66d27a5ec79d9b0ef947d21d4a4d68e540
extra : source : c6f485abfafe186ac2ebf098e1079700e5c9ae8f
2016-10-18 13:58:34 +08:00
JW Wang d616baaf20 Bug 1310140. Part 10 - have SeekingState handle suspend-video-decoding. r=kaku,kamidphish
MozReview-Commit-ID: DRGfP3VN2OG

--HG--
extra : rebase_source : 6bca452d4612a1af4c929108dd9e21bf4d00465b
extra : source : a73b62cfa9b3dec2010c551a235affb7650603d4
2016-10-18 11:11:38 +08:00
JW Wang 7d1e644a36 Bug 1310140. Part 9 - add ShutdownState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: GBXL3U1uxFW

--HG--
extra : rebase_source : bf9321aa3092a9191b6611d7a8649184b2947932
extra : source : 7bbb6ab44a58373f6fba7c3020a7420a71336c9c
2016-10-18 10:55:56 +08:00
JW Wang 8654f08816 Bug 1310140. Part 8 - add CompletedState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: LOrecImz2Cr

--HG--
extra : rebase_source : e5b4033e8dc20589feb3f2da29b6d94eb62b48f2
extra : source : c3525d516776f45a7a64167a531baa32e408a516
2016-10-18 10:54:39 +08:00
JW Wang 74368ea173 Bug 1310140. Part 7 - add BufferingState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: IAhR9v3svpT

--HG--
extra : rebase_source : 5805eca3e39b935e94d4c6f74bea7a9e8ad4fd3c
extra : source : b3b13ceea5ec88616eab1b0562816ac5bb5240c0
2016-10-18 10:52:24 +08:00
JW Wang c55316ec90 Bug 1310140. Part 6 - have DecodingState handle suspend-video-decoding. r=kaku,kamidphish
MozReview-Commit-ID: 3GxHdxZCiwE

--HG--
extra : rebase_source : f20e140c43b186b2c97a348e9e4517cdb67d9d0c
extra : source : 666b4bf34139383276cde9f91c6210274319e344
2016-10-18 10:48:46 +08:00
JW Wang 18399ecab8 Bug 1310140. Part 5 - add DecodingFirstFrameState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 9CAE5XOQFtQ

--HG--
extra : rebase_source : a4f227c1d3eb6e1e2fe1a353e565ea06447faea4
extra : source : ffe3c6d1e9dd68835cacd0f56ae0bf461f1e843c
2016-10-18 10:40:52 +08:00
JW Wang c74a365db4 Bug 1310140. Part 4 - add DormantState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: GYBC3nS1PlF

--HG--
extra : rebase_source : 2cace04086029d37344e90fc25c284a398791025
extra : source : 019fa0c99035662e848b8f994b170669cf69c77c
2016-10-18 10:35:23 +08:00
JW Wang 6f363fd560 Bug 1310140. Part 3 - add WaitForCDMState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 9fPBDrt8Tgi

--HG--
extra : rebase_source : 2d10b4635cf1c4a832fdcdf404355b262974bd15
extra : source : 3bd862c75a34a93f26065b50204a4c7520ed2ebe
2016-10-18 10:33:37 +08:00
JW Wang 9a08090a96 Bug 1310140. Part 2 - add DecodeMetadataState::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 5NCo9ooQEvU

--HG--
extra : rebase_source : 7ee8a78ea67a87a856fa2c9aa2ffcc39c0102cf9
extra : source : 9a6fa8c9893d4e7fd341e9d31846ff8992a1001b
2016-10-18 10:31:17 +08:00
JW Wang ba2f2c6e8e Bug 1310140. Part 1 - add StateObject::HandleVideoSuspendTimeout(). r=kaku,kamidphish
MozReview-Commit-ID: 1qyDJzogSR8

--HG--
extra : rebase_source : 7fe959ad96e27e6badda324838443cc05d155133
extra : source : a473724082b2f25601846bbf0ca8c796857a70ae
2016-10-18 10:29:14 +08:00
Phil Ringnalda a2f4b15464 Merge m-c to autoland 2016-10-18 19:50:46 -07:00
Jean-Yves Avenard 4db3f07930 Bug 1311137: [MSE] Ensure buffered range doesn't get modified during run. r=gerald
Previously two separate monitors were used to find the highest end time, and then work on tracks, introducing the possibility that tracks could be modified between these two operations. Now only one monitor is used to ensure consistency.

MozReview-Commit-ID: 1foB82S6W1Z

--HG--
extra : rebase_source : 817ff8cf231372a4db90b2c11f3bb60d1031fa89
2016-10-19 10:28:49 +11:00
Carsten "Tomcat" Book b9686db6da Merge mozilla-central to mozilla-inbound 2016-10-18 10:44:04 +02:00
JW Wang c841d66e5e Bug 1310086. Part 3 - let SeekingState/ShutdownState::Enter() return a promise. r=kaku
MozReview-Commit-ID: 4TvsISriclT

--HG--
extra : rebase_source : c6557664b974f7cfd12848e152aab0499827b429
extra : source : f91fef194c601a5d63e835d00e69c30cd50a885e
2016-10-13 13:53:32 +08:00
JW Wang 8e136dd5e8 Bug 1310086. Part 2 - devirtualize StateObject::Enter() so it can have different parameters and return types for each subclass. r=kaku
MozReview-Commit-ID: 4RDL99rSIFD

--HG--
extra : rebase_source : 916fa5d52c6499acaa18b1b27ce770d5928562ee
extra : source : 2749279482798232c60dd1fe98cf179350882d19
2016-10-12 14:16:40 +08:00
JW Wang bfa7fbd6cc Bug 1310086. Part 1 - add an assertion to StateObject::SetState(). r=kaku
It can be proven that SetState() always transitions to a different state except for the seeking state
for it is possible to seek again in the middle of seeking.

MozReview-Commit-ID: 4bdkAelcZoO

--HG--
extra : rebase_source : 71c9f62f3827217cd985c446697aa3aa2d027cd5
extra : source : 510fa57f83ee80c63588a408b4d6e3d3a8014527
2016-10-12 14:04:25 +08:00
Jonathan Hao ad4fb47b95 Bug 1264595 - Test whether auto-revocation is removed. r=karlt 2016-10-18 15:56:00 +08:00
JW Wang 2459912478 Bug 1302613 - add elements to the document so we can print debugging info when the test case times out. r=bechen
MozReview-Commit-ID: HQCfodjm99i

--HG--
extra : rebase_source : b2329ee5787ab09eeabde0722e6372c691180157
2016-10-17 18:01:00 +08:00
Wes Kocher 664cdfb48f Merge m-c to autoland, a=merge 2016-10-17 15:37:57 -07:00
Wes Kocher 573dc19393 Merge inbound to central, a=merge 2016-10-17 15:34:14 -07:00
Carsten "Tomcat" Book 54cb47289d Merge mozilla-central to autoland 2016-10-17 11:38:07 +02:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Chris Pearce c2998283ca Bug 1309299 - make navigator.requestMediaKeySystemAccess() reject with TypeError for empty keysystem string or config. r=gerald
This makes us match the spec and pass more cases of
http://www.w3c-test.org/encrypted-media/drm-mp4-syntax-mediakeysystemaccess.html
but we still need to adjust the test so that it's consistent, as pointed out
by bz.

MozReview-Commit-ID: KEfRk4QnJKR

--HG--
extra : source : 72af37aaf2a0a42c20e64b3b455f0cb79e2b7eb1
2016-10-11 10:37:34 -07:00
Wes Kocher 727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
Wes Kocher 42083975b0 Merge inbound to central, a=merge 2016-10-14 14:40:49 -07:00
Randell Jesup 4875bcdbf9 Bug 1300818: bustage fix rs=kwierso on a CLOSED TREE 2016-10-14 15:13:30 -04:00
Carsten "Tomcat" Book 415f86e41d Merge mozilla-central to autoland 2016-10-14 15:03:01 +02:00
Carsten "Tomcat" Book 260c42fadb Merge mozilla-central to mozilla-inbound 2016-10-14 15:00:30 +02:00
Carsten "Tomcat" Book e90a683f18 Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
Carsten "Tomcat" Book fed18a42c0 Backed out changeset 5af415bbb107 (bug 1308615) 2016-10-14 14:58:51 +02:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Eric Rahm b8cfe3a083 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm 441292eb71 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Carsten "Tomcat" Book 5194fbe95c Merge mozilla-central to mozilla-inbound 2016-10-14 12:20:46 +02:00
Paul Adenot 0fea3fd083 Bug 1300818 - Cap latency at 512 frames for some mac models. r=jesup
MozReview-Commit-ID: B40Tu7r8GG2
2016-10-14 18:35:35 +02:00
Gerald Squelart e076c9edaa Bug 1263665 - media.libavcodec.allow-obsolete=true bypasses blocking - r=jya
If "media.libavcodec.allow-obsolete" is set to true, the checks for older
libavcodec library versions are ignored.

MozReview-Commit-ID: HBhHfFomsrr

--HG--
extra : rebase_source : 6bfe06bd4354fcda90d7d33bedcbd176663cab31
2016-10-05 15:04:04 -07:00
JW Wang 51234deb68 Bug 1309761 - Some tweaks to MediaDecoder::DumpDebugInfo(). r=bechen
MozReview-Commit-ID: 9e7sImUs2vz

--HG--
extra : rebase_source : 6699aea482efac0e996ccee51ecc6009c1de64e3
extra : source : 640ba5ebf3e8898796c7d34c899add9a05a6a396
2016-10-11 16:58:09 +08:00
Sebastian Hengst 83c48072d6 Backed out changeset 6a4cf8732cb1 (bug 1308615) for failing browser-chrome tests like browser_devices_get_user_media.js. r=backout on a CLOSED TREE 2016-10-14 01:17:08 +02:00
Sebastian Hengst 47dffb47bc Backed out changeset dbf7653be16f (bug 1308615) 2016-10-14 01:16:08 +02:00
Eric Rahm 06a26b0b8c Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva

--HG--
extra : rebase_source : afc25d91dfcabf6f8f5c9aca6828d41acac9e97e
2016-10-10 13:14:38 -07:00
Eric Rahm 62ae2ac79e Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : 069b6ec173bb98ab08d93279b5e983494184f8c0
2016-10-10 13:14:34 -07:00