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

567 Коммитов

Автор SHA1 Сообщение Дата
JW Wang f682200758 Bug 1198168 - add debugging logs. r=kaku
MozReview-Commit-ID: D35N9bNNOeK

--HG--
extra : rebase_source : 4da554e41c48e52f9f90e3c9d222d4a85130da87
2016-11-01 14:41:09 +08:00
Chris Pearce b691c3f403 Bug 1310879 - Remove EME persistent-license sessions. r=gerald
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: FXj5YORxpas

--HG--
extra : source : b69b2435f1059a5c7b1dd26947ea500b381ec7f0
2016-10-18 15:42:02 +13:00
Chris Pearce 08bdd39606 Bug 1310879 - Check that only supported session types are instantiated. r=gerald
MozReview-Commit-ID: 6XkToIXzZL8

--HG--
extra : source : d1c0a7a2ff25005de82033081bee5eb10adea0c8
2016-10-28 11:43:26 +13:00
Chris Pearce 812726afd0 Bug 1308821 - Ensure ClearKey doesn't parse a keyids initdata format session type parameter. r=kikuo
The specification doesn't require there to be a 'type' member of
the keyids init data format.

MozReview-Commit-ID: 7mOm7KwyyuC

--HG--
extra : source : c9fb674f3cb8dff4fe8734e0426e67825878015d
2016-10-09 20:42:01 -07:00
Chia-hung Tai 489763535c Bug 1311231 - Fix test_mixed_principals.html in XP. r=jwwang
Can not play mp4 on XP. So add the canPlayType checking for the test failure.

MozReview-Commit-ID: KH70XsQkYYF

--HG--
extra : rebase_source : fc08ea1aad6094757dcc7f72662d0d214b4bdeb7
2016-10-19 17:55:18 +08:00
Gerald Squelart 116cef615e Bug 1311877 - VideoPlaybackQuality.totalVideoFrameCount is presented+dropped - r=jya
totalVideoFrameCount was previously incorrectly set to the number of demuxed
frames.
According to the current W3C specs [1], it should instead be the total number of
frames that have been presented, plus frames that have been discarded.

Also added a check that discarded<=total in mochitest.

[1] https://wicg.github.io/media-playback-quality/#concepts

MozReview-Commit-ID: Gnv1roM5n0A

--HG--
extra : rebase_source : 1f018612fbaf43867f5c92e59d62d718a3b08535
2016-10-21 12:01:59 +11:00
Carsten "Tomcat" Book 921f2dc51d Merge mozilla-central to mozilla-inbound
--HG--
extra : amend_source : 754a1f5236bea4ec4fcaac985945aa89f6c29769
2016-10-20 16:50:23 +02:00
Carsten "Tomcat" Book 2e7511ed5a merge mozilla-inbound to mozilla-central a=merge 2016-10-20 16:47:39 +02:00
Chia-hung Tai 6cbbd57bb8 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : 0fa06adf8dcf25e8403f4d82413684a7eb3332e1
2016-10-03 17:48:03 +08:00
Sebastian Hengst 52b641f9be Backed out changeset 2d160c261384 (bug 1310879) for failing browser-chrome test browser/components/contextualidentity/test/browser/browser_eme.js. r=backout 2016-10-19 11:26:08 +02:00
Chris Pearce 3e93e729a6 Bug 1310879 - Remove EME persistent-license sessions. r=kikuo
This removes the ability for ClearKey to instantiate persistent-license
sessions using the EME APIs.

MozReview-Commit-ID: KXyuRNMJKIZ

--HG--
extra : rebase_source : fd5c66f8929dfdb28ceb5cb82a75181a9168ca81
2016-10-18 15:42:02 +13:00
Paul Adenot 29d95603bc Bug 1291702 - Another crashtest. r=karlt
MozReview-Commit-ID: 80f2NGWRZ3V
2016-09-09 13:41:01 +02:00
Paul Adenot 9dafc913f5 Bug 1291702 - Crashtest. r=karlt
MozReview-Commit-ID: GJSulmayocn
2016-09-09 13:41:01 +02:00
JW Wang 2459912478 Bug 1302613 - add elements to the document so we can print debugging info when the test case times out. r=bechen
MozReview-Commit-ID: HQCfodjm99i

--HG--
extra : rebase_source : b2329ee5787ab09eeabde0722e6372c691180157
2016-10-17 18:01:00 +08:00
Ehsan Akhgari d5d66e16c9 Bug 1311214 - Remove b2g OMX encoder/decoder; r=cpearce 2016-10-19 17:44:31 -04:00
Sebastian Hengst 3c1524e5e0 Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP

--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Ehsan Akhgari 9de6bbbaec Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv 2016-10-13 13:18:41 -04:00
Carsten "Tomcat" Book 124ddbc375 Backed out changeset fe84473a739c (bug 567954) for failing mda tests due to own test
--HG--
extra : rebase_source : 2dff4cc1499b5016edb11f208262e57927ecfab7
2016-10-13 11:32:45 +02:00
Andreas Pehrson adb5ba763c Bug 1304950 - Reduce timeslice to avoid races with the source ending. r=jwwang
Media element capture pushes data to MSG ahead of currentTime which together
with the direct listeners that we use in MediaRecorder we end up finishing
the recording in less than the 250ms that this test uses as the recording
timeslice.

Lowering the timeslice here seems to fix this. I'm using 1 here since it's the
minimum valid number.

MozReview-Commit-ID: KAlRoHWHPSV

--HG--
extra : rebase_source : cc2af7829dca734b0411383a6b92dd0691533411
2016-10-12 16:02:56 +02:00
Andreas Pehrson 05686d2182 Bug 1304950 - Defer mozCaptureStream() until after "loadedmetadata". r=jwwang
Starting capture after tracks are known ensures that we can start getting data
immediately as we play() the element. Before there was a risk of missing some
initial data, which caused this intermittent.

MozReview-Commit-ID: FxaiiVtKaKD

--HG--
extra : rebase_source : 15eac09da8757fba81d52c66c22a4439ee956e84
2016-10-11 16:08:37 +02:00
Chia-hung Tai 2da209c936 Bug 567954 - Use onloadeddata to contorl the suspend and resume of MediaResource. r=jwwang.
MozReview-Commit-ID: CSHDXuEf5pD

--HG--
extra : rebase_source : e292d0bffd3ac1b107f5372e7526c59cfecd8220
2016-10-03 17:48:03 +08:00
Bryce Van Dyk 0b2ecfd134 Bug 1309035 - Addresses insufficient fix from Bug 1307016 by converting to unicode before ascii. r=maja_zf
Bug 1307016 attempted to address issues with output not being ascii and thus
being incompatible with terminals on test machines. However my changes in that
bug introduced two issues:
- They introduced a bug where field names were being read from an incorrect
  source.
- They attempted to construct a string internally then converted that string to
  ascii replacing non-ascii chars. This is an issue as in python 2 strings are
  implicitly ascii, so the initial conversion to a string would fail if the
  underlying object couldn't be represented as ascii.

Both of these issues are addressed here. The first by fixing the bad source in
the code, the second by converting to unicode for the intermediate
representation.

MozReview-Commit-ID: HC6Fd9TLRe2

--HG--
extra : rebase_source : bb7493b9074baa0273fb4110465f8bd13477f1d6
2016-10-11 10:02:16 +13:00
Jesse Ruderman 8fceb4880e crashtest for bug 1223670 r=karlt
--HG--
extra : transplant_source : %B3%E7%87%DE%A5%E3%94%20%C9K%10%B9%CA%2B%00%A9%60%28.%CF
2015-12-04 12:42:20 +13:00
Bryce Van Dyk 1d5b357b30 Bug 1307016 - Have puppeteer __str__ encode fields to ascii. r=maja_zf
At least some of the environments the tests are running in do not appear to play
nice with non-ascii characters. Some of the jenkins runs are currently unhappy
due to this. This patch sees that all fields are encoded as ascii with
non-compatible characters replaced.

MozReview-Commit-ID: 6qSCyUujMLE

--HG--
extra : rebase_source : bb19b261b10aeb9bb9a47a2d47fefc7604000430
2016-10-03 11:56:50 +13:00
JW Wang bb286ff881 Bug 1307055. Part 2 - remove unnecessary pref settings and unused functions. r=cpearce
MozReview-Commit-ID: IQHrWAwrMMZ

--HG--
extra : rebase_source : 04e5c65b386270e1231e6720f1635f19c0a58e24
2016-10-03 15:20:31 +08:00
bechen 8d4c4d713c Bug 1304948 - Part 3: Add testcase. r=rillian
MozReview-Commit-ID: DHT8B5ULA1i

--HG--
extra : rebase_source : e880209682d8d16d8f10c5c85f6fe2ca1e503999
2016-09-29 17:46:52 +08:00
Chris Pearce c5076e76b0 Bug 1307019 - Testcase for encrypted MP4 without PSSH and MDSM waiting-for-CDM. r=jya
Tests that a fragmented MP4 file without a PSSH, but with encrypted valid
tracks with valid TENC boxes, is able to load with EME. This is a test for
the code path added in bug 1300069.

We setup MSE before starting up EME, so that we exercise the "waiting for
cdm" step in the MediaDecoderStateMachine, which was regressed in bug 1300069.

MozReview-Commit-ID: BXgdzAikWoH

--HG--
extra : rebase_source : b03910c96c8f61622ce7bc9fb7b53adc209526a4
2016-10-03 16:35:27 +13:00
JW Wang 7f82f1a27f Bug 1307059 - add elements to the DOM tree so we can dump debugging info when the test times out. r=bechen
MozReview-Commit-ID: Dgv3vCeMEBX

--HG--
extra : rebase_source : 2dbe467d78452cadc882a00df46f830e6c477190
2016-10-03 16:01:27 +08:00
Carsten "Tomcat" Book 572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
Andrea Marchesini 7505d76cd1 Bug 1304910 - Adding a test about nsTemporaryFileInputStream and PSendStream, r=jdm
--HG--
rename : dom/media/test/test_mediarecorder_record_canvas_captureStream.html => dom/media/test/test_temporary_file_blob_video_plays.html
2016-09-27 16:39:47 +02:00
Henrik Skupin c19bea65a7 Bug 1305370 - Bump firefox-puppeteer 52.0.0. r=maja_zf
MozReview-Commit-ID: IdVUoenRYMh

--HG--
extra : rebase_source : f0ef6a7125144d012f2c8631b0ea0239c677f702
2016-09-26 15:35:59 +02:00
Iris Hsiao bea139e001 Merge mozilla-central to autoland 2016-09-26 19:14:57 +08:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
JW Wang 7ed352f6b6 Bug 1305336. Part 5 - use manifestVideo() so pref changes can take effect as expected. r=pehrsons
MozReview-Commit-ID: 2YXn4jSfivh

--HG--
extra : rebase_source : af98c0e8291caaae41e1a4e4dcd7b1b3b3b5654a
2016-09-26 11:59:44 +08:00
JW Wang 7d431b82f1 Bug 1305336. Part 4 - create elements dynamically because pref changes only take effect for those elements that are created later. r=pehrsons
MozReview-Commit-ID: IvzSrnVQV5F

--HG--
extra : rebase_source : 2830517544272f47138ebfaa7595c5f3457c0dfe
2016-09-26 11:18:09 +08:00
JW Wang 2911035748 Bug 1305336. Part 3 - set prefs before running tests. r=pehrsons
MozReview-Commit-ID: 4nJ4xsR0kE2

--HG--
extra : rebase_source : 28e87ba11a471404434000c963515128bc259d5a
2016-09-26 10:58:58 +08:00
JW Wang 3c425238ca Bug 1305336. Part 2 - use 'once' handler to remove onPlayingEventFired. r=pehrsons
MozReview-Commit-ID: 9wosr7kOnJx

--HG--
extra : rebase_source : b7211282084d54a242f190daeae3a6754577f0d2
2016-09-26 10:54:27 +08:00
JW Wang 3870ec0b01 Bug 1305336. Part 1 - extract some code to a function. r=pehrsons
MozReview-Commit-ID: Lr4NeNPXIhc

--HG--
extra : rebase_source : 0618d02624607539ad245f17f7768ec05d05929e
2016-09-26 10:48:07 +08:00
bechen f9c8932bf5 Bug 882674 - Implement "pending text track change notification flag". r=rillian
MozReview-Commit-ID: G1L1ECWvNnD

--HG--
extra : rebase_source : da8c88e6d1e3cb49b2c7c03951d1dcd8bf94e0da
2016-09-21 16:01:22 +08:00
Bryce Van Dyk d76674b2e8 Bug 1304961 - Retrieve buffered ranges in VideoPuppeteer. r=maja_zf
Update VideoPuppeteer and make small changes in YoutubePuppeteer to support
retrieval of buffered ranges for wrapped video element. This will help diagnose
test failures, particularly stalls we're having at the moment. Because the
namedtuple storing state has all its fields logged the __str__ methods of the
puppeteers don't need to be updated, the new field will be logged automatically.

MozReview-Commit-ID: LYwXJfB71RE

--HG--
extra : rebase_source : 5d9100e33b030a56330ccaf7459b6e9206142907
2016-09-23 17:52:57 +12:00
Bryce Van Dyk 3b4bc2a136 Bug 1304961 - Rename variables storing played ranges to be more specific. r=maja_zf
The played ranges being retrieved in VideoPuppeteer and YoutubePuppeteer were
often referenced as some variation of 'time ranges'. This patch makes that more
specific and references the played ranges as variations of 'played ranges'. This
removes ambiguity if other time ranges are retrieved in future, such as the
buffered ranges.

MozReview-Commit-ID: CInjDCCIQkV

--HG--
extra : rebase_source : cdf5572b830ecc11b9319e23400746755fa8149c
2016-09-23 17:24:40 +12:00
Carsten "Tomcat" Book ce8c91d458 Merge mozilla-central to mozilla-inbound 2016-09-22 11:56:22 +02:00
Carsten "Tomcat" Book d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
JW Wang 504d6fa09c Bug 1304298. Part 4 - remove the call to waitTil(). r=kamidphish
We want to resume video-decoding as soon as possible so playback is less likely to reach the end before finishing all tests.

MozReview-Commit-ID: 4NrbejT8LgI

--HG--
extra : rebase_source : 5c3151a212a1a797cd3d71cfae5510e494af1041
2016-09-21 15:23:54 +08:00
JW Wang fce9ae316e Bug 1304298. Part 3 - reduce suspend-timeout to 100ms so playback is less likely to reach the end before finishing all tests. r=kamidphish
MozReview-Commit-ID: 2hxC8UGZfPe

--HG--
extra : rebase_source : a763d21c2bde5bfe84ce9195b4229339289d97eb
2016-09-21 15:20:14 +08:00
JW Wang 37be2ffa27 Bug 1304298. Part 2 - remove finished elements from the DOM tree. r=kamidphish
When a test case times out, it will dump debugging info for each media element in the tree.
We would like to remove the ones that pass the test to avoid noise.

MozReview-Commit-ID: HgyvUfpyCqA

--HG--
extra : rebase_source : 4a1187db14c13bdd976179ba3d2b25123c9acb78
2016-09-21 15:17:04 +08:00
JW Wang edcfbf1bee Bug 1304298. Part 1 - log |token| in testDelay() so we have a better idea which file fails the test. r=kamidphish
MozReview-Commit-ID: x1izpH93cQ

--HG--
extra : rebase_source : 9ddaba7aabf1018fc1dd60ecc33f0950dcd33be2
2016-09-21 15:13:05 +08:00
Chris Pearce 39789bfc59 Bug 1304250 - Implement MediaKeySession.onmessage. r=smaug
MozReview-Commit-ID: FDpvsoFwy6C

--HG--
extra : rebase_source : d569107d6c473d24800e2e4c97d6408ac81eb09b
2016-09-21 14:56:20 +12:00
Chris Pearce a509ea65bc Bug 1304249 - Implement MediaKeySession.onkeystatuseschange. r=smaug
MozReview-Commit-ID: 1LnDi1MmXi2

--HG--
extra : rebase_source : e12a4085ad2462f1157ab4ea0552a239cd7499dc
2016-09-21 14:31:15 +12:00