Commit Graph

226 Commits

Author SHA1 Message Date
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