Commit Graph

1003 Commits

Author SHA1 Message Date
Alastor Wu
d929d261a0 Bug 1519430 - part3 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D16614

--HG--
extra : moz-landing-system : lando
2019-01-18 18:23:44 +00:00
alwu
aab68ffe88 Bug 1442399 - refactor seamless-looping test. r=padenot
To make it output more debug information which is helpful to debug intermittent fail and refactor the test flow.

Differential Revision: https://phabricator.services.mozilla.com/D16924

--HG--
extra : moz-landing-system : lando
2019-01-18 19:23:08 +00:00
Coroiu Cristina
576b2b1b23 Backed out 3 changesets (bug 1519430) for mda failures at test_autoplay_policy_web_audio_notResumePageInvokedSuspendedAudioContext.html
Backed out changeset b7bc38b0f9c5 (bug 1519430)
Backed out changeset 987aa2594ba6 (bug 1519430)
Backed out changeset 521176ad7ae8 (bug 1519430)
2019-01-17 09:45:15 +02:00
Alastor Wu
48f1fe4a35 Bug 1519430 - part3 : add test. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D16614

--HG--
extra : moz-landing-system : lando
2019-01-17 02:58:05 +00:00
Andreas Pehrson
f562a09e08 Bug 1514016 - Make MediaRecorder::Stop idempotent. r=jib
Depends on D14571

Differential Revision: https://phabricator.services.mozilla.com/D15909

--HG--
extra : moz-landing-system : lando
2019-01-14 18:32:55 +00:00
Alastor Wu
0f15935379 Bug 1513733 - part3 : add test. r=baku,karlt
Add test and mochitest-only function in document.

Differential Revision: https://phabricator.services.mozilla.com/D14913

--HG--
extra : moz-landing-system : lando
2019-01-11 18:45:31 +00:00
alwu
b19b9b34f5 Bug 1513039 - part11 : remove pref 'media.autoplay.ask-permission'. r=cpearce
Depends on D14335

Differential Revision: https://phabricator.services.mozilla.com/D14336

--HG--
extra : moz-landing-system : lando
2019-01-07 18:41:58 +00:00
Cosmin Sabou
2cbb9f9248 Bug 1453375 - Disable dom/media/test/test_mediarecorder_principals.html on win10 webrender. r=jmaher 2019-01-07 02:45:28 +02:00
Geoff Brown
3830f1cb12 Bug 1517170 - Skip some https tests on Android; r=bc
These tests have always been skipped silently. Now that https tests are
enabled to actually run, we find that some (all?) actually fail on Android:
now explicitly skipped to allow for green runs of tier 1 suites.
2019-01-02 09:50:37 -07:00
Geoff Brown
35e432a3a8 Bug 1392946 - backout 61eca43af2dffc3ba19cf343210d851c638694d5 since it was not effective 2018-12-31 13:24:26 -07:00
Geoff Brown
fdae0d32eb Bug 1392946 - Skip test_webvtt_positionalign.html on android-hw; r=me,a=test-only
This test started to perma-fail after host-utils were updated.
2018-12-31 11:46:04 -07:00
Andreas Pehrson
7a2e26a568 Bug 1512958 - Add mochitest. r=jya,jib
Differential Revision: https://phabricator.services.mozilla.com/D14583

--HG--
extra : source : 1d4816ef6e013b44000d5c633245ec8effef810d
2018-12-21 16:23:55 +00:00
Coroiu Cristina
0215638358 Backed out 2 changesets (bug 1512958) for frequently failing mda at /dom/media/MediaDecoderStateMachine.cpp a=backout
Backed out changeset 74101900e7d4 (bug 1512958)
Backed out changeset 1d4816ef6e01 (bug 1512958)
2018-12-22 06:14:56 +02:00
Andreas Pehrson
63c1afee2b Bug 1512958 - Add mochitest. r=jya,jib
Differential Revision: https://phabricator.services.mozilla.com/D14583

--HG--
extra : moz-landing-system : lando
2018-12-21 16:23:55 +00:00
Alastor Wu
862fdf36a9 Bug 1511235 - part3 : ensure video is visible before starting test r=jya,baku
Add testing function to know whether video is visible or not.

Differential Revision: https://phabricator.services.mozilla.com/D14667

--HG--
extra : moz-landing-system : lando
2018-12-21 06:40:10 +00:00
Andreas Pehrson
1e5789506e Bug 1515032 - Add mochitest. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D14871

--HG--
extra : moz-landing-system : lando
2018-12-19 15:43:02 +00:00
Jean-Yves Avenard
25657ee569 Bug 1513511 - P2. Ensure all frames are decoded. r=bryce
vp9 streams contains superframes. Ensure they are all properly handled.

Differential Revision: https://phabricator.services.mozilla.com/D14699

--HG--
extra : moz-landing-system : lando
2018-12-17 20:30:46 +00:00
Mark Banner
8c00ef3f30 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-11 13:15:08 +00:00
Ciure Andrei
ed617be144 Backed out 2 changesets (bug 1512052)for causing build bustages CLOSED TREE
Backed out changeset 4773a3f46c22 (bug 1512052)
Backed out changeset 2f48c5afbe57 (bug 1512052)

--HG--
rename : browser/components/attribution/test/xpcshell/.eslintrc.js => browser/components/attribution/test/.eslintrc.js
2018-12-05 05:47:39 +02:00
Mark Banner
8256078237 Bug 1512052 - Add more .eslintrc.js files for test directories. r=mossop
Depends on D13745

Differential Revision: https://phabricator.services.mozilla.com/D13746

--HG--
extra : moz-landing-system : lando
2018-12-04 22:27:35 +00:00
Alex Chronopoulos
6a1e10853e Bug 1493400 - Test av1 video using dav1d has the correct number of frames. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D12637

--HG--
extra : moz-landing-system : lando
2018-11-27 14:19:02 +00:00
Andreas Pehrson
0b4013a03e Bug 1306999 - Change from "playing" to "loadeddata" before assuming there's a video frame. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D12929

--HG--
extra : moz-landing-system : lando
2018-11-26 16:54:13 +00:00
alwu
8d72084878 Bug 1499903 - part2 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D9641

--HG--
extra : moz-landing-system : lando
2018-11-23 05:06:47 +00:00
Bumsik Kim
c3572e1952 Bug 1458538 - Add pause and resume events for MediaRecorder. r=jya,bzbarsky
This resolves the two problems of MediaRecorder:

1. MediaRecorder does not fire pause/resume events when the corresponding methods are called, as mentioned in D7910.
2. The WebIDL for MediaRecorder does not specify onpause/onresume event handler attributes neither.

DispatchSimpleEvent() is used because there are no event attributes needed.

Differential Revision: https://phabricator.services.mozilla.com/D7971

--HG--
extra : moz-landing-system : lando
2018-11-13 12:50:04 +00:00
Jean-Yves Avenard
25ba5304be Bug 1494073 - Always clamp playbackrate when setting decoder. r=padenot
We were clamping the playback rate properly if the decoder had been setup already, but not if setting it before playback started.

Differential Revision: https://phabricator.services.mozilla.com/D11005

--HG--
extra : moz-landing-system : lando
2018-11-07 13:56:25 +00:00
Dorel Luca
0a1112ab71 Backed out 3 changesets (bug 1499903) for frequently asserting at dom/media/MediaDecoderStateMachine.cpp
Backed out changeset 634b4c2dad35 (bug 1499903)
Backed out changeset 1a77eb131a2b (bug 1499903)
Backed out changeset ed4236eceb1a (bug 1499903)
2018-11-07 05:40:07 +02:00
Daniel Varga
3d9ab59490 Merge mozilla-central to autoland. a=merge
--HG--
extra : rebase_source : 423e41eec91a44f6e3862da7972a40e4806d79e8
2018-11-07 00:03:28 +02:00
alwu
2d693090af Bug 1499903 - part2 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D9641

--HG--
extra : moz-landing-system : lando
2018-11-06 21:58:54 +00:00
Andreea Pavel
8b2a2c9419 Merge mozilla-central to mozilla-inbound. on a CLOSED TREE 2018-11-06 19:14:35 +02:00
Bumsik Kim
ca2bc06dff Bug 1496377 - Fix and add test_mediarecorder_state_transition.html in tests. r=jya
This resolves two problems:

1. test_mediarecorder_state_transition.html was not in mochitest.ini.
2. The test set in the file has some wrong test cases, especially after D7910.

To verify the state transition cases is trivial as the state error policy in the W3C spec is very simple:

1. start() can be called only when it is "inactive" state.
2. All other functions, pause(), resume(), stop(), and requestData() must not be called when it's "inactive" state. Otherwise it will be okay, regardless of the order and how many they are called.

Differential Revision: https://phabricator.services.mozilla.com/D8190

--HG--
extra : moz-landing-system : lando
2018-11-05 22:39:05 +00:00
Paul Adenot
71204ef979 Bug 1502927 - Remove MediaStream.currentTime. r=baku,jib
This has never been specced and is unused appart from our tests.

Differential Revision: https://phabricator.services.mozilla.com/D10082

--HG--
extra : rebase_source : c044f11325ec630dcabb673c85531a2283ff6ad4
extra : source : db3c2a88f79cb28440f4e13bcf27c5165c6ee060
2018-10-29 17:38:19 +01:00
Cosmin Sabou
dd34f6cbd5 Backed out changeset db3c2a88f79c (bug 1502927) for mochitest failures on test_reduce_time_precision. 2018-11-05 19:46:42 +02:00
Paul Adenot
6c82d39b64 Bug 1502927 - Remove MediaStream.currentTime. r=baku,jib
This has never been specced and is unused appart from our tests.

Differential Revision: https://phabricator.services.mozilla.com/D10082

--HG--
extra : rebase_source : 4c54d808fb69c0e403ff2e1775b97571889efca4
extra : histedit_source : bc568066b0684bb82b4f553b99f0dd48212aa633
2018-10-29 17:38:19 +01:00
Bob Clary
458fbcf65a Bug 1503636 - Carry forward disabled mochitest-media tests for android-hw, r=jmaher, gbrown. 2018-10-31 19:20:40 -07:00
Bogdan Tara
4119f6ad2e Backed out 3 changesets (bug 1499903) for causing bug 1502637 CLOSED TREE
Backed out changeset 3c7165875616 (bug 1499903)
Backed out changeset 106752b77131 (bug 1499903)
Backed out changeset 3f6d3c425b42 (bug 1499903)
2018-10-29 23:32:50 +02:00
alwu
ecee4c600d Bug 1499903 - part2 : add test. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D9641

--HG--
extra : moz-landing-system : lando
2018-10-26 22:36:18 +00:00
Andreas Pehrson
7561a1fdef Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8064

--HG--
extra : moz-landing-system : lando
2018-10-15 08:17:07 +00:00
Paul Adenot
3f4724fcbb Bug 1487057 - Part 4 - Remove AsyncLatencyLogger and associated code. r=pehrsons
It's not maintained and probably does not work anymore.

Differential Revision: https://phabricator.services.mozilla.com/D5438

--HG--
extra : rebase_source : ccd622e40844dda5d16266e49991462d4ea94224
2018-08-30 17:11:57 +02:00
Chris Peterson
b5ad48a759 Bug 1336712 - dom/media: Remove test checks for Android GB (API Level 15). r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6583

--HG--
extra : source : 8d277a0ad4e4314054b30b644c7b972ff74e7744
extra : histedit_source : 51f5fc31952641c4df66a6a1eb2a958d52997e8c
2018-09-15 00:12:47 -07:00
Chris Peterson
867866d2d3 Bug 1336712 - dom: Drop test checks for OS X 10.5 and Windows XP. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D6578

--HG--
extra : source : 682a1bfda27c8e82aea0d86f256d5dee3ff5c2a0
extra : histedit_source : 2e60b58780900e879177542c5e32a27c805e8f67
2018-09-13 23:30:12 -07:00
alwu
666e27f65b Bug 1476649 - part3 : add test. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D6324

--HG--
extra : moz-landing-system : lando
2018-09-20 22:18:17 +00:00
Thomas Daede
3e8224c602 Bug 1368843: Enable libaom on Android. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D6336

--HG--
extra : moz-landing-system : lando
2018-09-20 08:25:35 +00:00
Jean-Yves Avenard
d5fd103cae Bug 1489102 - P4. Add flac in mp4 plain file test. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5242

--HG--
extra : moz-landing-system : lando
2018-09-07 14:18:15 +00:00
Jean-Yves Avenard
d746aff88d Bug 1489102 - P2. Add mochitests. r=bryce
Depends on D5198

Differential Revision: https://phabricator.services.mozilla.com/D5205

--HG--
extra : moz-landing-system : lando
2018-09-07 18:41:00 +00:00
Thomas Daede
c02103611a Bug 1485875 - Expect Android to not play AV1 in MP4. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D4258

--HG--
extra : moz-landing-system : lando
2018-08-24 21:29:00 +00:00
Thomas Daede
19b1e76253 Bug 1417050: Add AV1 in MP4 tests. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D3845

--HG--
extra : moz-landing-system : lando
2018-08-21 00:06:25 +00:00
alwu
b26e3f253f Bug 1483703 - part3 : modify test. r=cpearce
Differential Revision: https://phabricator.services.mozilla.com/D3672

--HG--
extra : moz-landing-system : lando
2018-08-22 22:52:04 +00:00
Jean-Yves Avenard
0d443a3096 Bug 1482605 - Don't error on Opus channel mapping version 2. r=padenot
We do not perform any channels placement, instead we leave the channels in the order they come in.

Add corresponding tests.

Differential Revision: https://phabricator.services.mozilla.com/D3153
2018-08-14 14:38:42 +02:00
Jean-Yves Avenard
5f024b5f70 Bug 1482841 - P2. Fix opus in mp4 decoding. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D3233
2018-08-14 14:38:42 +02:00
L. David Baron
1e88f0f003 Bug 1369941: Replace single integers N in fuzzy() and fuzzy-if() with 0-N ranges. r=dholbert
This patch was written entirely by the following script:

  #!/bin/bash

  if [ ! -d "./.hg" ]
  then
    echo "Not in a source tree." 1>&2
    exit 1
  fi

  find . -regex '.*\(ref\|crash\)test.*\.list' | while read FILENAME
  do
    echo "Processing ${FILENAME}."
    # The following has four substitutions:
    # * The first one replaces the *first* argument to fuzzy() when it doesn't
    #   have a - in it, by replacing it with an explicit 0-N range.
    # * The second one does the same for the *second* argument to fuzzy().
    # * The third does the same for the *second* argument to fuzzy-if().
    # * The fourth does the same for the *third* argument to fuzzy-if().
    #
    # Note that this is using perl rather than sed because perl doesn't
    # support non-greedy matching, which is needed for the first argument to
    # fuzzy-if.
    perl -pi -e 's/(fuzzy\()([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy\([^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,)([^ ,()-]*)(,[^ ,()]*\))/${1}0-${2}${3}/g;s/(fuzzy-if\([^ ]*?,[^ ,()]*,)([^ ,()-]*)(\))/${1}0-${2}${3}/g' "${FILENAME}"
  done

Differential Revision: https://phabricator.services.mozilla.com/D2974

--HG--
extra : moz-landing-system : lando
2018-08-09 20:10:21 +00:00