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

838 Коммитов

Автор SHA1 Сообщение Дата
Paul Adenot 53d0c89c38 Bug 1388372 - Fix assert and null check properly to account for the pass-through mode in gUM. r=jesup
MozReview-Commit-ID: 9kFZG0LwKRM

--HG--
extra : rebase_source : 0853efd16f1dd3743c6e07a9fa274ac82daac3d0
extra : source : 56872eb4e342150fddb7ae82b5c7156f07642a51
2017-08-09 14:58:44 +02:00
Sebastian Hengst 65c8f5216a Backed out changeset 56872eb4e342 (bug 1388372) for failing own crashtest, at least on OS X. r=backout 2017-08-09 13:36:01 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Wes Kocher 5a5dbb3b02 Backed out changeset d0c8e848fdd2 (bug 1374183) for frequent reftest failures in street.mp4.seek.html a=backout
MozReview-Commit-ID: 9UqeDP2Eomv

--HG--
extra : rebase_source : 038adc909cf1492b3880e7b206ec8f3eed59c35b
2017-07-31 14:41:49 -07:00
bechen 3951cf16d2 Bug 1374183 - Add a reftest to verify seeking to 0.466667 of street.mp4 should be the 15th frame. r=alwu
MozReview-Commit-ID: GdykZYs7wAq

--HG--
extra : rebase_source : 7fb1a4dd6a0f76748a204c45ace79ece1cb04d7e
2017-07-25 10:41:41 +08:00
JW Wang 3c5c5d8ae0 Bug 1385751 - suppress the annoying warnings of flaky timeouts in media tests. r=gerald
MozReview-Commit-ID: dVGqVaITma

--HG--
extra : rebase_source : 4c388a7e1f75fca9c1a35a00d376bf0473a33cbc
2017-07-31 10:35:47 +08:00
Paul Adenot 7f1c17c634 Bug 1384247 - Check if an HTMLMediaElement can be capture before doing it. r=dminor
MozReview-Commit-ID: EWpf2qA2Yce

--HG--
extra : rebase_source : fd990877481c6f3977e2dc0ec615c0282d30123d
2017-07-27 16:02:28 +02: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
Jean-Yves Avenard bb0627f06b Bug 1383122 - P4. Don't set src attribute to empty string. r=jwwang
MozReview-Commit-ID: EzQCVIIjOIe

--HG--
extra : rebase_source : af21c6749f22ae98cf3d81577eb0476dcca99035
2017-07-24 10:58:03 +02:00
Jean-Yves Avenard 64c70317ce Bug 1383122 - P3. Don't set src attribute to null. r=jwwang
Setting the src attribute to null was incorrect, per spec https://www.w3.org/TR/WebIDL-1/#es-DOMString, if null is passed, this is to be treated as ToString(null), which is "null" (https://tc39.github.io/ecma262/#sec-tostring).
Hence setting src to null will cause a 404 error as it attempts to load "null".

To unload the element, recommended practice is:
Per spec:
https://html.spec.whatwg.org/multipage/media.html#best-practices-for-authors-using-media-elements
"by removing the element's src attribute and any source element descendants, and invoking the element's load() method."

MozReview-Commit-ID: 5Lq13CeDCSZ

--HG--
extra : rebase_source : 806bccb32fa0542ea3be3025a31da97bb331b29c
2017-07-21 19:05:54 +02:00
Jean-Yves Avenard 9b0e4b6c44 Bug 1383122 - P2. Amend mochitest to ensure null is properly converted to "null" string. r=jwwang
MozReview-Commit-ID: 13eeL3siXpy

--HG--
extra : rebase_source : 1cfa108414695ffc69c47d5fa9d494ee94c7b15a
2017-07-21 19:23:05 +02:00
Wes Kocher fcc677950d Backed out 2 changesets (bug 1371166) for Windows 8 permafails in test_mediarecorder_principals.html a=backout
Backed out changeset 955998eefbe8 (bug 1371166)
Backed out changeset 736042ec645d (bug 1371166)

MozReview-Commit-ID: 11duLALJ9PW
2017-07-24 14:50:47 -07:00
Bryce Van Dyk 707c1f194e Bug 1371166 - Drive by update to update var -> let in test. r=jib
MozReview-Commit-ID: TAP46fR2HP

--HG--
extra : rebase_source : 246f4470db492d56260135e5872e4ee165bdbd08
2017-07-21 16:00:23 +12:00
Bryce Van Dyk f1dcd007cd Bug 1371166 - Update media recorder principal test to behave more like MediaElement principal test. r=jib
Update the MediaRecorder principal test to behave more like
test_mixed_principals.html. This involves preloading metadata and using a
longer video to test with. This particular combination currently results in
multiple requests being made for the resource, however this is not a robust
solution in that the behaviour of the MediaCache and associated objects may
change and break this. This fixes the issue for now as best I can tell, but
a follow up gtest or may be a more sensible long term solution.

MozReview-Commit-ID: F9gnnzGt3Cu

--HG--
extra : rebase_source : 73f56e256c21f5a775e0fa2a32606d7f7553bd4e
2017-07-21 15:59:27 +12: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 f039a8f5a1 Bug 1378285 - Modify the generateREF.html to resolve the output limit of console. r=alwu
MozReview-Commit-ID: Aneusk1hYK8

--HG--
extra : rebase_source : 30f47a11f2838eeaa9260695ae02b68c171902c5
2017-07-17 11:35:51 +08:00
bechen 994ca796b2 Bug 1378285 - Last frame reftest for bipbop.mp4 . r=alwu
MozReview-Commit-ID: 2mvJgIIyWIU

--HG--
extra : rebase_source : c6bf738f1c8e0d1718e85656a770f17a05e720df
2017-07-14 18:37:05 +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
Chris Pearce 87ce56017f Bug 1351124 - Factor out ClearKey license generation in EME mochitests. r=jya
Makes it easier to re-use in the test in the next patch.

MozReview-Commit-ID: 56Gbe8KFSgX

--HG--
extra : rebase_source : 3e2aa140dbf4faad015c1c760fc5b18de396d848
2017-07-07 10:49:42 +12:00
Paul Adenot 93e9705362 Bug 1388372 - Fix assert and null check properly to account for the pass-through mode in gUM. r=jesup
MozReview-Commit-ID: 9kFZG0LwKRM
2017-08-08 17:14:57 +02:00
Yoshi Huang c9afcc965e Bug 1377480 - fix mda mochitest failure. r=smaug 2017-07-10 11:45:51 +08: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
Chris Pearce c1a1beca7f Bug 1376509 - Bump supported playack rates to [1/16,16]. r=padenot
Chrome supports playback rates in the ranges of [1/16,16], so we may as well
support the same.

MozReview-Commit-ID: 7mMXQfPiv9d

--HG--
extra : rebase_source : 5dd0b717ad711f49ff3df5156cc07d48c8a694b7
2017-06-28 10:00:58 -07:00
bechen 64a0e9a63e Bug 1373975 - Modify the testcase to meet spec. if a cue.endTime is equal to playbacktime, the cue is not an activeCue. r=rillian
MozReview-Commit-ID: 24sXOtW3n54

--HG--
extra : rebase_source : e9ea01def3c9bdf4485530a1c8616b001e6f2dee
2017-06-23 09:36:20 +08:00
Bryce Van Dyk 73ab403d2f Bug 1372051 - Remove external media test source. r=maja_zf
MozReview-Commit-ID: 1cGOuAusmUx

--HG--
extra : rebase_source : 0aa62bec8d2aca2ea55c26d6cc0efc4ceec5a761
2017-06-12 10:32:15 +12:00
Andreas Tolfsen 955b319e9a Bug 1370863 - Stop using Marionette.log API in external media tests; r=automatedtester,SingingTree
This removes the dependency on the Marionette server-side logging API
from the external media tests.  Instead, we rely on client-side logging
alternatives.

MozReview-Commit-ID: 8kMhMflYh4q

--HG--
extra : rebase_source : 9823e0a39101b2b514cddf42220c3336ba88e411
2017-06-09 14:29:49 +01:00
bechen 23b6b9da11 Bug 1374405 - skip 789075-1 test on Android, seems something wrong with the onloadeddata event. r=alwu
MozReview-Commit-ID: J4g6M5HH1z6

--HG--
extra : rebase_source : 9e1295aad1dc0f63bab489063e61d3e7fc3521a3
2017-06-20 10:13:41 +08:00
bechen 6a5e557c75 Bug 1370838 - Because we need to ensure frame shown on the screen, so play the video to the end. r=jerry,jwwang
MozReview-Commit-ID: 7VPgbaozgSF

--HG--
extra : rebase_source : 8fdb3c8e408dd4f8e0875f15daa7b2ded0d99552
2017-06-19 13:43:10 +08: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
Wes Kocher 8b6a6ce487 Backed out 5 changesets (bug 1370863) for marionette test failures a=backout CLOSED TREE
Backed out changeset e4605e515ffd (bug 1370863)
Backed out changeset 986d20fecd11 (bug 1370863)
Backed out changeset b0a081dfd577 (bug 1370863)
Backed out changeset bb80abe6a298 (bug 1370863)
Backed out changeset 90b14cb85f51 (bug 1370863)

MozReview-Commit-ID: chPvs0RWbK
2017-06-12 17:18:38 -07:00
Andreas Tolfsen 1ebaf83053 Bug 1370863 - Stop using Marionette.log API in external media tests; r=automatedtester,SingingTree
This removes the dependency on the Marionette server-side logging API
from the external media tests.  Instead, we rely on client-side logging
alternatives.

MozReview-Commit-ID: 8kMhMflYh4q

--HG--
extra : rebase_source : 0994bc9549309d7e603a5a9b550c31a7a3332b4a
2017-06-09 14:29:49 +01:00
JerryShih 5d8487e757 Bug 1366502 - Skip dom/media/test/crashtests/789075-1.html for webrender. r=kats
The video size in this case is (9841x705), but the maximun dimension in WR is 8192.
So, skip this test here.

MozReview-Commit-ID: B9Bg7eeKymj
2017-06-07 23:44:06 +08:00
JerryShih 2075e5b4a5 Bug 1366502 - update reftest list. r=sotaro
We use gpu for yuv color conversion now. There are some precision problems in gpu path. Mark them fails-if and update the fuzzy-test value.

MozReview-Commit-ID: 6tunOCj3OHB
2017-06-07 23:44:05 +08:00
Wes Kocher bb1d061819 Merge inbound to central, a=merge CLOSED TREE
UPGRADE_NSS_RELEASE UPGRADE_NSPR_RELEASE

MozReview-Commit-ID: 2CXltQtu4Y1

--HG--
extra : amend_source : 16333c0fa5342dfbbb2a4ded71f94119a022e27b
2017-06-06 17:15:21 -07:00
Ryan VanderMeulen 6cb217315a Backed out 12 changesets (bug 1366502) for causing intermittent QuantumRender debug crashtest crashes on a CLOSED TREE.
Backed out changeset 42350bacb0bc (bug 1366502)
Backed out changeset 7f98b7f60e58 (bug 1366502)
Backed out changeset 265e39153027 (bug 1366502)
Backed out changeset cf598918bb1b (bug 1366502)
Backed out changeset e2f21ee861e5 (bug 1366502)
Backed out changeset f7fcc15d8f90 (bug 1366502)
Backed out changeset 22408b6a1ad1 (bug 1366502)
Backed out changeset 8846dac9ee35 (bug 1366502)
Backed out changeset d5225d81b832 (bug 1366502)
Backed out changeset 82f5a21b53a6 (bug 1366502)
Backed out changeset 2b20aebef47d (bug 1366502)
Backed out changeset 95f4d82e3d79 (bug 1366502)
2017-06-06 18:06:42 -04:00
bechen d6f6f61eed Bug 1298307 - Change the cue's startTime/endTime to avoid the videoframe was not created. r=alwu
Because the nsVideoFrame's creation is not synchronous to "append to dom tree", there is a small gap
that the TextTrackManager wants to render cue but no frame. Change the testcase to not hit the period.

MozReview-Commit-ID: 9xhMjRJnoDR
2017-06-05 17:24:20 +08:00
JerryShih 6c0b9a5735 Bug 1366502 - update reftest list. r=sotaro
We use gpu for yuv color conversion now. There are some precision problems in gpu path. Mark them fails-if and update the fuzzy-test value.

MozReview-Commit-ID: 6tunOCj3OHB
2017-06-06 19:18:40 +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
Jean-Yves Avenard 7310f412e5 Bug 1370192: P1. Remove usage of DirectShowDecoder. r=cpearce
MozReview-Commit-ID: A3IOOIKR187

--HG--
extra : rebase_source : cf5723bebc1a11fe665b54ce7ee02b4e02ecd3c4
2017-06-05 12:59:46 +02: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
Alfredo Yang e6b2ddf4c2 Bug 1364872 - take zero tolerance of decoding error in debug and playback test. r=jya
MozReview-Commit-ID: 9DYBfyIvGvk

--HG--
extra : rebase_source : 81c85e2f271110fe85f94fb687a60820fc37f0fa
2017-05-24 15:25:09 +08:00
Chris Pearce b7b2dab14d Bug 1355252 - Backed out changeset c19d32e2a710. r=backout
MozReview-Commit-ID: 7pTa64IsIq2

--HG--
extra : rebase_source : 27ec010599614d1402e9621149cb953464ec7603
2017-05-30 10:34:13 +12:00
Chris Pearce 1a44af43a6 Bug 1355252 - Backed out changeset ddb3969de046. r=backout
MozReview-Commit-ID: cdH0WSFOaz

--HG--
extra : rebase_source : 3b1eebcf7323cbcc037d1a2e0d92a923f217d811
2017-05-30 10:33:30 +12:00
bechen 97ab63e82a Bug 1361655 - Add new reftest to verify the first and last frame for short.mp4. r=jwwang
Since the ref-sample made by linux, the mac and windows platforms need fuzzy.
And on windows platform, the first frame is different to other platform, skip it first.
Android platform somehow can not load the video src.

MozReview-Commit-ID: A0VbEcNSmck

--HG--
extra : rebase_source : 266f0012d460b8fd6b62ac1d2878dc9aa686f9a8
2017-05-17 16:54:16 +08:00
Andreas Pehrson 2c9b05fc1e Bug 1356212 - Stabilize test_mr_record_changing_video_resolution.html. r=achronop,SingingTree
I noted locally that it could sometimes take this test >1s between draws to the
canvas that gets fed to the MediaRecorder. Perhaps due to GC. When that happens,
the encoder gets fed an extra frame, and so our assumption on nr of frames when
playing back the recording is moot.

With this patch we will seek through all frames until reaching the end of the
recorded media, observing the resize events as it goes.

MozReview-Commit-ID: 2Sy5Cdke688

--HG--
extra : rebase_source : f48137d08e563d31a75f887329e38056c0602527
2017-05-18 15:31:32 +02:00
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