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

735 Коммитов

Автор SHA1 Сообщение Дата
bechen 1ac826c95f Bug 1298307 - Check cue's active state first, then verify displaystate. r=alwu,smaug
MozReview-Commit-ID: 4sqPNY9Czsr

--HG--
extra : rebase_source : e612e00520c839c3460d56618b5f3e30e47bc026
2017-05-18 11:02:25 +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
Chris Pearce 61c23b5287 Bug 1355252 - Reject navigator.requestMediaKeySystemAccess if no MediaCapabilities supplied. r=jwwang
As required by step 15 of EME's Get Supported Configuration and Consent algorithm,
https://www.w3.org/TR/encrypted-media/#get-supported-configuration-and-consent

MozReview-Commit-ID: 8c24VrmygBx

--HG--
extra : rebase_source : cccb8c05cefc06396683317f3827885f6b91ba0e
2017-05-17 17:10:14 +12:00
Chris Pearce 5064845788 Bug 1355252 - Don't assume default codecs for MP4 and WebM in EME MediaCapabilities r=jwwang
Step 10 of EME's "Get Supported Capabilities for Audio/Video Type" algorithm
says we can assume default codecs only if a container normatively implies a
specific set of codec and codec constraints. Our code assumes that WebM implies
Vorbis/VP8 and MP4 implies AAC/H.264, but those aren't actually normatively
required by either of these containers' specifications. So we shouldn't assume
these containers imply those codecs.

MozReview-Commit-ID: G9TDOmrjhpp

--HG--
extra : rebase_source : 2f040d76c8cb240359401fe1dc1e3eefa029d77b
2017-05-11 14:23:33 +12: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
Chun-Min Chang 5061c392f0 Bug 1331763 - part2: Test cases; r=cpearce
MozReview-Commit-ID: 6dXLYq4unxa

--HG--
extra : rebase_source : dc3335935881bfcf5c3f9e70a48a35a7acb6eb72
2017-05-15 13:20:50 +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
Iris Hsiao 541787d3f9 Backed out changeset 763cc804a25d (bug 1361944) for causing crashtest perma failure on Android 2017-05-05 15:12:51 +08:00
JW Wang 0b67e0ea16 Bug 1361944. P1 - add a crash test. r=cpearce
The crash happens when:
1. there are multiple <source> children.
2. decode error happens on the 1st child.

MozReview-Commit-ID: 60UXaQ475Nh

--HG--
extra : rebase_source : b7e61ae909cfa10fb2db3c41b278449de41b9450
2017-05-04 14:23:23 +08:00
Paul Adenot 16a32f974b Bug 1361475 - Remove proprietary constructor on AudioContext. r=baku
This was used only for B2G, was proprietary, and is causing issues, because
`AudioContext` can now have a parameter that is a property bag, per spec
(although we haven't implemented it at the moment).

MozReview-Commit-ID: 6LOlNp0cbfV

--HG--
extra : rebase_source : 48aa342213dba201c1062a08c7453acd16b8baea
2017-05-04 13:43:14 +02:00
Bob Clary 6d0f228a31 Bug 1358876 - Autophone - disable additional perma orange tests on Android 5.1, r=jmaher 2017-05-03 04:13:03 -07: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
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
JW Wang 1915d358a7 Bug 1359725 - add timeout to LoadInitData() in eme.js. r=gerald
So we can cancel the bad test as soon as possible and give a better description about the error.

MozReview-Commit-ID: ExKIK2HqJkN

--HG--
extra : rebase_source : 26391dfea33ab792cc5f0dc58fa42e6309e0c699
extra : source : 138125800895658a6feb88e3f90487d62b955f6a
2017-04-26 16:22:08 +08:00
JW Wang 0af5a6c95e Bug 1358399. P7 - remove unused code. r=gerald
1. The 'onlyLoadFirstFragments' flag is not used anymore.
2. The 'noEndOfStream' flag is never set to true.
3. EMEPromiseAll has no callers.

MozReview-Commit-ID: BH3r5AvMOSN

--HG--
extra : rebase_source : dbe002d18d448d63e5b9e869f194cfbb54a498f8
extra : intermediate-source : d6a8bf58e8e29e726986d0c8e6159231dfe8aac4
extra : source : 5a899425c326ff63365a99e314a728e6a0125a7f
2017-04-22 08:22:11 +08:00
JW Wang c71c3df555 Bug 1358399. P6 - rewrite SetupEME() using the new helper functions and fix its callers. r=gerald
MozReview-Commit-ID: KUXhvPIuXry

--HG--
extra : rebase_source : b067b139dd536fb84bd6b89705efae920fa5b44b
extra : intermediate-source : a36fea44e27326b83af292f23bed7ba48c3d3ab9
extra : source : 3ec2d58a8a10d1eb0f32f16bcb7835762519b4c9
2017-04-21 18:06:31 +08:00
JW Wang 116b20a522 Bug 1358399. P5 - rewrite test_eme_stream_capture_blocked_case1.html using the new helper functions. r=gerald
Note we don't need to pass the 'onlyLoadFirstFragments' flag
since we ensure the test won't finish until LoadTest() is resolved.

MozReview-Commit-ID: 2cFDGhqWkrP

--HG--
extra : rebase_source : 6c647f2238e9a73297c8ec449a965129e9ad47db
extra : intermediate-source : 8562a1de41a9ce008f862611a31c4f1f014e891d
extra : source : 1aaad490dc44b9a33c92e724dedf4d4ca600febb
2017-04-21 17:37:30 +08:00
JW Wang 3aba8d4512 Bug 1358399. P4 - rewrite test_eme_playback.html using the new helper functions. r=gerald
MozReview-Commit-ID: HUQcM7If6IQ

--HG--
extra : rebase_source : 733c419fde0ee8fef58b4d044565ffa0aed6ca8f
extra : intermediate-source : d5bcaa3617b41d6946737556828fc91fd4150b4f
extra : source : 1cd3ca11c04a9d17fb2146ce3a31771da508a499
2017-04-21 17:10:32 +08:00
JW Wang d73ad878ae Bug 1358399. P3 - rewrite test_eme_waitingforkey.html using the new helper functions. r=gerald
MozReview-Commit-ID: 5os3dUhTN5v

--HG--
extra : rebase_source : c9feb41635e669e185068db46025cc3afa89ec93
extra : intermediate-source : 44d35cde9e82fa8c9abe431a6a0ec23ab448655f
extra : source : 1727f52de8446d6cfb2185c8c929a2efcd8e9451
2017-04-21 17:10:13 +08:00
JW Wang 4054b9864b Bug 1358399. P2 - split SetupEME() into small functions which will be useful in next patches. r=gerald
MozReview-Commit-ID: 7IZUYZaSlIr

--HG--
extra : rebase_source : 57a4556b4ce0bb6e5f2fd04b812de4613bd4c31a
extra : intermediate-source : 5a336b709abeeaace6167b52d7d8c67c0c27218b
extra : source : f4e04d207b81793218d231cbec4aa8d4a0101318
2017-04-21 17:05:18 +08:00
JW Wang c351b765ff Bug 1358399. P1 - move "elem.crossOrigin = test.crossOrigin || false" from SetupEME() to LoadTest() to improve cohesion. r=gerald
The attributes are used by MaybeCrossOriginURI() which is called by LoadTest() indirectly.

MozReview-Commit-ID: LH2STpONuCE

--HG--
extra : rebase_source : 5762de80943d30064df0d4a69ebe7d36a12f308b
extra : intermediate-source : 73e455a974c9bc3609b72d3ffbbcbc6f1077f62b
extra : source : 7802185d9bcaec4f7377de94e4876d995a8ab019
2017-04-21 14:29:25 +08:00
Alastor Wu da6126aa49 Bug 1339449 - Re-enable video-replay-after-audio-end.html crashtest. r=jya
MozReview-Commit-ID: Eknt8O0HEfv

--HG--
extra : rebase_source : 83894debf8784cd0db5048d67320c29497324704
2017-04-25 12:38:47 +08:00
Bob Clary e0fcc0bc36 Bug 1358876 - Autophone - disable perma orange tests on Android 5.1, r=jmaher. 2017-04-24 08:02:59 -07:00
Sebastian Hengst 38b7615ab3 Backed out changeset df17c800d8f2 (bug 1358876) for crash test bustage. r=backout
"AndroidVersion is not defined"
2017-04-24 17:35:37 +02:00
Bob Clary 33ee94b632 Bug 1358876 - Autophone - disable perma orange tests on Android 5.1, r=jmaher. 2017-04-24 08:02:59 -07:00
JW Wang bbfc0ddbdc Bug 1358401. P4 - reject the promise with an error string in UpdateSessionFunc(). r=gerald
MozReview-Commit-ID: 2bFb9NBQPxk

--HG--
extra : rebase_source : 63954ce39889fcd9b5eba6a36907c6e88493b870
2017-04-21 15:35:41 +08:00
JW Wang 6ba104e8e5 Bug 1358401. P3 - reject the promise in LoadTest() when AppendTrack() fails. r=gerald
MozReview-Commit-ID: 2TijR5hwyLH

--HG--
extra : rebase_source : 1e162f7544a32d9543c45330d4b48884d96b37c7
extra : intermediate-source : 570e3e387db034bd9bbb782590112ce975338bf0
extra : source : 7fb31935f05579bb3b29640845284c1b32cc7e51
2017-04-19 15:30:32 +08:00
JW Wang 5e8497b518 Bug 1358401. P2 - use the 'once' handler to remove the |firstOpen| check. r=gerald
MozReview-Commit-ID: Ezp0dM1VXco

--HG--
extra : rebase_source : c2057a95ee851f6f6ea56799c5cda4d4f13c48b0
extra : intermediate-source : 1292faea67b556651ee2c4c43ec30eed61f8078f
extra : source : 9d0e54ec0097de7f394095fb61401cfc5ce543b8
2017-04-19 15:19:33 +08:00
JW Wang fb2674118c Bug 1358401. P1 - reject the promise when failing to fetch the buffer. r=gerald
MozReview-Commit-ID: 2ANLUx8JuFe

--HG--
extra : rebase_source : 4b003cc9149ef51987d8f4561acf709e67047ac9
extra : intermediate-source : 0b2640fad8cd7f86f636d0d75699faf381959a12
extra : source : 1dfca1cd8866065ed403d54c01234bd162addec0
2017-04-19 15:16:47 +08:00
Paul Adenot 157420fa1d Bug 1357640 - Fix API usage of pushPrefEnv in test_mediarecorder_record_changing_video_resolution.html. r=achronop
MozReview-Commit-ID: BHU6za3spqJ

--HG--
extra : rebase_source : 3e19295195823056d5e93e187442b7507551ea87
2017-04-19 17:46:04 +02:00
JW Wang ba9f942373 Bug 1340037 - per comment 11, we need to wait for all initData are processed before finishing the test to avoid "Result logged after SimpleTest.finish()". r=gerald
Note this patch doesn't fix the crash in comment 10 which seems to be related to ChromiumCDMParent.

MozReview-Commit-ID: CcCPYJCZ39X

--HG--
extra : rebase_source : 79c73602fcfd4651b7af0085e539853eb5e4a7da
2017-04-19 10:52:23 +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
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Dan Banner cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01: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
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02: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
Karl Tomlinson cb207295b9 crashtest for bug 1274083 r=jesup
This needed some fine tuning to produce the crash, and so is a very specific
test.  It is still of value because this specific situation is not otherwise
tested, and it provides input to fuzzers for potential similar situations.

--HG--
extra : rebase_source : d87ec7d1e483a0a3045f07d7686b2be1b80a2e7f
2017-04-04 16:18:19 +12:00
Wes Kocher da57a3e4df Merge m-c to inbound, a=merge
MozReview-Commit-ID: DimBmdgo95e
2017-04-26 17:35:26 -07:00
Florian Queze 4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Kartikaya Gupta 47c42c47ea Bug 1322816 - Re-enable some skipped reftests now that WebRender handles them. r=rhunt
MozReview-Commit-ID: 1egwR8QAZ2O
2017-03-22 13:56:33 -04: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
JW Wang da0e25d248 Bug 1348634. P1 - add more debugging logs. r=kaku
MozReview-Commit-ID: FB7XKRLNeVw

--HG--
extra : rebase_source : 0cf4ae1ffacc3e774bf552f65b7ea607afc28b17
2017-03-21 14:39:48 +08:00