Commit Graph

420 Commits

Author SHA1 Message Date
Andreas Pehrson
b38fe36e95 Bug 1210286 - Enable MediaRecorder with Canvas CaptureStream on Android and B2G. r=jolin
--HG--
extra : commitid : HafpaHoj6i
extra : rebase_source : 42c71c05574edd9153d1323088ca1873dbe11a8a
2015-10-12 10:33:58 +08:00
Chris Pearce
041372e702 Bug 1209385 - Reenable EME mochitests on Win Debug. r=me. 2015-10-15 09:48:05 +13:00
Chris Pearce
7f29db1d5a Bug 1214478 - Ensure MediaKeySession.close() does not store its promise twice. r=gerald 2015-10-14 19:42:24 +13:00
Chris Pearce
9475cc85a4 Bug 1211812 - Mochitest for unencrypted gmp decoding. r=jwwang 2015-10-08 20:40:46 +13:00
Andreas Pehrson
7e6023b3b4 Bug 1182426 - Test that we can record CanvasCaptureMediaStreams. r=roc
--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : 111d3b636be9b72d97539d57f5e7dbea22c01d35
2015-10-05 11:51:43 +08:00
Andreas Pehrson
9d893f67a5 Bug 1182426 - Test that changing video resolution of a recorded stream throws an error. r=roc
--HG--
extra : commitid : 9dFV0mv1iSr
extra : rebase_source : c27e9418e76e394e0a35fd7f1dd3c1c14363db03
2015-10-05 11:52:07 +08:00
Chris Pearce
a7e012482a Bug 1207019 - Make EME mochitests specify mime types for video in MediaKeys request videoTypes, ditto for audio. r=gerald 2015-10-05 15:03:58 +13:00
Jean-Yves Avenard
9d5342e6bb Bug 1209410: [mp3] P4. Change duration of mp3 files used by mochitests. r=cpearce
The owl.mp3 file and derivative is made of 128 0.026122s long samples , which gives us an actual duration of 3.343616s. However, when decoding those files, the first two samples are dropped by the CoreAudio and WMF decoder giving us an actual play time of 3.29s.
We have no way to determine the exact duration at the demuxing stage. External readers such as DirectShow or GStreamer would only report the decoded frames time, while the MediaFormatReader report the demuxed time.

There is no right answer here. So setting a duration that will allow all readers to pass the tests.
2015-10-02 18:44:33 +10:00
Bob Owen
6a955b17bc Bug 1254990 - Remove strict content sandbox skip-ifs from tests. r=RyanVM 2016-03-09 16:42:40 +00:00
Carsten "Tomcat" Book
096c3d0073 Backed out changeset 8708392d9af3 (bug 1254992) for landing with wrong bug number 2016-03-10 11:02:44 +01:00
Bob Owen
b422e4c9a2 Bug 1254992: Remove strict content sandbox skip-ifs from tests. r=RyanVM 2016-03-10 08:58:01 +00:00
JW Wang
e7914a68b6 Bug 1159171 - Enable ffmpeg on Linux platforms for media mochitests. r=jya 2015-10-01 19:40:20 +10:00
Jean-Yves Avenard
e071e87392 Bug 1207429: P1. remove media.fragmented-mp4.exposed pref. r=kentuckyfriedtakahe 2015-09-27 15:19:27 +10:00
Maire Reavy
584ac822eb bug 1161276 - part 3 - tests for bitrate property in MediaRecorder r=roc
Android 2.3 and B2G disabled
2015-09-18 14:30:02 -04:00
Wes Kocher
5d45d1a728 Backed out 3 changesets (bug 1161276) for test_mediarecorder_bitrate.html failures CLOSED TREE
Backed out changeset 9187f4d2518f (bug 1161276)
Backed out changeset 4e8f28b17300 (bug 1161276)
Backed out changeset cf05881e89ed (bug 1161276)
2015-09-17 13:06:41 -07:00
Maire Reavy
b6a3c8f458 bug 1161276 - part 3 - tests for bitrate property in MediaRecorder r=roc 2015-09-17 08:21:26 -04:00
Kaustabh Datta Choudhury
2a080acfd0 Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-10 09:52:00 +02:00
Benjamin Chen
313b3a3e26 Bug 1197669 - Part1 - 1.Enable the testcase on B2G. 2. fix the mimetype check in testcase. r=jwwang 2015-08-27 11:23:12 +08:00
Robert O'Callahan
2299b65689 Bug 1200099. Relax test assumptions to accommodate streams not blocking. r=jwwang
--HG--
extra : commitid : CC0exrsItgv
extra : rebase_source : 3ea92854d4312e8b6c9bf4bf6cbbfd4549bb41cf
2015-09-01 10:47:48 +12:00
Robert O'Callahan
8bd21cdeac Bug 1200099. Add a test that captured cross-origin video streams render black. r=jwwang
--HG--
extra : commitid : CJc8Cfzpc6A
extra : rebase_source : 0ac9dc3d55150500092dff47adca5e44c9b3c611
2015-08-31 14:47:44 +12:00
JW Wang
dac9a4cb51 Bug 1179547 - release decoders when tests finish as well as cubeb streams to reduce the number of concurrent cubeb streams and the chance of OpenCubeb() errors. r=kinetik. 2015-09-01 12:02:55 +08:00
Chris Pearce
07c5d8b53b Bug 1176145 - Expose CDM version number in keySystem string. r=edwin 2015-08-31 16:08:51 +12:00
Ryan VanderMeulen
83775e2f4d Bug 1193351 - Disable various failure-prone EME tests on B2G.
--HG--
extra : rebase_source : 18b0e4b0a44d5df7450e1c4a68edb6eab3920f02
2015-08-30 17:52:04 -04:00
Ryan VanderMeulen
46150b51af Bug 1186406 - Skip test_eme_playback.html on Windows due to frequent intermittent failures.
--HG--
extra : rebase_source : 67c6f857ccbccc2096142d26e255a2e496452ea6
2015-08-30 17:47:36 -04:00
JW Wang
54310e7fda Bug 1198565 - prepend the file name to the token so it is easier to know which file times out. r=jya. 2015-08-26 12:48:57 +08:00
Roman Reiss
70689c0fde Bug 875573 - Add video/x-m4v mime type. r=kentuckyfriedtakahe 2015-08-21 20:52:19 +02:00
Benjamin Chen
779c62783b Bug 762774 - Increase the timeout and reduce the testcase loop times. r=jwwang 2015-08-20 18:05:28 +08:00
Ryan VanderMeulen
b5ab909b28 Bug 1187903 - Skip various failure-prone EME tests on Windows debug.
--HG--
extra : rebase_source : 7e801c1e2ca9f5d87efce0e03cd16686f1f77865
2015-08-21 09:41:52 -04:00
Wes Kocher
90a0825d69 Backed out changeset f51c32dbea00 (bug 875573) for test_can_play_type_mpeg.html orange
--HG--
extra : rebase_source : ddc4996ce1579c348cea1b87e05e1c7f938fa918
2015-08-20 16:19:39 -07:00
Roman Reiss
ca5609da1f Bug 875573 - Add video/x-m4v mime type to MP4Decoder r=kentuckyfriedtakahe 2015-08-20 14:14:11 -07:00
Benjamin Chen
6688ccd75f Bug 1071375: Re-enable some MediaRecorder tests. r=jwwang
--HG--
extra : rebase_source : e4dd489afe1be6a1fcb16d04f01bbbe6a19011c0
2015-08-17 17:31:14 +08:00
Benjamin Chen
407a2892d3 Bug 1192733: add new testcase for dormant. r=jwwang
--HG--
extra : rebase_source : 4dcd86e2e06985b39f006a4fe80cb685e6880edb
2015-08-17 10:22:48 +08:00
Jean-Yves Avenard
e959f0b818 Bug 1186556: [eme] Call endOfStream() on mediasource upon completion. a=testonly
There's no guarantee loadeddata will be fired otherwise as some decoders are known to not output frames until a drain is called
2015-08-08 23:48:54 +10:00
Benjamin Chen
30220220b3 Bug 1070110 - Ensure the testcase will receive at least 2 blob. r=jwwang 2015-08-06 15:25:37 +08:00
Ryan VanderMeulen
98a48482f1 Bug 1048624 - Cleanup and refactor the media crashtest manifests and re-enable some disabled tests that now pass. 2015-08-05 08:44:14 -04:00
Benjamin Chen
af73e8302b Bug 1048926 - fix and enable the testcase because the preload action is PRELOAD_NONE on mobile platform. r=jwwang 2015-08-04 16:50:40 +08:00
Jan-Ivar Bruaroey
0ccb51ddc8 Bug 1175523 - Update most (but not all) tests to use elem.srcObject over .mozSrcObject. r=pehrsons
--HG--
extra : rebase_source : bac0027f4bf5d75b8730c44a10141c114002633b
2015-07-14 10:12:31 -04:00
Jean-Yves Avenard
0e79a42d2e Bug 1185611: [MSE] P1. Remove whitelist. r=kinetik
We are now confident enough that MediaSource is usable by all
2015-07-31 20:09:26 +10:00
Brendan Long
8be4518086 Bug 909993 - Add WebIDL for TextTrackCue and fix link in VTTCue.webidl. r=rillian r=bz 2015-07-29 12:41:00 +02:00
Karl Tomlinson
9b788b694b backout 9a8104912ebe for application timeout on B2G ICS emulator. bug 999376 2015-07-29 13:48:57 +12:00
Holger Fuhrmannek ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
2acaa47690 test for bug 999376
--HG--
extra : rebase_source : 9500d51dfb87570eb7b05435c436c65bc00f5a5c
2015-07-28 17:26:17 +12:00
Holger Fuhrmannek ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
1ef4015e39 test for bug 995289
--HG--
extra : rebase_source : c80e5ef38107e2a26a6606f8e86cb4f26db208d1
2015-07-28 08:47:25 +12:00
Wes Kocher
9605f639cb Backed out changeset 3fa834e98383 (bug 909993) for interfaces.html failures CLOSED TREE 2015-07-28 15:28:56 -07:00
Brendan Long
51531f7252 Bug 909993 - Add WebIDL for TextTrackCue and fix link in VTTCue.webidl. r=rillian,bz 2015-07-24 17:11:00 -07:00
Holger Fuhrmannek ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
2aad1beb5d test for bug 1045650
--HG--
extra : rebase_source : f972477172b2c100e6a4506d323c6ae8a290e496
2015-07-27 18:12:04 +12:00
Atte Kettunen ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
86da475e86 test for bug 1041466
--HG--
extra : rebase_source : 0e72d65ce24a25ca3c5935163ebf03cc06deec79
2015-07-27 17:50:30 +12:00
Karl Tomlinson
e040fd3850 test for bug 1020205
--HG--
extra : rebase_source : 607f8ae62490379c9ce02e2c4fa045b8bc2ff139
2015-07-27 17:31:49 +12:00
Holger Fuhrmannek ext:(%20and%20Paul%20Adenot%20%3Cpaul%40paul.cx%3E)
63ad946e5b test for bug 1012609 r=karlt
--HG--
extra : rebase_source : b0ee860f5da05b6af0bcfa797d5b470664775d74
2015-07-27 17:27:19 +12:00
Karl Tomlinson
1d1c742d3b bug 1184801 crashtest for AnalyserNode with channels and small fftSize
--HG--
extra : rebase_source : 6a85e33b768c37df44cc7eb3229fc716b3d11d10
2015-07-21 15:21:38 +12:00
Paul Adenot
0788bfab9c Bug 1185192 - Make promise resolving sequentially consistent when switching graph driver and closing a graph during the same iteration. r=roc 2015-07-24 15:09:21 +02:00
Paul Adenot
b4774f9ee5 Bug 1185176 - Crashtest. r=karlt 2015-07-24 15:09:18 +02:00
Benjamin Chen
176076ffd3 Bug 1064535 - fix testcase: 1. Relax the number of ondataavailble checking. 2. Don't check the mimetype of empty blob. r=jwwang 2015-07-22 18:51:47 +08:00
Jean-Yves Avenard
831b3f9fbd Bug 1185814: Disable EME tests on 10.6. r=cpearce 2015-07-22 14:22:50 +10:00
Chris Pearce
da6b6236ed Bug 1185782 - Remove media.windows-media-foundation.enabled pref. r=jya 2015-07-21 13:29:08 +12:00
Alastor Wu
18c83d0873 Bug 1184055 - Muted by default in b2g. r=baku 2015-07-17 17:25:25 +08:00
Ryan VanderMeulen
acf6cee4ea Merge b2g-inbound to m-c. a=merge 2015-07-16 15:15:42 -04:00
JW Wang
68b22ded5b Bug 1183955 - longer timeouts for timeout-prone tests on B2G. r=cpearce. 2015-07-16 10:09:51 +08:00
Blake Wu
7a3250dba3 Bug 1180621 - Add vp9 test to webm test case on B2G. r=sotaro, a=me
--HG--
extra : rebase_source : dde2f728160f065cb95a06ea9abad460754c5f98
extra : amend_source : 0fa3a71b7197075d1e556d5b9fef4e9fbe8e624f
2015-07-15 22:06:53 +08:00
Paul Adenot
bae21b7ea5 Bug 1181097 - Properly handle the case of resuming an AudioContext with an MSG that is already switching to an AudioCallbackDriver. r=roc 2015-07-13 19:16:53 +02:00
JW Wang
8f4143e80b Bug 1183502 - give androidVersion a correct value in manifest.js. r=sotaro. 2015-07-15 09:56:16 +08:00
JW Wang
f750e996b8 Bug 1164265 - larger timeout on slow platforms. r=cpearce. 2015-07-14 11:54:13 +08:00
JW Wang
5d3768927e Bug 1181456 - check playing event only once since it could take a lot of time. r=cpearce
--HG--
extra : rebase_source : c2a8032d55420b6c90e8628a8c22dad51312104f
2015-07-08 00:04:00 +02:00
JW Wang
fa31d73bc9 Bug 1181051 - Remove BOM from dom/media/test/test*.html. r=kinetik 2015-07-07 01:43:00 -04:00
Robert O'Callahan
478bb5668d Bug 1143575. Reimplement ImageContainer::GetPaintCount to be composition-aware. r=nical
--HG--
extra : commitid : EmOEK6v27UF
extra : rebase_source : 671c06aa942ad87716ab9a998dd55103b1270b66
2015-06-15 14:45:59 +12:00
Benjamin Chen
74bde3543d Bug 1173272 - |getProperty('version')| returns different value on B2G or Android platforms. r=sotaro 2015-06-30 15:47:49 +08:00
Jan-Ivar Bruaroey
e895da16b9 Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup 2015-07-02 18:01:52 -04:00
Chris Pearce
8580f40510 Bug 1179521 - [EME] Replace test_eme_obs_notification.html with test for mediakeys-request notification. r=gerald 2015-07-03 14:29:46 +12:00
Karl Tomlinson
40539242c5 crashtest for bug 1179662
--HG--
extra : rebase_source : f4674490da3ebe088d407879f6933301b1b25129
2015-07-02 15:55:52 +12:00
Brian Birtles
c569ddfd86 Bug 1165203 - Make calls to load() upgrade preload=none to preload=metadata; r=cpearce
--HG--
extra : commitid : H2xIreNh4Pq
extra : histedit_source : 8ff5e2d2e12b21b8e3f04dc5ab81584b6fc929fc
2015-06-17 09:02:51 +09:00
Bobby Holley
c1d821b501 Bug 1163223 - Switch test_buffered to use timeupdate rather than loadedmetadata. r=cpearce
The problem is that we can't compute buffered until we know the start time, but don't
necessarily know the start time by the time we fire loadedmetadata (we just know the
duration). Chris determined that there was nothing in the spec that requires any
particular behavior from .buffered after loadedmetadata, so this should be fine.
2015-06-16 15:08:27 -07:00
Wes Kocher
f45cfb1d2d Backed out 8 changesets (bug 1163223) for getting in the way of me backing out f46a712edf7e
Backed out changeset c1b33c43f0c5 (bug 1163223)
Backed out changeset a7ee6eb45f62 (bug 1163223)
Backed out changeset b2e10f194455 (bug 1163223)
Backed out changeset 9e7651567cad (bug 1163223)
Backed out changeset 20e25e93ed5f (bug 1163223)
Backed out changeset 5193508738f8 (bug 1163223)
Backed out changeset aea6b8d15318 (bug 1163223)
Backed out changeset 7b6804398fc3 (bug 1163223)
2015-06-16 14:47:50 -07:00
Bobby Holley
d19708305c Bug 1163223 - Switch test_buffered to use timeupdate rather than loadedmetadata. r=cpearce
The problem is that we can't compute buffered until we know the start time, but don't
necessarily know the start time by the time we fire loadedmetadata (we just know the
duration). Chris determined that there was nothing in the spec that requires any
particular behavior from .buffered after loadedmetadata, so this should be fine.
2015-06-16 12:59:55 -07:00
Gerald Squelart
c384cc4424 Bug 1138294 - Split eme_stream_blocked test in 3 parts; will deal with overload issue separately. r=edwin
--HG--
rename : dom/media/test/test_eme_stream_capture_blocked.html => dom/media/test/test_eme_stream_capture_blocked_case1.html
rename : dom/media/test/test_eme_stream_capture_blocked.html => dom/media/test/test_eme_stream_capture_blocked_case2.html
rename : dom/media/test/test_eme_stream_capture_blocked.html => dom/media/test/test_eme_stream_capture_blocked_case3.html
extra : rebase_source : 5973d31c7b26566343da2b78375f2b23aae18d74
2015-06-12 10:23:29 -04:00
Gerald Squelart
26147e2dc6 Bug 1138294 - EME Mochitests with MSE stream switches, only switch video tracks, as audio switching is not currently supported. r=edwin
--HG--
extra : rebase_source : 8968ad0e8ec0b99f59ebf5a82a3b433ef0ab7a34
2015-06-12 10:23:18 -04:00
Gerald Squelart
d21594acae Bug 1138294 - EME Mochitests with MSE stream switches, missing headers. r=edwin
--HG--
extra : rebase_source : 1b2b8e553f669d3626e0cd8da61471698375ec94
2015-06-12 10:23:08 -04:00
Gerald Squelart
06b65e16a2 Bug 1138294 - EME Mochitests with MSE stream switches. r=edwin
--HG--
extra : rebase_source : 20f5bb1bb119f6412999a2f148b46f1ae57067cc
2015-06-12 10:22:57 -04:00
Gerald Squelart
a3b7025602 Bug 1138294 - EME Mochitests with MSE stream switches, fix bug 1152151 to avoid unneeded loading. r=edwin
--HG--
extra : rebase_source : 904f79266380d9d46979b55d0db8e61df7c77c75
2015-06-12 10:22:46 -04:00
Jean-Yves Avenard
9a7876feb4 Bug 1168040: Part2. Properly handle MP4 time offset in MoofParser. r=kentuckyfriedtakahe 2015-06-10 19:38:13 +10:00
Bobby Holley
aa6c9ce796 Bug 1160695 - Drop Support for Content-Duration. r=cpearce 2015-06-08 09:22:46 -07:00
Bobby Holley
73b793c991 Bug 1160695 - Fix up test to require the true duration, rather than the fake duration. r=jww,sr=cpearce
From the bug it corresponds to, this test was designed to make sure that we don't
read ogg duration by seeking (which causes network activity) when the server
offers the X-Content-Duration header. However, preserving this behavior requires
the ogg reader to be aware of the presence of network duration when it's reading
metadata, which isn't easily accomplished in our new model here. I think both ogg
and X-Content-Duration are sufficiently unimportant at this point that this is an
acceptable regression.
2015-06-08 09:22:44 -07:00
JW Wang
486a5586c0 Bug 1170081 - Add a tag to run only mochitests that use HTMLMediaElement::MozCaptureStream. r=cpearce. 2015-06-02 17:31:46 +08:00
Benjamin Chen
dbff5c47d3 Bug 1128448 - 1. Close the pref media.encoder.omx.enabled for newer android version. 2. Modify testcase and MR to eusure no timing issue. r=roc
--HG--
extra : rebase_source : fafdef6c6bf2f92b4e441b648a56805e2fa12aed
2015-05-25 17:37:45 +08:00
Jean-Yves Avenard
b6e238cc5e Bug 1168004: Part2. Add sample file. r=bholley
Add MP4 sample file where video starts at 0.8s and audio at 1.95s.

--HG--
rename : dom/media/test/bipbop-cenc-videoinit.mp4^headers^ => dom/media/test/bipbop-lateaudio.mp4^headers^
2015-05-25 19:28:02 +10:00
Paul Adenot
0ab779951a Bug 1127188 - Properly handle AudioContext.close() calls right after the creation of an AudioContext. r=ehsan
When the underlying audio stream platform is slow to start, it can take a little
while for the AudioContext to switch from its initial "suspended" state to
"running".

Authors can call AudioContext.close() right after (new AudioContext()),
that was resulting in a bogus "closed" -> "running" transition, that is now
handled properly by bailing out: the context will simply not report a switch to
"running".
2015-05-20 14:30:48 +02:00
Paul Adenot
78e7f42537 Bug 1166803 - Add an msg tag to mochitest.ini in dom/media/*. r=jesup 2015-05-22 10:57:51 +02:00
JW Wang
f4f888f4dc Bug 1105720 - remove flaky timeouts. r=cpearce. 2015-05-14 10:12:05 +08:00
Paul Adenot
be71cf7c3a Bug 1122218 - Fix off-by-one error when computing oscillator rendering range. r=karlt 2015-05-13 11:02:27 +02:00
Paul Adenot
2a953ecb3a Bug 1160153 - Add debug instrumentation. 2015-05-11 16:56:00 +02:00
Benjamin Chen
a7eca983ce Bug 1157654 - 1. Do not call MediaRecorder.stop immediately after MediaRecorder.start, because we want to receive an onerror callback. 2. Make the NofityError async. r=roc
--HG--
extra : rebase_source : 551ba51fec092c78b19c1ad9cae59b042d729775
2015-04-30 17:13:41 +08:00
Boris Zbarsky
eaa2b4b2c1 Bug 1159755. Stop forcing the media.eme.apiVisible preference to be true in our test harness. r=cpearce 2015-04-30 17:36:50 -04:00
Boris Zbarsky
ecba4cbc0c Bug 1159756. Stop forcing the media.mediasource.enabled preference to true and the media.mediasource.whitelist preference to false in the test harness. r=kinetik 2015-04-30 14:25:03 -04:00
James Willcox
a57b4d80c9 Bug 1153803 - Don't try to test canPlayType() with mp3 and OmxPlugin r=ajones 2015-04-29 10:38:06 -05:00
Paul Adenot
b6f4cfa31a Bug 1157994 - Ensure AudioContext operations are started and resolved in the same order. r=roc 2015-04-29 11:02:57 +02:00
Paul Adenot
afa067ebca Bug 1158427 - r=roc 2015-04-29 11:02:55 +02:00
JW Wang
a938555939 Bug 1159162 - Remove unnecessary testing prefs from media mochitests for they are defined in testing/profiles/prefs_general.js. r=kinetik. 2015-04-29 10:22:15 +08:00
JW Wang
7fcb4f12b5 Bug 752796 - longer timeout on slow platforms. r=cpearce. 2015-04-29 09:55:15 +08:00
Carsten "Tomcat" Book
e5f2272acf Backed out changeset e0b9c334c95a (bug 1138294) for frequent linux m3 test failures on a CLOSED TREE 2015-04-27 17:47:08 +02:00
Carsten "Tomcat" Book
ef8a8c5961 Backed out changeset 3f1afabc2aae (bug 1138294) 2015-04-27 17:46:34 +02:00
Carsten "Tomcat" Book
07caf3862d Backed out changeset 0c505784e8f6 (bug 1138294) 2015-04-27 17:46:29 +02:00
Carsten "Tomcat" Book
ee89ce46c8 Backed out changeset 1c0861d7a645 (bug 1138294) 2015-04-27 17:46:24 +02:00
Gerald Squelart
a89f2f11df Bug 1138294 - EME Mochitests with MSE stream switches, only switch video tracks, as audio switching is not currently supported. r=edwin
--HG--
extra : rebase_source : 70542d57b694850670af5b9c5c084f73dc31998f
2015-04-27 09:53:25 -04:00
Gerald Squelart
296236209d Bug 1138294 - EME Mochitests with MSE stream switches, missing headers. r=edwin
--HG--
extra : rebase_source : a6de4c8217cf9947a7b6d2f76aeb6a9ecd434129
2015-04-27 09:53:11 -04:00
Gerald Squelart
a5713ff08c Bug 1138294 - EME Mochitests with MSE stream switches. r=edwin
--HG--
extra : rebase_source : ab9b312cfd8951e762eaa1e92000879b589dbe98
2015-04-27 09:52:58 -04:00
Gerald Squelart
31419dcd37 Bug 1138294 - EME Mochitests with MSE stream switches, fix bug 1152151 to avoid unneeded loading. r=edwin
--HG--
extra : rebase_source : 8a93f886168d79ee53980f75bc1e194d1bc69019
2015-04-27 09:52:46 -04:00
JW Wang
8a444e6331 Bug 1157582 - enable ffmpeg decoders on Linux in EME mochitests. r=edwin. 2015-04-27 11:41:14 +08:00
JW Wang
b90b61a958 Bug 1091155 - don't check if 'playing' has fired for it depends on how fast decoding is which is not reliable. 2015-04-22 10:26:31 +08:00
Bobby Holley
d02296ec2f Bug 1154802 - Fix racey test_error_in_video_document.html. r=jww
This test assumes that the decoding machinery will have completed its work one
event-loop-round-trip after the document loads (see the executeSoon call), which
is a totally bogus assumption.
2015-04-17 09:26:05 -07:00
Ryan VanderMeulen
7501681b86 Bug 1021174 - Skip test_bug495145.html on OSX 10.6 due to intermittent crashes. 2015-04-15 14:35:58 -04:00
Ryan VanderMeulen
d7aa41835d Bug 847903 - Skip 691096-1.html on OSX 10.6 due to intermittent crashes. 2015-04-15 14:35:58 -04:00
JW Wang
a3cac582e2 Bug 1154564 - Add the ability to notify timeouts to MediaTestManager and remove flaky timeouts from test_playback.html. r=cpearce. 2015-04-15 11:12:57 +08:00
JW Wang
76f357064d Bug 1154559 - Remove flaky timeouts from manifest.js and register SimpleTest.registerCleanupFunction() to report unfinished tests. r=cpearce. 2015-04-15 11:12:46 +08:00
Gerald Squelart
0e79995cec Bug 1152151 - [EME] Some tests keep working after they should have finished, part 2: Only load that each test actually needs - r=edwin 2015-04-15 10:09:25 +10:00
Gerald Squelart
dd2237503f Bug 1152151 - [EME] Some tests keep working after they should have finished - r=edwin 2015-04-15 10:09:25 +10:00
Gerald Squelart
d84062c36d Bug 1142379 - Encrypt audio and video tracks using separate encryption settings - r=edwin
--HG--
rename : dom/media/test/bipbop-frag-cenc.xml => dom/media/test/bipbop-frag-cenc-audio.xml
rename : dom/media/test/bipbop-frag-cenc.xml => dom/media/test/bipbop-frag-cenc-video.xml
2015-04-14 17:53:16 +10:00
Gerald Squelart
cf90fe7bcf Bug 1152153 - [EME] test_eme_persistent_sessions does not handle multi-stream cases - r=edwin 2015-04-14 17:53:11 +10:00
Gerald Squelart
30c9580d1f Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 2: Add missing files - r=edwin 2015-04-14 17:53:01 +10:00
Gerald Squelart
a61f4c8602 Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 1: Update make-headers.sh to add headers for m4s files - r=edwin 2015-04-14 17:52:56 +10:00
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
JW Wang
14e96990fc Bug 1080685 - add more debug aids and longer timeout. r=edwin. 2015-04-14 13:11:23 +08:00
JW Wang
14016d17d6 Bug 1153739 - Make Log() usable outside EME test cases. r=edwin. 2015-04-14 11:27:58 +08:00
JW Wang
9c67641aac Bug 1152645 - Enable EME mochitests on B2G. r=cpearce. 2015-04-13 14:35:41 +08:00
Ryan VanderMeulen
b263712851 Backed out 4 changesets (bug 1152151, bug 1152153, bug 1151693) for test_eme_persistent_sessions.html timeouts on multiple platforms.
Backed out changeset 395ef92d464f (bug 1152153)
Backed out changeset 5b2e38cdb64d (bug 1152151)
Backed out changeset 3a63c4087b9f (bug 1151693)
Backed out changeset 88b5d5b06e02 (bug 1151693)

CLOSED TREE
2015-04-10 00:21:43 -04:00
Gerald Squelart
aa40e32957 Bug 1152153 - [EME] test_eme_persistent_sessions does not handle multi-stream cases - r=edwin 2015-04-09 14:38:25 +10:00
Gerald Squelart
b1da31cf89 Bug 1152151 - [EME] Some tests keep working after they should have finished - r=edwin 2015-04-09 14:38:20 +10:00
Gerald Squelart
080b56ee3c Bug 1151693 - [EME] Tests to verify loaded data, p2: Add timers for fetch and appendBuffer - r=edwin 2015-04-09 14:38:15 +10:00
Gerald Squelart
f5265ee0c1 Bug 1151693 - [EME] Tests to verify loaded data, p1: Check size and checksum of received fragments - r=edwin 2015-04-09 14:38:10 +10:00
JW Wang
e04a40143a Bug 1151740 - pass the callback object as-is to SpecialPowers.exactGC(). r=edwin 2015-04-07 19:09:00 +02:00
Martijn Wargers
355c7b9dce Bug 902686 - Change manifest.js to use SpecialPowers.pushPrefEnv. r=edwin 2014-07-14 12:18:16 +02:00
Carsten "Tomcat" Book
082e20abf5 Backed out changeset a6460ccdc532 (bug 1151665) for linux e-10s m3 test failures in test_eme_persistent_sessions.html
--HG--
extra : rebase_source : 92ef0b6b8e6c81fd4432b9938db86db45d48d5bd
2015-04-07 16:41:50 +02:00
Carsten "Tomcat" Book
cad0d31a23 Backed out changeset b80d9840417a (bug 1151665)
--HG--
extra : rebase_source : 1786cb7207be3a3212371a1199ec8826134a0e25
2015-04-07 16:40:57 +02:00
Gerald Squelart
8b7d2f851c Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 2: Add missing files. r=edwin 2015-04-06 19:33:00 +02:00
Gerald Squelart
d34259a7bc Bug 1151665 - [EME] Add missing ^headers^ files to tests, part 1: Update make-headers.sh to add headers for m4s files. r=edwin 2015-04-06 19:32:00 +02:00
Wes Kocher
0cfba0bdb0 Backed out changeset 2b82a84104ae (bug 1148179) 2015-04-03 13:09:36 -07:00
Gerald Squelart
1e83508718 Bug 1148179 - [EME] Tests to provide keys before track data. r=edwin
--HG--
rename : dom/media/test/test_eme_playback.html => dom/media/test/test_eme_playback_init_then_keys_then_data.html
2015-04-01 21:23:00 -04:00
Peter Van der Beken
42dd041fc8 Bug 1057908 - GeckoMediaPluginService needs to be proxied from Content processes to parent process. Part 6 - enable tests on e10s that were blocked on fixing bug 1057908.
--HG--
extra : rebase_source : b0cfe4b73ea595aef8532e26a1306dc2b9325b71
2015-03-24 00:09:41 +01:00
Gerald Squelart
19543b2301 Bug 1144409 - Test that encrypted events are fired for each initData. r=edwin 2015-03-26 18:58:00 -04:00
Ryan VanderMeulen
5afca0859f Backed out changeset 13c7176938cd (bug 1144409) 2015-03-31 11:16:21 -04:00
Gerald Squelart
b27ea35c32 Bug 1144409 - Test that encrypted events are fired for each initData. r=edwin 2015-03-26 18:58:00 -04:00
Jed Davis
08d1c1ef36 Bug 1149312 - Obtain test coverage for the file-backed case of MediaRecorder. r=roc
--HG--
extra : rebase_source : a32154a1d15308c204848e8b2fb7f0070cc4490f
2015-03-30 17:13:00 +02:00
Geoff Brown
53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Bobby Holley
ec38dc1002 Bug 852821 - Disable test on b2g. r=me 2015-03-25 17:46:25 -07:00
JW Wang
a4f6051da3 Bug 1146733 - remove PlayFragmented() from eme.js r=ediwn. 2015-03-25 09:55:20 +08:00
Wes Kocher
4563c148db Backed out changeset c58f5ffb38e0 (bug 1142379) 2015-03-23 16:06:30 -07:00
Wes Kocher
03bb94525b Backed out changeset f5a026d98faa (bug 1138294) 2015-03-23 16:06:28 -07:00
Gerald Squelart
6ff22dceea Bug 1138294 - EME Mochitests with MSE stream switches. r=edwin 2015-03-23 15:12:19 -04:00
Gerald Squelart
35cad88667 Bug 1142379 - Encrypt audio and video tracks using separate encryption settings. r=edwin
--HG--
rename : dom/media/test/bipbop-frag-cenc.xml => dom/media/test/bipbop-frag-cenc-audio.xml
rename : dom/media/test/bipbop-frag-cenc.xml => dom/media/test/bipbop-frag-cenc-video.xml
2015-03-22 12:41:00 -04:00
Edwin Flores
bee5912b34 Bug 1134434 - Change test_eme_non_fragmented to expect a loadedmetadata' event instead of encrypted' - r=cpearce 2015-03-23 15:31:15 +13:00
Jim Porter
d0a2187ca7 Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir 2014-12-02 16:37:00 -05:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Gerald Squelart
71b9547ba6 Bug 1121774 - Split audio and video tracks in EME MSE tests. r=edwin
--HG--
rename : dom/media/test/gizmo-frag-cenc.xml => dom/media/test/bipbop-frag-cenc.xml
rename : dom/media/test/test_eme_non_fragmented.html => dom/media/test/test_eme_non_mse_fails.html
2015-03-11 20:40:00 -04:00
James Willcox
99105b89d6 Bug 1084441 - Test for ability to play MP4 on Android Jelly Bean and higher r=cpearce 2015-03-11 09:22:55 -05:00
Chris Pearce
e49356bdaf Bug 1131387 - Rename MSE whitelist pref. r=kentuckyfriedtakahe 2015-03-09 16:24:21 +13:00
Chris Pearce
44bf110503 Bug 1140778 - Disable test_eme_obs_notification since it's testing functionality we're going to remove. r=test-only. 2015-03-09 16:24:18 +13:00
Bobby Holley
91d1025f91 Bug 1135170 - Remove garbage test_bug493187.html. rpending=mattwoodrow
This test is fundamentally racey - it loads very short video files (some less
than 1s), plays them, waits for timeupdate events to try to find just the right
moment to seek, performs a seek, and then checks various pieces of
playback-dependent state (while playing).

The specific issue I ran into was that the video would sometimes finish playing
before the 'seeked' event handler fired, which means that readyState is
HAVE_CURRENT_DATA (per spec). I could fiddle with the test a bit to handle this
case, but I think we're doing a disservice to ourselves by having it in the tree.
2015-03-06 19:17:24 -08:00
Bobby Holley
7d849fa87c Bug 1135170 - Fix up racey test_seek-1.html. rpending=mattwoodrow
The use of play() and pause() in the test is hugely problematic for short video
files and slow/laggy platforms. In particular, if playback has ended by
the time that we fire the 'seeked' event listener, then the ensuing play() will
put us back into seeking mode (seeking to 0), making the test fail.
2015-03-06 19:17:10 -08:00
Bobby Holley
e0fd85f315 Bug 1140675 - Disable failing tests on windows opt. r=me 2015-03-06 19:11:51 -08:00
Ryan VanderMeulen
7e5b8669ec Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
b91731de6a Backed out changeset 816591da074c (bug 752796) for disabling the wrong test. 2015-03-05 09:34:32 -05:00
Ryan VanderMeulen
6cae5cc668 Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
89130c33a2 Bug 1096270 - Skip test_streams_gc.html on B2G Desktop. 2015-03-05 09:29:19 -05:00
JW Wang
5974cd1b2b Bug 1113596 - add logs to track media element events. r=edwin 2015-03-04 18:43:00 +01:00
Sotaro Ikeda
10a57c9ce2 Bug 1128357 patch 3: test for video playback with dormant r=cpearce 2015-03-04 17:34:17 -08:00
Anish
4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
JW Wang
abdbbbdbee Bug 901102 - wait until ended events are received on all media elements before comparing end time. r=roc. 2015-03-03 11:09:42 +08:00
Edwin Flores
1937822f83 Bug 1131392 - Remove unused test code after disabling non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
ee5eb077e9 Bug 1131392 - Fix EME tests after disable non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Chris Pearce
2880c3a9b1 Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00
Anthony Jones
28c7d528c1 Bug 1133572 - Use new demuxer for all sample fetches; r=cpearce 2015-02-18 19:13:15 +13:00
JW Wang
b328fd0c59 Bug 1114826 - run test_eme_persistent_sessions.html tests after MediaKeySession.update() to avoid collision with MediaKeySession.load(). r=edwin. 2015-02-08 09:54:37 +08:00
JW Wang
90745eb17f Bug 1130275 - correct promise chaining for EME mochitests. r=edwin. 2015-02-06 19:16:28 +08:00
Joel Maher
97f62104fb Bug 1110982 - Disabled tests for oth chunk and leaks (run-by-dir). r=RyanVM 2014-12-27 00:44:52 +05:30
Alfredo Yang
1a6c2aefad Bug 1128858 - release media element after playing webm in testcases. r=cajbir 2015-02-03 01:05:00 +01:00
Alfredo Yang
44e89e8d9d Bug 1128845 - disable test cases due to webm OMX codec limitation. r=ajones 2015-02-02 23:42:00 +01:00
Phil Ringnalda
34a9ee669a Bug 1123195 - Skip some more crashtests that time out on OS X 10.10 debug 2015-02-03 21:22:18 -08:00
JW Wang
5d20d1e522 Bug 1128389 - rename "keyschange" to "keystatuseschange" per spec change. r=bz. r=cpearce. 2015-02-03 16:53:36 +08:00
Alfredo Yang
1bb068480b Bug 1127759 - use ogv instead of webm due to gonk HW codec limitation. r=roc 2015-02-02 00:34:00 +01:00
JW Wang
ca04c22633 Bug 1105720 - have a larger timeout value for the very slow B2G emulator. r=cpearce
--HG--
extra : rebase_source : e9e8eb7a652f37ed880c23d4403b736a72f85baf
2015-02-02 19:00:00 +01:00
Gijs Kruitbosch
d1ba63acaf Bug 1127416 - add observer service notification for EME video, r=cpearce
--HG--
extra : amend_source : f633a98394075e9cc19044776e10823ad262791b
2015-02-01 15:20:57 +00:00
JW Wang
bcc2cfe8c4 Bug 934053 - log media element events for debugging. r=cpearce 2015-02-01 18:25:00 +01:00
Alfredo Yang
deffdd554c Bug 1127725 - free media element ndoe to release decoder. r=cajbir 2015-01-30 00:00:00 +01:00
JW Wang
3195a43be9 Bug 1121332. Part 5 - update EME mochitests for webidl changes. r=cpearce. 2015-01-31 13:23:19 +13:00
Edwin Flores
e8b8c8effc Bug 1101304 - Test that EME works with CORS - r=cpearce 2015-01-29 20:30:38 +13:00
JW Wang
2e8489acc6 Bug 752796 - log media element events for debugging. r=cpearce 2015-01-26 18:52:00 +01:00
Alfredo Yang
7c6d6851b3 Bug 980622 - Free media element node to release decoder. r=cajbir 2015-01-27 02:27:00 -05:00
Edwin Flores
fabd1cd79e Bug 1124491 - Test HTMLMediaElement.isEncrypted attribute - r=cpearce 2015-01-27 19:10:11 +13:00
Andreas Pehrson
235e576ae5 Bug 992685 - Part 3. Test video element resize event. r=roc 2015-01-19 23:46:00 +01:00
Carsten "Tomcat" Book
026b5422ba Backed out changeset 8aeda1b1d2e4 (bug 992685) 2015-01-20 11:21:22 +01:00
Andreas Pehrson
d8df58cf19 Bug 992685 - Part 3. Test video element resize event. r=roc 2015-01-19 23:46:00 +01:00
Andreas Pehrson
4594b6c676 Bug 1073406 - Part 1. Add mochitest for individual pausing. r=roc 2014-12-16 04:08:00 +01:00
Jean-Yves Avenard
a500c582a9 Bug 1120266 - Add fragmented mp4 sample videos. r=cajbir 2015-01-16 10:57:59 -08:00
Andreas Pehrson
54ac43e9bb Bug 879717 - Part 3 - Test video dimensions set on loadedmetadata
From 7426ccfec0b1bb8b420dddc628361a4833dc52fa Mon Sep 17 00:00:00 2001
 event. r=roc
---
 dom/media/test/manifest.js                |  2 +-
 dom/media/test/mochitest.ini              |  1 +
 dom/media/test/test_video_dimensions.html | 72 +++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+), 1 deletion(-)
 create mode 100644 dom/media/test/test_video_dimensions.html
2014-12-19 01:25:00 +01:00
Andreas Pehrson
9098eab06e Bug 879717 - Part 2. Test that drawing a video element to canvas
From 5be50c1d6131a58d8a06dcaa0dfca8156ef71273 Mon Sep 17 00:00:00 2001
 never throws. r=roc
---
 dom/media/test/mochitest.ini       |   1 +
 dom/media/test/test_bug879717.html | 119 +++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)
 create mode 100644 dom/media/test/test_bug879717.html
2014-10-06 11:22:55 +02:00
Andreas Pehrson
ff9da77c31 Bug 879717 - Part 1. Delay entering HAVE_CURRENT_DATA state until a
From 4c9aef7ec548ee20df2802f5509e457f66c051ef Mon Sep 17 00:00:00 2001
 video frame has been stored in the image container. r=roc
---
 dom/html/HTMLMediaElement.cpp              | 124 +++++++++++++++++++++++------
 dom/html/HTMLMediaElement.h                |   9 +++
 dom/media/test/test_streams_srcObject.html |   2 +
 3 files changed, 112 insertions(+), 23 deletions(-)
2014-10-10 11:34:57 +02:00
JW Wang
13c5337cea Bug 1112588 - ingore 'stalled' events because the progress timer could time out before receiving any HTTP notifications on slow machines like B2G emulator. r=cpearce 2015-01-13 22:40:00 +01:00
JW Wang
fbcd77f84d Bug 1110922 - disable vbr.mp3 to see if it reduces the error of AUDCLNT_E_CPUUSAGE_EXCEEDED. r=padenot 2015-01-11 20:02:00 +01:00
JW Wang
c9cb9579ea Bug 1081251 - register error handlers for all media elements in EME mochitests. r=cpearce 2015-01-09 01:46:00 +01:00
Andrea Marchesini
d6ae21b741 Bug 1018320 - RequestSync API - patch 5 - mozSetMessageHandlerPromise, r=fabrice 2015-01-13 09:53:22 +00:00
Carsten "Tomcat" Book
35248aa586 Backed out changeset d9db938747d2 (bug 879717) for M-3 Test failures/timeouts on a CLOSED TREE 2015-01-13 08:48:01 +01:00
Carsten "Tomcat" Book
c8cfc999b8 Backed out changeset d099c153d94a (bug 879717) 2015-01-13 08:47:37 +01:00
Carsten "Tomcat" Book
8ac737778e Backed out changeset 19432abcb3f1 (bug 879717) 2015-01-13 08:47:35 +01:00