Commit Graph

1085 Commits

Author SHA1 Message Date
Dan Minor
434e9b076a Bug 1409018 - Re-enable test_getUserMedia_basicScreenshare; r=pehrsons
MozReview-Commit-ID: J5yvuOFoMmv

--HG--
extra : rebase_source : 39565f87ae1f73d41157cbc2e1c1f50735b182f4
2018-06-06 13:49:49 -04:00
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Ciure Andrei
05605d68c4 Merge inbound to mozilla-central. a=merge 2018-06-08 00:50:18 +03:00
Andreas Pehrson
c9fedaf3f7 Bug 1282262 - Disable test on android. r=padenot
MozReview-Commit-ID: 5tq1twcl42b

--HG--
extra : rebase_source : 04328c487a297dac1cb1baeaf6a02744b2f065e5
extra : histedit_source : c83a8bb07ebcdb8cddca97eb9e5cac9960fd1b4c
2018-05-30 15:25:06 +02:00
Andreas Pehrson
bd7dee7a25 Bug 1282264 - Disable test on android. r=padenot
MozReview-Commit-ID: BASmW65yidn

--HG--
extra : rebase_source : 518be793db10ffb132124778e4b8e47b4c9b68a7
2018-06-05 14:45:44 +02:00
Byron Campen [:bwc]
5fd5dd9679 Bug 1434983: Make screenshare and windowshare test one-way, to work around limitations on OS X. r=pehrsons
MozReview-Commit-ID: Ldy7Wb3ZSPQ

--HG--
extra : rebase_source : 543c9c107e3f5b44f1744977e494ddd000e07368
2018-05-29 08:35:36 -05:00
Andreas Pehrson
f106fb9d83 Bug 1429507 - Add crashtests. r=jib
MozReview-Commit-ID: GnO6PJYM9Eb

--HG--
extra : rebase_source : 224a9e5dbb70492c39370d6b0abfba0991ce0a82
extra : intermediate-source : 115052e2723e4b0fff347607ec85607afc83ac5c
extra : source : 1f723c13a9754d9be9f0f83d7169a066bcc8c1ef
2018-03-15 15:26:06 +01:00
Jonathan Watt
6a304d9349 Bug 1405083 - Disable test_getUserMedia_basicScreenshare.html for now. r=permafail
This test became permafail after the patch for bug 1270217 landed to update
the default value for MACOS_DEPLOYMENT_TARGET from 10.7 to 10.9.  We need to
update that value since otherwise local builds are broken on Mac, halting all
Mac development.  As the lesser of two evils I'm disabling this test for now.
2018-05-11 16:51:27 +01:00
Andreas Pehrson
9e6a6da509 Bug 1282262 - Reduce number of (slow) gUM requests in test_gUM_mediaStreamClone. r=padenot
MozReview-Commit-ID: 1By46JEdXj6

--HG--
extra : rebase_source : 738ff1be92d618f5a6fe7dab8d3f63749d7b8cb6
2018-05-30 14:45:38 +02:00
Dan Minor
a20dc982b3 Bug 1450658 - Add preference to disable focusing source; r=pehrsons
Focusing a source during a test run can cause Firefox to lose focus and
subsequent tests to timeout. This adds a preference which defaults to true
that allows the source to be focused. It is then set to false for tests that
involve screen sharing.

MozReview-Commit-ID: CNq2c87y8Ho

--HG--
extra : rebase_source : 805e2cbf9c09af419419a64d074e020784185b1d
2018-05-29 16:14:38 -04:00
Kartikaya Gupta
2b15ef4e8e Bug 1405686 - Re-enable some mochitest that are now passing. r=jrmuizel
MozReview-Commit-ID: 5KqPkgRtH70

--HG--
extra : rebase_source : ff211244da8f7f65555a5958f4ca09f9afaed145
2018-05-14 15:30:45 -04:00
Nico Grunbaum
7522ae5acb Bug 1452673 - trackless RTCRtpSender.getStats() returning unfiltered results r=mjf
MozReview-Commit-ID: 7JzZlBUqc0O

--HG--
extra : rebase_source : 6bc54727c6ac024c0d2628fc99751c9c4dc447bf
2018-04-18 00:16:27 -07:00
Andreas Pehrson
60784fe3c7 Bug 1450954 - Test that a screenshare track's getSettings return sane dimensions. r=jib
MozReview-Commit-ID: GDSQLfXBFBU

--HG--
extra : source : 159a7327328f98867447b62e1a4f0fc8148aea3f
extra : histedit_source : 03c8fc1c0d151a0614adc1af64b445cdcff02a2e
2018-04-10 15:04:25 +02:00
Noemi Erli
28e582447f Backed out changeset d0cf37de4a14 (bug 1450954) for failing in dom/media/tests/mochitest/test_getUserMedia_basicScreenshare.html on a CLOSED TREE 2018-04-16 21:48:02 +03:00
Andreas Pehrson
4725f85fd8 Bug 1450954 - Test that a screenshare track's getSettings return sane dimensions. r=jib
MozReview-Commit-ID: GDSQLfXBFBU

--HG--
extra : source : a836af9dc1468a9d4c8f925cb391dd39d8e6e416
extra : histedit_source : 8ff97a3d4a852fc1d4f0bd2eaef04dc0e35247f1
2018-04-10 15:04:25 +02:00
Andreas Pehrson
c14f3bbe02 Bug 1447982 - Add mochitest for audio constraints. r=jib
MozReview-Commit-ID: DGlvTW6EXAO

--HG--
extra : rebase_source : b89a40f34998091b0a42304c3237f900e15cde7e
2018-04-11 16:05:49 +02:00
Dan Minor
82684c47c4 Bug 1453030 - Add crashtest; r=bwc
MozReview-Commit-ID: 2p3VwoOTICx

--HG--
extra : rebase_source : fd5cbfc8eb607c274875df60f484a66e126db081
2018-04-10 13:36:43 -04:00
Byron Campen [:bwc]
aa7de1ce53 Bug 1449272 - Part 1: Update test-case to expect the audio transceiver first when using both offerToReceiveAudio and offerToReceiveVideo. r=jib
MozReview-Commit-ID: FXvNRVIMdQN

--HG--
extra : rebase_source : 88c16c0d32bc8d0008ac92a138930d5ac8d836bc
2018-03-27 13:35:16 -05:00
Andreea Pavel
f4081d2372 Backed out changeset e2949379e13e (bug 1451759) for linux debug failures at dom/media/tests/mochitest/test_peerConnection_addAudioTrackToExistingVideoStream.html on a CLOSED TREE
Enter commit message.  Lines beginning with 'HG:' are removed.
2018-04-11 12:38:00 +03:00
Alex Chronopoulos
0286edbecd Bug 1451759 - Default fake device on media mochitests for Linux debug builds to avoid errors of loopback device. r=jib
MozReview-Commit-ID: GB2n54P4zP5

--HG--
extra : rebase_source : 34fce9df5e207cbdb08cef02cbf494ff7f07b2a5
2018-04-10 17:15:58 +03:00
Andreea Pavel
7a4b9a3f56 Merge mozilla-inbound to mozilla-central. a=merge
--HG--
extra : rebase_source : 66bd87105d99036ada5008499ff0eaea579b531a
2018-04-06 13:20:21 +03:00
Dan Minor
edc3382dd2 Bug 1432793 - Add mochitest for odd simulcast resolutions; r=bwc
This creates a simulcast stream with an odd resolution. This previously would
have caused a runtime assertion failure and crash.

MozReview-Commit-ID: IsywVOu6UeV

--HG--
extra : rebase_source : 7ad1cbe7dd36ccdd7a05e0c0a83db98a36c8c416
2018-04-04 09:24:28 -04:00
Nils Ohlmeier [:drno]
48edb741ab Bug 1446880: updated IDP interface to use RTCIdentityProviderOptions. r=mt
MozReview-Commit-ID: 2xwDYR2kk27

--HG--
extra : rebase_source : 043a2217af0735ad0a5d0d72398e7771fd055105
2018-03-20 11:15:10 +00:00
Nils Ohlmeier [:drno]
641209cf77 Bug 1446880: update setIdentityProvider() to take RTCIdentityProviderOptions. r=mt
MozReview-Commit-ID: Hx3LV9Uw7fi

--HG--
extra : rebase_source : b597b7fe0daff9b6fead92b3cc9c2da3e45a671c
2018-03-19 06:16:20 +00:00
Brindusan Cristian
88cd740311 Backed out 3 changesets (bug 1446880) for mochitest failures on test_exceptions_from_jsimplemented.htm CLOSED TREE
Backed out changeset 3d162d7e2721 (bug 1446880)
Backed out changeset 7142d472f2a4 (bug 1446880)
Backed out changeset 50c255c237f1 (bug 1446880)
2018-04-04 20:48:59 +03:00
Nils Ohlmeier [:drno]
f3ad51380e Bug 1446880: updated IDP interface to use RTCIdentityProviderOptions. r=mt
MozReview-Commit-ID: 2xwDYR2kk27

--HG--
extra : rebase_source : c25e6ae78af97bf974079a58795a8f11ceb10912
2018-03-20 11:15:10 +00:00
Nils Ohlmeier [:drno]
5051a0eb24 Bug 1446880: update setIdentityProvider() to take RTCIdentityProviderOptions. r=mt
MozReview-Commit-ID: Hx3LV9Uw7fi

--HG--
extra : rebase_source : 0ecc2d1e17409f7cb4379be9efb6675aa1eb92f2
2018-03-19 06:16:20 +00:00
Alex Chronopoulos
74a3a94cbd Bug 1387454 - Create preference to enable setting of sample rate in AudioContext. r=padenot
MozReview-Commit-ID: IyFkx8ooLLL

--HG--
extra : rebase_source : f298691c1b9f5f141520fe1ce978ff1ae9dd11a3
2018-04-05 19:26:20 +03:00
Alex Chronopoulos
95ac515bcf Bug 1387454 - Mochitests for interaction of non default rate with WebRTC. r=padenot
MozReview-Commit-ID: HIFLz7UTcLq

--HG--
extra : rebase_source : 73134e3839992d0baa7d284d4d687179fb820551
2018-04-03 20:02:15 +03:00
Nils Ohlmeier [:drno]
2058100636 Bug 1394602: don't allow SSRC changes with Bundle. r=bwc
MozReview-Commit-ID: Kgb0lghAY7r

--HG--
extra : rebase_source : 26d44970231736c5cfefef4dcfc3b5afcb8b24ba
2017-12-01 15:54:57 -08:00
Bryce Van Dyk
6426b6d6e7 Bug 1443525 - Add mochitests to test gUM when a cubeb context cannot be obtained. r=padenot
Add two mochitests to provide coverage for getUserMedia when getting a cubeb
context fails.
- The first test checks that gUM fails with no audio devices returned. In normal
  circumstances, without cubeb we do not expect devices to be available. Android
  is a notable exception here, due to it having a number of different code paths
  during enumaration, and the test attempts to accomodate this.
- The second test checks that if fake streams are enabled, gUM will still return
  a stream and that this stream can be used.

MozReview-Commit-ID: Fn6rGi6W9hM

--HG--
extra : rebase_source : b22ccc11cb034242f1a8807cfcae05f5ac2daa05
2018-03-20 16:46:33 -04:00
Bryce Van Dyk
e9495a620d Bug 1436523 - Update head.js to better handle pref changes for fake/loopback devices during tests. r=achronop
Update head.js so that calls to the gUM helper will check the loopback and fake
device prefs and update the frequency output by test devices accordingly. This
should hopefully avoid issues where tests could change prefs, and the output
tone would no longer be correct for the new configuration.

No longer have audioDevice and videoDevice as globals, this way tests
explicitly fetch direct from prefs.

MozReview-Commit-ID: 9jhVScaBfTX

--HG--
extra : rebase_source : 64b17e44ef166983361f94cf7d287faed3c2cdc5
2018-03-21 15:23:37 -04:00
Bryce Van Dyk
551cc6f34b Bug 1436523 - Make WebRTC mochitest harness more granular with fake device setup. r=achronop
Update head.js so that logic for fake audio and fake video is more granular.
Now code handles fake audio and fake video separately, and will set the fake
pref is either is needed. This allows for a single loopback device to be set
and fake used for the other. Previously both devices needed to be loopback or
fakes would be used.

MozReview-Commit-ID: K4blmPrSVeh

--HG--
extra : rebase_source : 369ea7f788d29a02db68e517d324977f251c9a98
2018-03-05 14:46:03 -05:00
Bryce Van Dyk
da98dea96a Bug 1436523 - Update dom/media/tests/mochitest tests to better handle loopback devices. r=achronop
With changes giving loopback devices higher precedence in testing, various tests
in dom/media/tests/mochitest have been updated to accommodate this. Many tests
just worked, but some require tweaks, or to explicitly request fake devices.

Also update webaudio's test_mediaStreamAudioSourceNodeGC test to explicitly use
fake devices. This test does not have the loopback tone exposed to it in JS, so
is unabel to adjust the loopback tone to suit its needs.

Various tests are updated to set fake device prefs instead of requesting via
gUM to move away from non-standard behaviour per bug 1436424.

MozReview-Commit-ID: 5GAVZFzF2hq

--HG--
extra : rebase_source : 27f39e3573eda321025ce0739e1d5f4101fc5d12
2018-02-26 12:20:40 -05:00
Byron Campen [:bwc]
1f0d6d8a26 Bug 1447015: Re-enable test_peerConnection_transceivers on linux debug. r=jib
MozReview-Commit-ID: HNxZl9Avwhk

--HG--
extra : rebase_source : d97ff16136a8b7185135157df72d58dcf6da6db3
2018-03-19 10:07:45 -05:00
Paul Adenot
598ec91d70 Bug 1437366 - Disable the test on Android, all the others are, there are now ways this one can pass. r=pehrsons
MozReview-Commit-ID: 4aefhOoJ8sv

--HG--
extra : rebase_source : d0124ae9a3b6004b38036969a1c9ce79f5c2d978
2018-03-15 14:41:54 +01:00
Paul Adenot
18a3b28518 Bug 1437366 - Lower the sample rate so that the test don't underrun on Windows on try. r=pehrsons
MozReview-Commit-ID: JCCh4k6pifE

--HG--
extra : rebase_source : 5d7a87cfa8b074a2100f666decb2e604a1e05587
2018-03-15 14:39:57 +01:00
Paul Adenot
885ea0a27a Bug 1437366 - Test that sending and receiving audio when using a graph with a sample-rate that is not supported by the MediaPipeline code works. r=pehrsons
MozReview-Commit-ID: 4c5zgkYCX2T

--HG--
extra : rebase_source : 0541e36e980572e08426a715d56b7e2d7c2d152c
2018-03-05 14:53:09 +01:00
Paul Adenot
43aa0c346f Bug 1437366 - Add a way to force the sample-rate used for a MediaStreamGraph. r=pehrsons
MozReview-Commit-ID: 4ICQiNKbUpJ

--HG--
extra : rebase_source : 686278509673cdd3b2705a5b20217ede075a8996
2018-03-02 19:27:57 +01:00
Nils Ohlmeier [:drno]
e2747ff63c Bug 1406529: added mochitest for extmap verification r=ng
MozReview-Commit-ID: QVn5MI0XdH

--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoVerifyExtmap.html
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoVerifyExtmapSendonly.html
extra : rebase_source : 866f93d306db933d988ea8ca476a625c9b3952d5
2018-03-05 22:07:05 -08:00
Arthur Iakab
beb7d9aca5 Bug 1432025, disabling test_peerConnection_transceivers.html on Linux debug platform r=jmaher
--HG--
extra : rebase_source : bb870c0c3a4b0d0cdfbfc7aebc953b85d9d64322
2018-03-14 06:46:00 +02:00
Narcis Beleuzu
e73ecbc91f Backed out 4 changesets (bug 1437366) for mochitest failures on /test_peerConnection_basicAudio_forced_higher_rate.html
Backed out changeset 57826a5b03e8 (bug 1437366)
Backed out changeset a26852df062b (bug 1437366)
Backed out changeset abca0eb36d33 (bug 1437366)
Backed out changeset 41bb4a676575 (bug 1437366)

--HG--
extra : rebase_source : d81a0833db5d331fe928100cf88d1b9cc9253a1b
2018-03-08 19:27:25 +02:00
Paul Adenot
c670e162da Bug 1437366 - Test that sending and receiving audio when using a graph with a sample-rate that is not supported by the MediaPipeline code works. r=pehrsons
MozReview-Commit-ID: 4c5zgkYCX2T

--HG--
extra : rebase_source : 5c8dab421fff5806add1628f0ff55fcff19a5d42
2018-03-05 14:53:09 +01:00
Paul Adenot
003b8e4f95 Bug 1437366 - Add a way to force the sample-rate used for a MediaStreamGraph. r=pehrsons
MozReview-Commit-ID: 4ICQiNKbUpJ

--HG--
extra : rebase_source : 9976b2d386f1467766af4a929b64479af99997ae
2018-03-02 19:27:57 +01:00
Byron Campen [:bwc]
f6c93efa2c Bug 1443198 - Part 1: Test that offerToReceiveX doesn do anything silly when the PC is closed. r=jib
MozReview-Commit-ID: 3ShP4dejWQ8

--HG--
extra : rebase_source : 11dbecabd7db72a016162fb596e044a8b3f36e29
2018-03-06 10:07:40 -06:00
Andreas Pehrson
86d6c7f730 Bug 1443585 - Remove fake:true from test_pc_trackDisabling_clones.html. r=jib
MozReview-Commit-ID: A0sI1HvEzpf

--HG--
extra : rebase_source : c7d351685fbd5283965319f47f7746c9d5df2bd4
2018-03-06 19:25:09 +01:00
Andreas Pehrson
8de88149cc Bug 1443585 - Remove fake:true from test_pc_trackDisabling.html. r=jib
MozReview-Commit-ID: K8KMF7sYoul

--HG--
extra : rebase_source : 08cb4d08daae7e5c05624c6beb048976678e929d
2018-03-06 19:22:51 +01:00
Nils Ohlmeier [:drno]
209544512d Bug 1414176: make data channel readyState checks spec compliant r=jib
MozReview-Commit-ID: 8VYTsK2edLE

--HG--
extra : rebase_source : c845272bf8357647212a6a6a43e06464ea798cb0
2018-02-16 23:28:10 -08:00
Geoff Brown
764e843d9a Bug 1339568 - Re-enable some mochitest-media tests on linux/debug and linux/asan; r=whimboo 2018-02-23 09:47:56 -07:00
Nico Grunbaum
0b893198d5 Bug 1439041 - tighten up RTP sources mochitests r=mjf
MozReview-Commit-ID: 6fzHZpe1U0w

--HG--
extra : rebase_source : a5f5436efc1c12b0693814b5397d4777b4cd9dbc
2018-02-16 17:21:38 -08:00