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

838 Коммитов

Автор SHA1 Сообщение Дата
bechen@mozilla.com c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Jean-Yves Avenard 858f178676 Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce
For webrtc, the most important part of the code had already been removed in bug 1355048 and could no longer be called

MozReview-Commit-ID: Fx9XI0zR1gn

--HG--
extra : rebase_source : 360996760abab650684440fbeea258b43dccfd83
2017-10-19 16:51:04 +02:00
Tyson Smith 3b3d19504e Bug 1393272 - Add crashtest. r=me
--HG--
extra : rebase_source : 563170306adaadf247f761fb89c18ae91142c856
2017-10-20 08:36:12 -04:00
Paul Adenot e2b0ed260c Bug 1409391 - Remove raw yuv tests and test vectors. r=cpearce
MozReview-Commit-ID: D8TIw6SKgPz

--HG--
extra : rebase_source : 267b7c2bd102a4e37223b279008761a44294073e
2017-10-18 15:47:09 +02:00
Bob Clary 012a6c1870 Bug 1409365 - disable dom/media/test/crashtests/1180881.html on Android 5.0, r=gbrown 2017-10-18 14:46:15 -07:00
Jesse Ruderman 8a71e39fe1 Bug 497734 - Add crashtests. r=me 2017-10-18 09:43:11 -04:00
Ethan Lin f585fef0f1 Bug 1408296 - Enable some crashtests for webrender. r=kats
MozReview-Commit-ID: 543ZYLhacx8

--HG--
extra : rebase_source : 247ddffeba52e7a7fbe864c2644be66b164ceb24
2017-10-13 11:56:04 +08:00
Ryan VanderMeulen cc54a93021 Bug 1257700 - Add crashtest. r=me 2017-10-12 22:41:13 -04:00
Ryan VanderMeulen 329ca88d38 Bug 1270303 - Add crashtest. r=me
--HG--
extra : rebase_source : 55b93b84fe7d13e56c6670ad79c524a2bfe74a31
2017-10-11 11:52:39 -04:00
Ryan VanderMeulen 7080ccf348 Bug 1197935 - Add crashtest. r=me
--HG--
extra : rebase_source : a863e8aaf72a82436399800a35b4b2f12501779b
2017-10-11 11:52:39 -04:00
Ryan VanderMeulen 9be0c9e6b3 Bug 1180881 - Add crashtest. r=me
--HG--
extra : rebase_source : 7eac4a27703f821b35e96100be172eff4bae166e
2017-10-11 11:52:38 -04:00
Joel Maher 5f7217fd0d Bug 1403307 - Disable dom/media/test/test_mediarecorder_pause_resume_video.html on debug for frequent failures. r=me, a=test-only 2017-10-09 15:44:29 -04:00
Kartikaya Gupta 22bed6311a Bug 1367879 - Skip test that fails frequently with webrender enabled. r=jmaher
MozReview-Commit-ID: IHTDYmwrsBP

--HG--
extra : rebase_source : 17d403f58faf1e7e1939c3a3eb6e6ed82f49032b
2017-10-04 10:33:12 -04:00
JW Wang cf7433d7d9 Bug 1404187 - group timeout messages for MediaTestManager. r=kaku
So different test timeouts from the same test case will fall under the same bug.

MozReview-Commit-ID: LDstAhOpkYK

--HG--
extra : rebase_source : 9f2b52f237f18f3fecdd076295da4d43e5b30219
2017-09-29 11:25:31 +08:00
Andreas Pehrson 78a302848f Bug 1296531 - Let waitForPixel and friends take a cancelPromise. r=jib
MozReview-Commit-ID: 42hT181wkvq

--HG--
extra : rebase_source : 430d7ea6156bddf98893c4b8b3d0db70c3c54831
2017-05-29 16:27:45 +02:00
Andreas Pehrson 7891ee2242 Bug 1296531 - Log error first in test_mr_unsupported_src.html. r=jwwang
MozReview-Commit-ID: 1xDVBCGYYDS

--HG--
extra : rebase_source : b4b269d50b52abeda5a0e6b644d4edaca8ab9422
extra : source : 1bbcd77c822f321b0aa8e8d84fc6ed18a9e648a5
2016-11-22 09:53:44 +01:00
Andreas Pehrson 7373b22eca Bug 1296531 - Add error checks to test_mediarecorder_avoid_recursion.html. r=jib
MozReview-Commit-ID: E4RS2y6GJ5C

--HG--
extra : rebase_source : 207db6bb33ee411ebeda9a7855f58d5ae6c41487
extra : source : 7a6c163cac5b87830ab2b368d711f79bedc2cf50
2016-11-17 10:14:52 +01:00
Andreas Pehrson 510bc537bc Bug 1296531 - Remove deprecated MediaRecorder test. r=jesup,jib
This test stops a stream and checks MediaRecorder events when trying to record it.
However, streams can't be stopped anymore (they go inactive), so there's nothing
left for this test do do.

MozReview-Commit-ID: 3pLlhLzBkNA

--HG--
extra : rebase_source : 7c159fa2be96aa99ca22e0530ee0f79395a00491
extra : source : 038e8eecd3dd50bcc1e50d5e41f8266e3ace0c39
2016-11-17 10:11:56 +01:00
Andreas Pehrson 22efa38de2 Bug 1296531 - Add mochitest for recording a MediaStream with an extra added track. r=jib
MozReview-Commit-ID: 3mVDhCc00fA

--HG--
extra : rebase_source : a6d59f4b566b3d79bbef86c0744f4edfad3a773d
extra : source : f9fc79aa9055e40a2caae4e3b917ae473345a1f6
2017-05-29 16:28:00 +02:00
Alastor Wu 3ec0a4b45b Bug 1398139 - part3 : check current time should be increased correctly in new chained part. r=jya
MozReview-Commit-ID: 3ctF8SAVcs9

--HG--
extra : rebase_source : 5557458d0615bf763cc9a093c0a5dfaefbfc377c
2017-09-15 18:05:18 +08:00
Alastor Wu 7ed84d4e89 Bug 1397141 - part8 : update test for video under 48x48. r=jya
In patch3, we remove the minimum resolution check, now the video under 48x48 can
be playback successfully. Therefore, removing them from error test and we should
ensure they can be playback.

MozReview-Commit-ID: BvLtr4DN1hU

--HG--
extra : rebase_source : 30b9dc35f5754d6ecc7cddaf7f5a9fabf9965889
2017-09-13 15:38:24 +08:00
Sebastian Hengst d7f084f99d Backed out changeset f6f5863e50a8 (bug 1397141) 2017-09-13 09:25:22 +02:00
Alastor Wu d3b21ca470 Bug 1397141 - part8 : update test for video under 48x48. r=jya
In patch3, we remove the minimum resolution check, now the video under 48x48 can
be playback successfully. Therefore, removing them from error test and we should
ensure they can be playback.

MozReview-Commit-ID: BvLtr4DN1hU

--HG--
extra : rebase_source : 36cdd1e18cd41516319989b56e4e83888b0ecf50
2017-09-13 15:06:22 +08:00
James Cheng fd751ffde2 Bug 1398102 - [Part2] Fix test fail due to wrong assumption. r=gerald
MozReview-Commit-ID: 1wRNQ2oIY1w

--HG--
extra : rebase_source : f2822a79a2af2a0a2f2e0db0000f885c550db8d7
2017-09-12 17:28:48 +08:00
Bryce Van Dyk 347e311683 Bug 1378826 - Add test for removal of video tracks during recording. r=jesup
MozReview-Commit-ID: 7IGx27Z2jsN

--HG--
extra : rebase_source : a1f86dc1d73fe125ac72fc05de4af8c192704ad4
2017-08-22 15:28:00 +12:00
Bryce Van Dyk 2dd8bf74ac Bug 1395022 - Add test to check only one start event is fired by MediaRecorder when erroring. r=pehrsons
MozReview-Commit-ID: 1JJY0eQMSDn

--HG--
extra : rebase_source : f97bc71009022279b7e6b5b497c1dbf6fc5931b5
2017-09-04 10:10:32 +12:00
JW Wang a40c88e159 Bug 1348634 - wait for the 'suspend' event to ensure resource cloning work as expected. r=cpearce
MozReview-Commit-ID: BeGGnUfFDcN

--HG--
extra : rebase_source : bd8192f09cd088a430437f34674d579859d0194a
2017-09-04 13:20:05 +08:00
Bryce Van Dyk 521b6759e8 Bug 1388909 - Update tests to reflect updated MediaRecorder error handling. r=pehrsons
The MediaRecorder should now transition to inactive immediately upon an error
being encountered. This contrasts with the previous behaviour where onerror
would be called before performing this transition. This changeset updates
tests to reflect this new behaviour.

MozReview-Commit-ID: 5V2JkoMb0wB

--HG--
extra : rebase_source : cdd61c7fe128089458fd93f18d6b133a52b9b8aa
2017-09-04 07:07:54 +12:00
bechen@mozilla.com 0169d13c5b Bug 1393260 - Reftest for the 55th frame of gizmo.mp4. r=alwu
Since the street.mp4 is a fragment mp4, the duraion is unstable when seeking in the testcase, change the test file to gizmo.mp4.

MozReview-Commit-ID: 8eQ9tfKwxZF

--HG--
extra : rebase_source : a15dfd0994456809241f9dd5a0c44239beda4e16
2017-09-04 11:03:49 +08:00
bechen@mozilla.com 51322d988c Bug 1392196 - Enable tests which tag is "promise-play" on fennec. r=alwu
MozReview-Commit-ID: DoIkwyUrrg5

--HG--
extra : rebase_source : 53fd1d1df0804d50f73f8e6db3d65858cdde6249
2017-08-30 16:43:41 +08:00
Alfredo.Yang 77323453fe Bug 1377278 - test case for 'matroska' doctype webm. r=kinetik
MozReview-Commit-ID: LmQWsFrCeL8

--HG--
extra : rebase_source : e11320207721d0d24d9a685f5da7e6fd65ab80ff
2017-08-30 11:49:35 +08:00
Bryce Van Dyk 38681499ef Bug 1368490 - Add crashtest for media recorder when reducing number of source stream channels. r=jesup
MozReview-Commit-ID: Fi5h2ESokBV

--HG--
extra : source : 6a3f54a2a0f6594f978edb2b2623c0047dbe6d19
extra : amend_source : 8575007fdb0fcb9e8c7b3455144cf7b9765bffbb
2017-05-31 08:58:06 +12:00
Alastor Wu 2cb38665e3 Bug 1382780 - part4 : modify tests. r=cpearce
* test_playback_rate.html
In the patch2, we would honestly return the value of playback rate.

* test_info_leak.html/test_load.html

According to [1], we should only dispatch event "ratechange" when playbackRate or
defaultPlaybackRate attribute has just been updated. In these tests, they didn't
change the playbackRate or defaultPlaybackRate, we should not expect for the
"ratechange" event.

[1] https://html.spec.whatwg.org/multipage/media.html#event-media-ratechange


MozReview-Commit-ID: LjVDNnf4YX4

--HG--
extra : rebase_source : 3b58649212c24ccd5e17a64c3dc7fce8a9600207
2017-08-24 17:41:15 +08:00
bechen@mozilla.com 69fdded22d Bug 1374183 - Add a reftest to verify seeking to 0.466667 of street.mp4 should be the 15th frame. r=alwu
MozReview-Commit-ID: 39UUIkoH38S

--HG--
extra : rebase_source : b82e4bc3c2da305e4eaaa0c4dfb49b8825d2fa0c
2017-08-22 14:12:12 +08:00
Jean-Yves Avenard f22c3a17b9 Bug 1391666 - P4. Remove unecessary code. r=gerald
It isn't possible for the End of Stream algorithm to cause an updateend event to fire. Regardless of the duration being modified.

MozReview-Commit-ID: 5RppbtjkboN

--HG--
extra : rebase_source : 6d30be7758bda59c545324358c82c47e6b0c73b1
2017-08-18 21:48:22 +02:00
Jean-Yves Avenard aefd5c8c8a Bug 1391666 - P1. Mochitest to verify correct behavior. r=gerald
We load 10s of encrypted video, which should trigger readyState being HAVE_ENOUGH_DATA

MozReview-Commit-ID: 4VRLFHSFlDs

--HG--
extra : rebase_source : 919310b00f0ec271a73e149992696bc1eec8cd5f
2017-08-19 12:12:16 +02:00
Bryce Van Dyk ae6127795a Bug 1371166 - Explicitly load videos via video.load to get a cross origin requests to take place. r=jib
Change where load calls are used in media recorder principals test to more
reliably force cross origin requests.

MozReview-Commit-ID: 7La6ZIRmsTQ

--HG--
extra : rebase_source : 58b8049de46ad5800300033dd4ee101e68171c70
2017-08-11 12:32:14 +12:00
Bryce Van Dyk 3d0715f83c Bug 1371166 - Drive by update to update var -> let in test. r=jib
MozReview-Commit-ID: TAP46fR2HP

--HG--
extra : rebase_source : cf18f0e784ddd3bddb80239a55d7aad2dd7548c7
2017-07-21 16:00:23 +12:00
Bryce Van Dyk 33b5a6112c 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 : 8444f135033fbed350266ebfe5faafc245ff5596
2017-07-21 15:59:27 +12:00
Bryce Van Dyk 709f4631a2 Bug 1275856 - Expand MediaRecorder tests to check stack traces when MediaRecorderErrorEvent is fired. r=jib
MozReview-Commit-ID: 6NnaHt24ecz

--HG--
extra : rebase_source : 9c3f7281e0156869ea44eb52997b4a4a67442ec3
2017-08-09 19:55:54 +12:00
Bryce Van Dyk 7914380985 Bug 1275856- Update tests to reflect new MediaRecorderErrorEvent. r=jib
MediaRecorderErrorEvent is now fired in response to async errors in the
MediaRecorder. This event wraps a DOMException and tests need to be updated to
reflect this new behaviour.

MozReview-Commit-ID: JIjIZlJJ8PE

--HG--
extra : rebase_source : b8adde26f5321b5b8a3c8e193c5744d6f3403cf5
2017-07-28 09:04:11 +12:00
Wes Kocher 47df5726ac Backed out 6 changesets (bug 1275856) for failures in test_interfaces.html and test_all_synthetic_events.html a=backout
Backed out changeset d229d269ac55 (bug 1275856)
Backed out changeset 2fb8d23f1ece (bug 1275856)
Backed out changeset 210e8d6d5f85 (bug 1275856)
Backed out changeset 38739c5a3ae8 (bug 1275856)
Backed out changeset 1c8e6dd99100 (bug 1275856)
Backed out changeset 407dc5f8de5b (bug 1275856)

MozReview-Commit-ID: CeTwTrzfY2P
2017-08-10 16:32:12 -07:00
Bryce Van Dyk 2132f1c772 Bug 1275856 - Expand MediaRecorder tests to check stack traces when MediaRecorderErrorEvent is fired. r=jib
MozReview-Commit-ID: 6NnaHt24ecz

--HG--
extra : rebase_source : db836fef72f63ae469f6672362e7418e045f8cb5
2017-08-09 19:55:54 +12:00
Bryce Van Dyk f571e0f7e0 Bug 1275856- Update tests to reflect new MediaRecorderErrorEvent. r=jib
MediaRecorderErrorEvent is now fired in response to async errors in the
MediaRecorder. This event wraps a DOMException and tests need to be updated to
reflect this new behaviour.

MozReview-Commit-ID: JIjIZlJJ8PE

--HG--
extra : rebase_source : f9667b8a1b2a82959624831f3ef5109c19fccbd6
2017-07-28 09:04:11 +12:00
Tim Huang 5e4b2337bc Bug 1369309 - Part 4: Modify the test case 'test_video_stats_resistfingerprinting.html'. r=cpearce, r=arthuredelstein
This patch modifies the test case 'test_video_stats_resistfingerprinting.html'
to check media statistics report spoofed values when fingerprinting resistance
is enabled.

This test will play a video and test the media statistics when the video is finished.
It will make sure all media statistics report correct spoofed values corresponding
to the play time of the video.

MozReview-Commit-ID: GpYewu7cIbY

--HG--
extra : rebase_source : 0eb771c4a9472436f990d53a042656a60bab22f6
2017-07-17 17:30:08 +08:00
Tim Huang f80792ee67 Bug 1369309 - Part 2: Add a test case to check whether media statistics has been spoofed correctly when 'privacy.resistFingerprinting' is true. r=jwwang, r=arthuredelstein
MozReview-Commit-ID: F6jNk58z7bH

--HG--
extra : rebase_source : 749d952286b12db14353b03b254fb74561174e40
2017-06-19 14:43:27 +08:00
James Cheng ad74bc6fbc Bug 1388633 - Relax the duration constrain due to the duration may be changed in runtime. r=alwu
The original duration I wrote is calculated from the m3u8 file this is too accurate without error tolerant.
The state machine will update playback position periodically(UpdatePlaybackPositionPeriodically)
according to the clockTime or max end time from A/Vsink.
So the duration will be variant that I should consider to set the value to a more relaxed value.
MozReview-Commit-ID: GGwkhvzz8sI

--HG--
extra : rebase_source : c0465f7aef7a41e999e8c4c3429957fa56336239
2017-08-10 14:59:25 +08:00
James Cheng edcb5a7dd9 Bug 1388822 - Skip test_playback_hls.html lower than API level 20. r=alwu
MozReview-Commit-ID: 3wzzNr5xNjB

--HG--
extra : rebase_source : 30037d1aabd157d8606976b56c769d91e20b4a3f
2017-08-10 01:39:49 +08:00
Ryan VanderMeulen 6eb7aef00e Merge m-c to autoland. a=merge 2017-08-09 18:51:26 -04:00
Kartikaya Gupta 1912af35f9 Bug 1388726 - Force-enable acceleration in the regular linux reftest suite. r=jmaher,jrmuizel
MozReview-Commit-ID: FNU7hEN3Jkf

--HG--
extra : rebase_source : d8f21f99a3d98904a9b3d4b402226c0c58519b63
2017-08-09 12:48:08 -04:00