Commit Graph

860 Commits

Author SHA1 Message Date
Cervantes Yu
c4f82d6bd7 Bug 1416703 - Part 3: Remove dead media prefs in all.js. r=cpearce,jesup
MozReview-Commit-ID: KIVAnQPTvCp

--HG--
extra : rebase_source : 983b3d79ebea8fa3bf878457931dcaf14c15595f
2017-11-14 16:10:31 +08:00
bechen@mozilla.com
7d0a2a4310 Bug 1415821 - Modify .vtt REGION syntax. r=alwu
MozReview-Commit-ID: 4GydOirj87V

--HG--
extra : rebase_source : ec51494805f2c83e06e65c2ad57c531ac7f21c91
2017-11-15 10:24:59 +08:00
James Cheng
9392a40604 Bug 1411205 - Add a test case for Bug 1404230 HDCP Policy check on MediaKeys. r=cpearce
MozReview-Commit-ID: 852YMvNxh7O

--HG--
extra : rebase_source : 74db2c6a4d025d8c464235dfc0ce75e8a746d417
2017-10-26 16:29:34 +08:00
Andreas Pehrson
cfffb3d535 Bug 1411322 - Add crashtest getting memory reports from MediaRecorder. r=SingingTree
MozReview-Commit-ID: 8ptpSFj1SeW

--HG--
extra : rebase_source : d1d547ffdd53dc9d9899d33a0a157decbc823cf6
2017-11-10 12:06:04 +01:00
Bob Clary
c55f566e31 Bug 1393866 - disable dom/media/test/test_resolution_change.html on Android 4.4 due to time outs, r=gbrown. 2017-11-09 09:06:23 -08:00
Bob Clary
66cd66a8d9 Bug 1415061 - disable dom/media/test/test_play_promise* on Android 6.0 due to time outs, r=gbrown. 2017-11-09 09:06:23 -08:00
James Cheng
0b728954aa Bug 1413427 - Part1 - Make Mochitest runs EME with https. r=cpearce,kikuo
MozReview-Commit-ID: 8EfJTXdQkZG

--HG--
extra : rebase_source : 74999a928db7651e370fc44a551b723c401ef9f5
2017-11-03 12:30:58 +08:00
Ryan VanderMeulen
73bad38c3d Bug 1389304 - Add crashtest. r=me 2017-11-08 08:47:10 -05:00
Jesse Ruderman
1d8d8f698d Bug 1267263 - Add crashtest. r=me 2017-11-08 08:47:07 -05:00
Kilik Kuo
26b99cd496 Bug 1395922 - [P6][Test] Playback should resume after reattaching same MediaKeys with valid sessions. r=cpearce
MozReview-Commit-ID: CASXy2SN4fh

--HG--
extra : rebase_source : b347ffa33fac70e3fcea4aa14f208ae6c79b74b8
2017-11-03 20:15:48 +08:00
Kilik Kuo
0a35c8eaa1 Bug 1395922 - [P5][Test] Capture clear content with canvas 2d after remove MediaKeys from the same HTMLMediaElement. r=cpearce
MozReview-Commit-ID: CUnblsNOmcm

--HG--
extra : rebase_source : b21cf26dc6527c29f315b6f188f11a169b75cd28
2017-11-03 20:15:19 +08:00
Kilik Kuo
87bb5d8d3f Bug 1415028 - Remove unnecessary code which may lead to intermittent error. r=jwwang
The session update triggered from the second LoadEME may come later than the end of playback.

MozReview-Commit-ID: K1vOaztbx4v

--HG--
extra : rebase_source : 81cdda75a8b88cf8ef712a57a149733069d04af1
2017-11-07 14:35:52 +08:00
Csoregi Natalia
a731ff981c Merge inbound to mozilla-central r=merge a=merge 2017-11-06 12:45:47 +02:00
Csoregi Natalia
978711ce7c Merge autoland to mozilla-central r=merge a=merge 2017-11-06 12:44:18 +02:00
Csoregi Natalia
6bf19d4921 Backed out 6 changesets (bug 1395922) for failing Media tests test_eme_sample_groups_playback.html and test_eme_sample_groups_playback.html r=backout a=backout
Backed out changeset f856af63682e (bug 1395922)
Backed out changeset f59a7e727f39 (bug 1395922)
Backed out changeset 9cd31c6a8e2c (bug 1395922)
Backed out changeset d46f952f94f8 (bug 1395922)
Backed out changeset f786d928b1e0 (bug 1395922)
Backed out changeset bacda0f99f71 (bug 1395922)
2017-11-06 12:34:02 +02:00
Bob Clary
1d8ba0f540 Bug 1365451 - disable Cdm1 dom/media/test/crashtests/691096-1.html, r=jmaher. 2017-11-05 16:59:19 -08:00
Bob Clary
dcd73319bd Bug 1408241 - disable Mdm1 dom/media/test/test_mediarecorder_record_addtracked_stream, r=jmaher. 2017-11-05 16:58:48 -08:00
JW Wang
4e6da8890c Bug 1414706 - dump debug info immediately when a test times out. r=jya
For now we dump debug info when the whole test case finishes. However, it
would be harder to relate the debug info to the timed out test when there
are multiple test timeouts.

Note we don't call |this.finished(token)| until v.mozDumpDebugInfo() is done
because |this.finished(token)| might finish the whole test case and clean up
the page which might change the output of v.mozDumpDebugInfo().

MozReview-Commit-ID: BrdZ0EVpaBQ

--HG--
extra : rebase_source : ee5d20c3ab605568e7fe895f14b8e9468fffd5ab
extra : source : 1288e105a94ac05fc3a978b7287dd45ecdfb6e8d
2017-11-03 11:16:30 +08:00
Kilik Kuo
70bf2e8e88 Bug 1395922 - [P6][Test] Playback should resume after reattaching same MediaKeys with valid sessions. r=cpearce
MozReview-Commit-ID: CASXy2SN4fh

--HG--
extra : rebase_source : 6718c77d944fa2597c8aa3c3eefa139f8363d44b
2017-11-03 20:15:48 +08:00
Kilik Kuo
5fb141a715 Bug 1395922 - [P5][Test] Capture clear content with canvas 2d after remove MediaKeys from the same HTMLMediaElement. r=cpearce
MozReview-Commit-ID: CUnblsNOmcm

--HG--
extra : rebase_source : 228490859bb0d82bf7535bccb01e7281c5dc65b8
2017-11-03 20:15:19 +08:00
Jean-Yves Avenard
acabf2903c Bug 1295886 - P15. Enable FLAC mochitest on Android. r=gerald
MozReview-Commit-ID: 83mJleAMVro

--HG--
extra : rebase_source : ba445777b70a1b700eb21eb9809fecea76609598
2017-11-02 02:56:04 +01:00
Bryce Van Dyk
822e6a7a58 Bug 1367955 - Remove onended handler during ended handling to avoid video.ended race issues. r=pehrsons
Bug 1386489 means that ended is not reliably set in relation to the test
seeking machinery. This results in the following behaviour being possible:
- seekToNextFrame seeks to last frame
- the seek promise resolves and invokes check to see if video has ended
- ended is not yet set (race), so another seekToNextFrame is setup
- onended handler is invoked at some point (1st time)
- seekToNextFrame seeks again, remains at last frame
- oneended handler is invoked again due to the seek (2nd time)
- finish() has been called twice

This changeset should bandaid the above being possible.

MozReview-Commit-ID: BkskWUnaJQ9

--HG--
extra : rebase_source : 0108cf82a805136a87752d0128c1c0f2e7997ff6
2017-10-27 08:32:12 +13:00
bechen@mozilla.com
c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Jean-Yves Avenard
858f178676 Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce
For webrtc, the most important part of the code had already been removed in bug 1355048 and could no longer be called

MozReview-Commit-ID: Fx9XI0zR1gn

--HG--
extra : rebase_source : 360996760abab650684440fbeea258b43dccfd83
2017-10-19 16:51:04 +02:00
Tyson Smith
3b3d19504e Bug 1393272 - Add crashtest. r=me
--HG--
extra : rebase_source : 563170306adaadf247f761fb89c18ae91142c856
2017-10-20 08:36:12 -04:00
Paul Adenot
e2b0ed260c Bug 1409391 - Remove raw yuv tests and test vectors. r=cpearce
MozReview-Commit-ID: D8TIw6SKgPz

--HG--
extra : rebase_source : 267b7c2bd102a4e37223b279008761a44294073e
2017-10-18 15:47:09 +02:00
Bob Clary
012a6c1870 Bug 1409365 - disable dom/media/test/crashtests/1180881.html on Android 5.0, r=gbrown 2017-10-18 14:46:15 -07:00
Jesse Ruderman
8a71e39fe1 Bug 497734 - Add crashtests. r=me 2017-10-18 09:43:11 -04:00
Ethan Lin
f585fef0f1 Bug 1408296 - Enable some crashtests for webrender. r=kats
MozReview-Commit-ID: 543ZYLhacx8

--HG--
extra : rebase_source : 247ddffeba52e7a7fbe864c2644be66b164ceb24
2017-10-13 11:56:04 +08:00
Ryan VanderMeulen
cc54a93021 Bug 1257700 - Add crashtest. r=me 2017-10-12 22:41:13 -04:00
Ryan VanderMeulen
329ca88d38 Bug 1270303 - Add crashtest. r=me
--HG--
extra : rebase_source : 55b93b84fe7d13e56c6670ad79c524a2bfe74a31
2017-10-11 11:52:39 -04:00
Ryan VanderMeulen
7080ccf348 Bug 1197935 - Add crashtest. r=me
--HG--
extra : rebase_source : a863e8aaf72a82436399800a35b4b2f12501779b
2017-10-11 11:52:39 -04:00
Ryan VanderMeulen
9be0c9e6b3 Bug 1180881 - Add crashtest. r=me
--HG--
extra : rebase_source : 7eac4a27703f821b35e96100be172eff4bae166e
2017-10-11 11:52:38 -04:00
Joel Maher
5f7217fd0d Bug 1403307 - Disable dom/media/test/test_mediarecorder_pause_resume_video.html on debug for frequent failures. r=me, a=test-only 2017-10-09 15:44:29 -04:00
Kartikaya Gupta
22bed6311a Bug 1367879 - Skip test that fails frequently with webrender enabled. r=jmaher
MozReview-Commit-ID: IHTDYmwrsBP

--HG--
extra : rebase_source : 17d403f58faf1e7e1939c3a3eb6e6ed82f49032b
2017-10-04 10:33:12 -04:00
JW Wang
cf7433d7d9 Bug 1404187 - group timeout messages for MediaTestManager. r=kaku
So different test timeouts from the same test case will fall under the same bug.

MozReview-Commit-ID: LDstAhOpkYK

--HG--
extra : rebase_source : 9f2b52f237f18f3fecdd076295da4d43e5b30219
2017-09-29 11:25:31 +08:00
Andreas Pehrson
78a302848f Bug 1296531 - Let waitForPixel and friends take a cancelPromise. r=jib
MozReview-Commit-ID: 42hT181wkvq

--HG--
extra : rebase_source : 430d7ea6156bddf98893c4b8b3d0db70c3c54831
2017-05-29 16:27:45 +02:00
Andreas Pehrson
7891ee2242 Bug 1296531 - Log error first in test_mr_unsupported_src.html. r=jwwang
MozReview-Commit-ID: 1xDVBCGYYDS

--HG--
extra : rebase_source : b4b269d50b52abeda5a0e6b644d4edaca8ab9422
extra : source : 1bbcd77c822f321b0aa8e8d84fc6ed18a9e648a5
2016-11-22 09:53:44 +01:00
Andreas Pehrson
7373b22eca Bug 1296531 - Add error checks to test_mediarecorder_avoid_recursion.html. r=jib
MozReview-Commit-ID: E4RS2y6GJ5C

--HG--
extra : rebase_source : 207db6bb33ee411ebeda9a7855f58d5ae6c41487
extra : source : 7a6c163cac5b87830ab2b368d711f79bedc2cf50
2016-11-17 10:14:52 +01:00
Andreas Pehrson
510bc537bc Bug 1296531 - Remove deprecated MediaRecorder test. r=jesup,jib
This test stops a stream and checks MediaRecorder events when trying to record it.
However, streams can't be stopped anymore (they go inactive), so there's nothing
left for this test do do.

MozReview-Commit-ID: 3pLlhLzBkNA

--HG--
extra : rebase_source : 7c159fa2be96aa99ca22e0530ee0f79395a00491
extra : source : 038e8eecd3dd50bcc1e50d5e41f8266e3ace0c39
2016-11-17 10:11:56 +01:00
Andreas Pehrson
22efa38de2 Bug 1296531 - Add mochitest for recording a MediaStream with an extra added track. r=jib
MozReview-Commit-ID: 3mVDhCc00fA

--HG--
extra : rebase_source : a6d59f4b566b3d79bbef86c0744f4edfad3a773d
extra : source : f9fc79aa9055e40a2caae4e3b917ae473345a1f6
2017-05-29 16:28:00 +02:00
Alastor Wu
3ec0a4b45b Bug 1398139 - part3 : check current time should be increased correctly in new chained part. r=jya
MozReview-Commit-ID: 3ctF8SAVcs9

--HG--
extra : rebase_source : 5557458d0615bf763cc9a093c0a5dfaefbfc377c
2017-09-15 18:05:18 +08:00
Alastor Wu
7ed84d4e89 Bug 1397141 - part8 : update test for video under 48x48. r=jya
In patch3, we remove the minimum resolution check, now the video under 48x48 can
be playback successfully. Therefore, removing them from error test and we should
ensure they can be playback.

MozReview-Commit-ID: BvLtr4DN1hU

--HG--
extra : rebase_source : 30b9dc35f5754d6ecc7cddaf7f5a9fabf9965889
2017-09-13 15:38:24 +08:00
Sebastian Hengst
d7f084f99d Backed out changeset f6f5863e50a8 (bug 1397141) 2017-09-13 09:25:22 +02:00
Alastor Wu
d3b21ca470 Bug 1397141 - part8 : update test for video under 48x48. r=jya
In patch3, we remove the minimum resolution check, now the video under 48x48 can
be playback successfully. Therefore, removing them from error test and we should
ensure they can be playback.

MozReview-Commit-ID: BvLtr4DN1hU

--HG--
extra : rebase_source : 36cdd1e18cd41516319989b56e4e83888b0ecf50
2017-09-13 15:06:22 +08:00
James Cheng
fd751ffde2 Bug 1398102 - [Part2] Fix test fail due to wrong assumption. r=gerald
MozReview-Commit-ID: 1wRNQ2oIY1w

--HG--
extra : rebase_source : f2822a79a2af2a0a2f2e0db0000f885c550db8d7
2017-09-12 17:28:48 +08:00
Bryce Van Dyk
347e311683 Bug 1378826 - Add test for removal of video tracks during recording. r=jesup
MozReview-Commit-ID: 7IGx27Z2jsN

--HG--
extra : rebase_source : a1f86dc1d73fe125ac72fc05de4af8c192704ad4
2017-08-22 15:28:00 +12:00
Bryce Van Dyk
2dd8bf74ac Bug 1395022 - Add test to check only one start event is fired by MediaRecorder when erroring. r=pehrsons
MozReview-Commit-ID: 1JJY0eQMSDn

--HG--
extra : rebase_source : f97bc71009022279b7e6b5b497c1dbf6fc5931b5
2017-09-04 10:10:32 +12:00
JW Wang
a40c88e159 Bug 1348634 - wait for the 'suspend' event to ensure resource cloning work as expected. r=cpearce
MozReview-Commit-ID: BeGGnUfFDcN

--HG--
extra : rebase_source : bd8192f09cd088a430437f34674d579859d0194a
2017-09-04 13:20:05 +08:00
Bryce Van Dyk
521b6759e8 Bug 1388909 - Update tests to reflect updated MediaRecorder error handling. r=pehrsons
The MediaRecorder should now transition to inactive immediately upon an error
being encountered. This contrasts with the previous behaviour where onerror
would be called before performing this transition. This changeset updates
tests to reflect this new behaviour.

MozReview-Commit-ID: 5V2JkoMb0wB

--HG--
extra : rebase_source : cdd61c7fe128089458fd93f18d6b133a52b9b8aa
2017-09-04 07:07:54 +12:00