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

270 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
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
bechen@mozilla.com 51322d988c Bug 1392196 - Enable tests which tag is "promise-play" on fennec. r=alwu
MozReview-Commit-ID: DoIkwyUrrg5

--HG--
extra : rebase_source : 53fd1d1df0804d50f73f8e6db3d65858cdde6249
2017-08-30 16:43:41 +08:00
Alfredo.Yang 77323453fe Bug 1377278 - test case for 'matroska' doctype webm. r=kinetik
MozReview-Commit-ID: LmQWsFrCeL8

--HG--
extra : rebase_source : e11320207721d0d24d9a685f5da7e6fd65ab80ff
2017-08-30 11:49:35 +08:00
Jean-Yves Avenard aefd5c8c8a Bug 1391666 - P1. Mochitest to verify correct behavior. r=gerald
We load 10s of encrypted video, which should trigger readyState being HAVE_ENOUGH_DATA

MozReview-Commit-ID: 4VRLFHSFlDs

--HG--
extra : rebase_source : 919310b00f0ec271a73e149992696bc1eec8cd5f
2017-08-19 12:12:16 +02:00
Tim Huang f80792ee67 Bug 1369309 - Part 2: Add a test case to check whether media statistics has been spoofed correctly when 'privacy.resistFingerprinting' is true. r=jwwang, r=arthuredelstein
MozReview-Commit-ID: F6jNk58z7bH

--HG--
extra : rebase_source : 749d952286b12db14353b03b254fb74561174e40
2017-06-19 14:43:27 +08:00
James Cheng ad74bc6fbc Bug 1388633 - Relax the duration constrain due to the duration may be changed in runtime. r=alwu
The original duration I wrote is calculated from the m3u8 file this is too accurate without error tolerant.
The state machine will update playback position periodically(UpdatePlaybackPositionPeriodically)
according to the clockTime or max end time from A/Vsink.
So the duration will be variant that I should consider to set the value to a more relaxed value.
MozReview-Commit-ID: GGwkhvzz8sI

--HG--
extra : rebase_source : c0465f7aef7a41e999e8c4c3429957fa56336239
2017-08-10 14:59:25 +08:00
James Cheng edcb5a7dd9 Bug 1388822 - Skip test_playback_hls.html lower than API level 20. r=alwu
MozReview-Commit-ID: 3wzzNr5xNjB

--HG--
extra : rebase_source : 30037d1aabd157d8606976b56c769d91e20b4a3f
2017-08-10 01:39:49 +08:00
Kilik Kuo b09363765d Bug 1372465 - Make sure GeckoHlsPlayer is used by correct media components. r=jwwang
We use an increasing player Id as the token between MediaReousrce and MediaDemuxer to
identify which GeckoHlsPlayer should be used.
In this case, playback of 2 HLS content at the same page to make sure the underlying components won't be selected mistakenly

MozReview-Commit-ID: HzrczjsYEoz

--HG--
extra : rebase_source : e749788cb6aabd2bdc1ab005829d9377e9acc653
2017-07-25 16:40:37 +08:00
bechen 55bf6d2d94 Bug 1380571 - Enable test_streams_autoplay.html on Android. r=alwu
MozReview-Commit-ID: FWLFW1E6ThJ

--HG--
extra : rebase_source : 0d2388c3e9ded5dfcd61d7c3135877af5932a005
2017-07-13 14:48:56 +08:00
Alastor Wu 8fa2796b1e Bug 1364340 - enable dom/media/test/test_resolution_change.html on Android. r=bechen
MozReview-Commit-ID: EvtkgkyFbIp

--HG--
extra : rebase_source : 184096007d748d3564f5ad1bcbc9e67da4118970
2017-07-19 10:57:23 +08:00
bechen 893ccc3da4 Bug 1372854 - Enable test_seek_nosrc.html on Android. r=alwu
MozReview-Commit-ID: 7YmInfSB6K2

--HG--
extra : rebase_source : d2ee043e9109d6ff3985ec8dbf49ca07d38249c9
2017-07-12 15:44:56 +08:00
Ryan VanderMeulen 112cadfae3 Merge m-c to autoland. a=merge 2017-07-14 09:52:56 -04:00
bechen c2d16d5cab Bug 1374189 - new testcase to count the total frame when "skip-to-next-key-frame.enabled" is false. r=jwwang,kaku
MozReview-Commit-ID: 4zjOoSAYild

--HG--
extra : rebase_source : c283f7e8430dc5d41b2f43635b592c01fbb096f8
2017-07-13 18:18:04 +08:00
Chris Pearce 965450cd7c Bug 1351124 - Test for PSSH boxes in MOOF boxes. r=jya
Includes "bear" samples from the Chromium project which include several
runs of PSSH boxes in their MOOF boxes.


MozReview-Commit-ID: 4KIJ2FCOyWT

--HG--
rename : dom/media/test/short-cenc.mp4 => dom/media/test/short-cenc-pssh-in-moof.mp4
extra : rebase_source : 29cd7ea0e3b76935d76e376ee0f88f4c93aca85d
2017-07-13 20:04:13 +12:00
James Cheng 759a5057e8 Bug 1377193 - Add the m3u8 and media contents into gecko and add one general test case run only on Fennec for testing HLS. r=jwwang
MozReview-Commit-ID: 8cwQlcah2H8

--HG--
extra : rebase_source : 29398ab3557ad6f2ed6c4aafc7be6dbd8eca8cc8
2017-07-01 04:41:57 +08:00
Chris Pearce 5c3bbc5b04 Bug 1370177 - Add test case for gzipped MP4 with Content-Length set to compressed file length. r=jwwang.
Adds a testcase corresponding to what's happening here; we have a gzipped
file with a Content-Length which is the length of the compressed stream.

MozReview-Commit-ID: 8SDayegP11W

--HG--
extra : rebase_source : 1ae21d0f202e24f6e0236d3f2d2363ab930b0c2e
2017-07-04 23:37:14 +12:00
Alastor Wu bea16a4f12 Bug 1373177 - part3 : enable test. r=jolin
MozReview-Commit-ID: 5jbD0hkyLDf

--HG--
extra : rebase_source : 6dbcb4a84f0b7eb79dfd50a85798dc965cf59362
2017-06-30 11:12:54 -07:00
Kaku Kuo 52e4433bbd Bug 1360452 - use SeekToNextFrame() to guarantee the last frame is shown on the reference video; r=jwwang
MozReview-Commit-ID: IyhVYq4atML

--HG--
extra : rebase_source : 164d6f9ab1f0ba74388b1494ed1e38a522e6c885
extra : source : aeeda3c59c0947e98c5e6ff05a8c86789ef00859
2017-05-16 12:09:10 +08:00
Alastor Wu 8ba369c623 Bug 1372457 - disable some tests to make sure we can run the mdm1 on Autophone. r=jolin
Base on the try result : https://treeherder.mozilla.org/#/jobs?repo=try&revision=76cf750fdeeed709a14cf2be542faf16cfe4d552

Disable the most possible to fail and some always fails tests in order to re-enable
mdm1 on Autophone.

MozReview-Commit-ID: 4ISeiZKrize

--HG--
extra : rebase_source : db67b92e1655b27794ae32a54666f138f86bf5ec
2017-06-19 15:26:54 +08:00
bechen ab3d9098bd Bug 1368489 - Add testcase to testing the order for the events when cue1's endTime is equal to cue2's stratTime. r=rillian
MozReview-Commit-ID: 5Xyw4MsUR5K

--HG--
extra : rebase_source : c4ca3dee366d66fab101231a93a86056d16f6a68
2017-06-13 09:51:56 +08:00
Bryce Van Dyk 7f7533c13f Bug 1272371 - Add mochitest to test looped playback of mediarecorder recordings. r=pehrsons
MozReview-Commit-ID: L9kbgrUYKmt

--HG--
extra : rebase_source : 573fa02f7697d88ad6a0bd0635abef1bffbb88d8
2017-05-25 13:37:05 +12:00
Alastor Wu f03c84d4f7 Bug 1368010 - Enable all webvtt related tests on Android (but skip API version 22) r=jwwang
I found that these webvtt related tests might fail on API 22 (Android 5.1).

https://treeherder.mozilla.org/#/jobs?repo=try&revision=6787f64f55ee39113dd3b45efce74d6d446098d1&selectedJob=101892440

But they can success on other API versions.

https://treeherder.mozilla.org/#/jobs?repo=try&revision=494f653446cc90d0ce1852667caa908a357e27c9&selectedJob=102246583

---

From my observation, it seems these mochitest might get fail easier on API 22 than other versions.

Therefore, I would like to enable them on other API versions to increase test coverage, and then we could investigate what's the problem in API 22 later.

MozReview-Commit-ID: CoGyxj8iazp

--HG--
extra : rebase_source : 790b75284e2b8b88b352863b69d5651cf0c84e0d
2017-05-31 10:41:13 +08:00
Bryce Van Dyk fd8d18e66b Bug 1354457 - Add test to check video is paused and resumed correctly in MediaRecorder. r=pehrsons
MozReview-Commit-ID: Gn9LRsVPFhY

--HG--
extra : rebase_source : bc5da3aaba9f695a0f4a5f2ac64fa9814047e7e7
2017-05-15 08:56:27 +12:00
Alastor Wu b961882e7a Bug 1362793 - part2 : add test. r=jwwang
If video gets error after loaded metadata, its duration should still be available.

MozReview-Commit-ID: GvwqX28I04o

--HG--
extra : rebase_source : fe0d41a5a031bc020fd7de200c1de4f59f443485
2017-05-19 12:42:40 +08:00
Alfredo Yang 1382d87d13 Bug 1363647 - reduce MIN_SUCCESSIVE_FRAMES to 3 for a very short mp3 file. r=JanH
MozReview-Commit-ID: LwO9aMglPNP

--HG--
extra : rebase_source : feb12610b5699e6e86f48c168df6f2ab1896293b
2017-05-10 15:34:11 +08:00
Alastor Wu 62a2ec73a8 Bug 1364296 - enable dom/media/test/test_unseekable.html on Android. r=jwwang
Now the fragent mp4 is seekable, so we should remove "street.mp4" from unseekable test.

MozReview-Commit-ID: 9S18yj7rOjA

--HG--
extra : rebase_source : 12e01834df75257c0999aa186c1a825c7b13af48
2017-05-15 17:21:34 +08:00
Alastor Wu 9868cfdd56 Bug 1364374 - don't test flac on Android. r=jwwang
Now we don't support flac on fennec, only need to test it on non-android platforms.

MozReview-Commit-ID: 9Qli9zSlNe9

--HG--
extra : rebase_source : 4cc96bc25d499b27f745b20e5ca8bb961a4632dd
2017-05-12 18:20:08 +08:00
Joel Maher 5e10562ae6 Bug 1360452 - Intermittent dom/media/test/test_background_video_resume_after_end_show_last_frame.html. disable on win/debug. r=kaku
MozReview-Commit-ID: Gtte0SbVEj2
2017-05-09 06:22:49 -04:00
Kaku Kuo d8f3ff3172 Bug 1358057 P2 - add a mochitest; r=jwwang
MozReview-Commit-ID: 4xa1GojEnX0

--HG--
extra : rebase_source : b7585b7cf0ffd0dafede1823f138ac53fa160885
2017-04-25 16:03:47 +08:00
Kaku Kuo 970ad6b36c Bug 1344357 P4 - add a mochitest; r=jwwang
MozReview-Commit-ID: FsqN9S8vdcV

--HG--
extra : rebase_source : b2837752f20e90cd84d6b71f0793e833f5ae8140
2017-04-17 19:25:53 +08:00
Alex Chronopoulos bffcec9307 Bug 1354506: Disable 3 media recorder test on android. r=padenot
MozReview-Commit-ID: 9Jjii3i5a2a

--HG--
extra : rebase_source : 949954295fef156a19a680e532068c28f488fd88
2017-04-10 12:18:33 +03:00
Alex Chronopoulos 8e25f6f497 Bug 1232043 - Update/create mochitests for recorder resolution change. r=pehrsons
MozReview-Commit-ID: IinhX2xFI42
2017-04-07 13:14:19 +03:00
Kaku Kuo 7ab8b4bb1f Bug 1349097 P4 - add a mochitest; r=jwwang
MozReview-Commit-ID: A71wl09i0eq

--HG--
extra : rebase_source : 2ddd0504a94c7bbca2c6a127c23a6764b885ef21
extra : source : 1b8111b8d82a7745c4aaf5dd82512ffecea52cb7
2017-03-24 17:09:41 +08:00
Kaku Kuo 0f173417cb Bug 1349459 part 2 - test element as tainted when CreateImageBitmap() is used; r=jwwang
MozReview-Commit-ID: 6zjugUsA4fZ

--HG--
extra : rebase_source : ee9b3cbcb5fed0641b6d7ec230e1d9a17d3098d4
2017-03-22 15:32:03 +08:00
Kaku Kuo 871c76462e Bug 1349456 part 3 - test element become tainted while captured via MozCaptureStream(); r=jwwang
MozReview-Commit-ID: 4nJHwZjZ2zG

--HG--
extra : rebase_source : 4e43cea30088b3e1f4858ace2a1bbe7f85c540fe
2017-03-22 15:03:19 +08:00
Bob Clary 62d135a45f Bug 1347954 - Disable dom/media/test/test_video_to_canvas.html, r=gbrown. 2017-03-20 09:26:18 -07:00
Kaku Kuo d297b25659 Bug 1346116 part 3 - a test case for not suspend not-in-tree videos; r=jwwang
MozReview-Commit-ID: JooStwaUGcx

--HG--
extra : rebase_source : b3fd43e3f76f047d6af3a1c9ff43386bb2603e78
extra : source : f2eb126ed9eb32b509544469d3a4cdfde1449203
2017-03-12 14:03:04 +08:00
Kaku Kuo 6fd31124b4 Bug 1346120 part 6 - Test drawImage gets a non-single-color image from suspended video; r=jwwang
Once part 4 is applied, a suspend video element won't be rendered anymore, so that the video element keeps the last decoded-frame.
By this way, drawing a suspended video element to a canvas should get something that is not single-color.

MozReview-Commit-ID: J6dsZIvtO

--HG--
extra : rebase_source : 247db68d5fb0f6b24b07c197411e5d423ff02705
extra : intermediate-source : 145a223ab9777edc2bc9f2868eef2cbcd8725171
extra : source : 7e55644b5ba79c7a13211c23cedc5dc77a1e55ff
2017-03-09 17:37:32 +08:00
Kaku Kuo 7dff9a64fb Bug 1345403 part 5 - Test video suspend canceling; r=jwwang
MozReview-Commit-ID: 99IDqpwuRIf

--HG--
extra : rebase_source : 468cb4563d6ed1b5fdb976ecfb68cf9b14b90389
extra : intermediate-source : 67db97814e8acbc68e4dc708d175a3c1013c9257
extra : source : 5f834fb13ceea6b13136c1fbd60d266eee95f3ad
2017-03-08 21:18:13 +08:00
Kaku Kuo 2f5609af1a Bug 1345403 part 3 - Test element becomes tainted by DrawImage; r=jwwang,smaug
MozReview-Commit-ID: 9Txz4FbFtPe

--HG--
extra : rebase_source : eab599fdcbafa2fef60cc9951863727d8cc9c265
extra : intermediate-source : edc821a13b41fdfdae851e5fe2a8784795f248d9
extra : source : f540afdef527d1beb10a29c235f2e3b5637fc814
2017-03-08 20:22:05 +08:00
Iris Hsiao 7f4987cc26 Backed out 6 changesets (bug 1346120) for autophone Mdm tests failure in test_background_video_drawimage_with_suspended_video.html
Backed out changeset a30c73fc8d69 (bug 1346120)
Backed out changeset f16556658fd9 (bug 1346120)
Backed out changeset 98d212462786 (bug 1346120)
Backed out changeset ba579adbed21 (bug 1346120)
Backed out changeset c0758b9bf7b5 (bug 1346120)
Backed out changeset 94a483ef784e (bug 1346120)
2017-03-13 16:53:14 +08:00
Iris Hsiao bdff9504ef Backed out 5 changesets (bug 1345403) for permanent failure in autophone Mdm tests
Backed out changeset f6415ae0ba89 (bug 1345403)
Backed out changeset ac12e246a808 (bug 1345403)
Backed out changeset a3e4ce12194f (bug 1345403)
Backed out changeset ba072186c917 (bug 1345403)
Backed out changeset 7a7d6e9b8329 (bug 1345403)
2017-03-13 15:28:14 +08:00
Kaku Kuo ffe7d25e12 Bug 1346120 part 6 - Test drawImage gets a non-single-color image from suspended video; r=jwwang
Once part 4 is applied, a suspend video element won't be rendered anymore, so that the video element keeps the last decoded-frame.
By this way, drawing a suspended video element to a canvas should get something that is not single-color.

MozReview-Commit-ID: J6dsZIvtO

--HG--
extra : rebase_source : 16207bb1925fc8317ba35d4adbe86c7fba6ee9b2
extra : source : 7e55644b5ba79c7a13211c23cedc5dc77a1e55ff
2017-03-09 17:37:32 +08:00
Kaku Kuo 1b7bf855b4 Bug 1345403 part 5 - Test video suspend canceling; r=jwwang
MozReview-Commit-ID: 99IDqpwuRIf

--HG--
extra : rebase_source : 1e1f945043ff4617a7c2db82e1f8dcf9e2277f6b
extra : source : 5f834fb13ceea6b13136c1fbd60d266eee95f3ad
2017-03-08 21:18:13 +08:00
Kaku Kuo 0759051af2 Bug 1345403 part 3 - Test element becomes tainted by DrawImage; r=jwwang,smaug
MozReview-Commit-ID: 9Txz4FbFtPe

--HG--
extra : rebase_source : 904462698bdcdd89dad05ab1631910ea3b9bf5d2
extra : source : f540afdef527d1beb10a29c235f2e3b5637fc814
2017-03-08 20:22:05 +08:00