Commit Graph

153 Commits

Author SHA1 Message Date
Ms2ger
82c2faeae3 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
bd67602954 Bug 1080685 - add more debug aids and longer timeout. r=edwin. 2015-04-14 13:11:23 +08:00
JW Wang
2e97ca0933 Bug 1153739 - Make Log() usable outside EME test cases. r=edwin. 2015-04-14 11:27:58 +08:00
JW Wang
400a5c337c Bug 1152645 - Enable EME mochitests on B2G. r=cpearce. 2015-04-13 14:35:41 +08:00
Ryan VanderMeulen
f549f8be41 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
ff07ebb18f 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
1a4dea091a Bug 1152151 - [EME] Some tests keep working after they should have finished - r=edwin 2015-04-09 14:38:20 +10:00
Gerald Squelart
cb57166856 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
ebbd86dca1 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
2eae471ab5 Bug 1151740 - pass the callback object as-is to SpecialPowers.exactGC(). r=edwin 2015-04-07 19:09:00 +02:00
Martijn Wargers
60bd3cd7ca Bug 902686 - Change manifest.js to use SpecialPowers.pushPrefEnv. r=edwin 2014-07-14 12:18:16 +02:00
Carsten "Tomcat" Book
40dad0492f Backed out changeset a6460ccdc532 (bug 1151665) for linux e-10s m3 test failures in test_eme_persistent_sessions.html 2015-04-07 16:41:50 +02:00
Carsten "Tomcat" Book
deaf40f23b Backed out changeset b80d9840417a (bug 1151665) 2015-04-07 16:40:57 +02:00
Gerald Squelart
ff33e89e0f 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
8420c756a4 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
e26682edc8 Backed out changeset 2b82a84104ae (bug 1148179) 2015-04-03 13:09:36 -07:00
Gerald Squelart
21aac3aefc Bug 1148179 - [EME] Tests to provide keys before track data. r=edwin 2015-04-01 21:23:00 -04:00
Peter Van der Beken
86fff786af 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. 2015-03-24 00:09:41 +01:00
Gerald Squelart
d74a218f8b Bug 1144409 - Test that encrypted events are fired for each initData. r=edwin 2015-03-26 18:58:00 -04:00
Ryan VanderMeulen
fca0d306ae Backed out changeset 13c7176938cd (bug 1144409) 2015-03-31 11:16:21 -04:00
Gerald Squelart
a310d932fe Bug 1144409 - Test that encrypted events are fired for each initData. r=edwin 2015-03-26 18:58:00 -04:00
Jed Davis
86d09d4535 Bug 1149312 - Obtain test coverage for the file-backed case of MediaRecorder. r=roc 2015-03-30 17:13:00 +02:00
Geoff Brown
cf739e07e8 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Bobby Holley
a383a7d7db Bug 852821 - Disable test on b2g. r=me 2015-03-25 17:46:25 -07:00
JW Wang
77bab63134 Bug 1146733 - remove PlayFragmented() from eme.js r=ediwn. 2015-03-25 09:55:20 +08:00
Wes Kocher
356400af47 Backed out changeset c58f5ffb38e0 (bug 1142379) 2015-03-23 16:06:30 -07:00
Wes Kocher
d31297ac70 Backed out changeset f5a026d98faa (bug 1138294) 2015-03-23 16:06:28 -07:00
Gerald Squelart
1b5ec56fb4 Bug 1138294 - EME Mochitests with MSE stream switches. r=edwin 2015-03-23 15:12:19 -04:00
Gerald Squelart
ed55cb93ff Bug 1142379 - Encrypt audio and video tracks using separate encryption settings. r=edwin 2015-03-22 12:41:00 -04:00
Edwin Flores
6ae01b039b 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
cb2b55eec5 Bug 1039639 - Add support for Flac on Firefox OS. r=cajbir 2014-12-02 16:37:00 -05:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Gerald Squelart
c9deaaa539 Bug 1121774 - Split audio and video tracks in EME MSE tests. r=edwin 2015-03-11 20:40:00 -04:00
James Willcox
720f979499 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
a70bb6fae6 Bug 1131387 - Rename MSE whitelist pref. r=kentuckyfriedtakahe 2015-03-09 16:24:21 +13:00
Chris Pearce
86ff7e77dd 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
c27d915e44 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
2d72677a34 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
8e66b38e57 Bug 1140675 - Disable failing tests on windows opt. r=me 2015-03-06 19:11:51 -08:00
Ryan VanderMeulen
7fe8f52110 Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
bc461e5e9f Backed out changeset 816591da074c (bug 752796) for disabling the wrong test. 2015-03-05 09:34:32 -05:00
Ryan VanderMeulen
f6bc49c327 Bug 752796 - Skip test_streams_element_capture.html on B2G Desktop. 2015-03-05 09:30:37 -05:00
Ryan VanderMeulen
a83ec50948 Bug 1096270 - Skip test_streams_gc.html on B2G Desktop. 2015-03-05 09:29:19 -05:00
JW Wang
e3c78339dd Bug 1113596 - add logs to track media element events. r=edwin 2015-03-04 18:43:00 +01:00
Sotaro Ikeda
a037f548cf Bug 1128357 patch 3: test for video playback with dormant r=cpearce 2015-03-04 17:34:17 -08:00
Anish
b9d3be97ea 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
dcde4e29c1 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
a76a4d52fd Bug 1131392 - Remove unused test code after disabling non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Edwin Flores
cdb7718806 Bug 1131392 - Fix EME tests after disable non-MSE EME - r=cpearce 2015-03-03 11:02:36 +13:00
Chris Pearce
d8e338b4ef Bug 1124031 part 4 - Enforce min CDM version from keySystem string. r=bz 2015-02-20 14:38:08 +13:00