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

625 Коммитов

Автор SHA1 Сообщение Дата
Martin Thomson afdaddf1d7 Bug 1155923 - Removing moz prefix from RTC interfaces, r=jesup,smaug
--HG--
extra : transplant_source : %0Adu%1E%A6j%9E%C2B%25%ECruo%F7%7Fc%EA%99%18
2015-09-28 11:25:04 -07:00
Joel Maher 5d6ef8e355 Bug 1179826 - re-enable test_ipc.html for dom/media. r=padenot 2015-09-29 09:04:06 -04:00
Carsten "Tomcat" Book b63d7b04fc merge mozilla-inbound to mozilla-central a=merge 2015-09-29 12:00:25 +02:00
Tim Chien c251097169 Bug 1160923 - [B2G] Waiting for explicit mozContentEvent before sending out mozChromeEvents, r=vingtetun, f=ochaumeau 2015-09-28 09:27:49 -07:00
Randell Jesup 0436e895eb Bug 1178091: tests for large DataChannel transfers and onbufferedamountlow event r=drno 2015-09-28 19:02:58 -04:00
Carsten "Tomcat" Book 4952084732 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Jan-Ivar Bruaroey 1c3f3f8536 Bug 1206982 - getUserMedia s/PermissionDeniedError/SecurityError/. r=jesup
--HG--
extra : transplant_source : %BB%1A%10%27%95%15%E0%A4%F3%F4%93%83%26%B91%CA%C8%9Cn%B1
2015-09-21 20:57:12 -04:00
Martin Thomson 9c3bef623e Bug 1155923 - Removing moz prefix from RTC interfaces. r=jesup r=smaug
--HG--
extra : transplant_source : 1%F0%A8%03%D3%B9OAJW%06v%21%F1WX%03im%22
2015-09-24 16:31:47 -07:00
Wes Kocher b4a25c9f58 Backed out 7 changesets (bug 1103188) for frequent test_getUserMedia_addTrackRemoveTrack.html failures
Backed out changeset f0f33a8ef14c (bug 1103188)
Backed out changeset dbe0ebdebad5 (bug 1103188)
Backed out changeset bb656022a1a7 (bug 1103188)
Backed out changeset cc6b5f5ba444 (bug 1103188)
Backed out changeset ca97d52bf144 (bug 1103188)
Backed out changeset de8cc967f8eb (bug 1103188)
Backed out changeset 6da8f4905060 (bug 1103188)
2015-09-25 13:08:44 -07:00
Andreas Pehrson 227494cba0 Bug 1103188 - Always check tracks on getUserMedia(). r=jib
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson 35220b1c7c Bug 1103188 - MediaStream::AddTrack/RemoveTrack tests. r=jib,roc
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson 7c822e759d Bug 1103188 - Deprecate DOMMediaStream::Stop(). r=jib
--HG--
extra : commitid : FxucwRqUZUo
2015-09-25 23:23:31 +08:00
Andreas Pehrson f0d1337fdc Bug 1177276 - Pref on canvas.captureStream by default. r=smaug,mt
--HG--
extra : commitid : 8EBhXM9AkEM
extra : rebase_source : 6f6171474350a20096db822e3524c6b2bbe20023
2015-09-17 22:09:24 +08:00
Jan-Ivar Bruaroey 4fbccc5b50 Bug 912342 - get Promise out. r=jesup
--HG--
extra : commitid : L54TpPNzEgB
extra : rebase_source : 29eceb81efe9ab96053b37a202714319be13fc80
2015-09-20 10:04:51 -04:00
Jan-Ivar Bruaroey 19676d62dc Bug 1181896 - make gUM fail w/OverconstrainedError and candidate argument r=jesup 2015-09-18 14:04:41 -04:00
Andreas Pehrson 461b9f6576 Bug 1161913 - Part 3 - Relax requestFrame ordering guarantee in tests. r=mt
We used to fully guarantee the order of requestFrame() and draw calls.
For instance:
```
ctx.draw(red);
stream.requestFrame();
ctx.draw(green);
```
would guarantee that a red frame ended up in the stream, and not the
green unless another frame was requested.

Now with frames being requested and pushed out on next refresh, we can
only guarantee that everything up to the requestFrame() call is included
in the next frame. Everything after the requestFrame() and before the
next refresh (stable state in most cases) will now also be inevitably
included.

--HG--
extra : transplant_source : %DF%A1%9C%A8%2B%3AzTS%EA%CE%0A%023%E2%EBWC%FD%3C
2015-09-17 11:37:05 +08:00
Michael Froman 41d164744a Bug 1095793 - use mid if provided to place candidate in msection. r=bwc
--HG--
extra : rebase_source : e85bbde1c0cbd3733f82a11c98245079ea1cbf5c
2015-09-10 13:20:09 -05:00
Martin Thomson c99d83fa88 Bug 1176941 - Moving console warning to the current window, r=jib
--HG--
extra : rebase_source : 2f5845ec7055c8b748cda64a61a2cb313e980a57
2015-08-28 15:40:44 -07:00
Martin Thomson 2de024d96c Bug 1176941 - Capturing more error info from IdP sandbox, r=jib
--HG--
extra : rebase_source : 6258851e738ce4e7b72983998f1697bbe43a4497
2015-08-28 15:40:44 -07:00
Nils Ohlmeier [:drno] 17f267da50 Bug 1203701 - add spdUtils.js to steeplechase. r=bwc
--HG--
extra : rebase_source : cae738ff6b23aad0dc11eae0107a8dc063e7ca4b
2015-09-10 13:33:21 -07:00
Michael Froman 5b41dcab91 Bug 1051052 - Made mid an outparam in JsepSession::AddLocalIceCandidate. r=bwc
--HG--
extra : transplant_source : %A4P%E5%0CuZ%DE%86%D2%C5u%3FhV%DBe%A9%CD%BC%8C
2015-09-01 16:40:00 -05:00
Nils Ohlmeier [:drno] 29abc01590 Bug 1200823 - s/test.steeplechase/test.testOptions.steeplechase/. r=bwc
--HG--
extra : rebase_source : f9e2b5101807af944e4be6b7143828bf43e2f3c7
2015-09-01 13:59:03 -07:00
Geoff Brown 635005bdeb Bug 1189784 - Disable more dom/media mochitests on Android for intermittent failures; r=me, test-only 2015-08-28 17:07:51 -06:00
Nils Ohlmeier [:drno] bd24d821b8 Bug 1167443 - Fix verification of end-of-candidates in mochitests. r=mt
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio.html => dom/media/tests/mochitest/test_peerConnection_basicAudioRequireEOC.html
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoNoBundleNoRtcpMux.html
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideo.html => dom/media/tests/mochitest/test_peerConnection_basicAudioVideoNoRtcpMux.html
extra : amend_source : 88d5de7099179bfd062ef32bb7576d1a3377f5e2
extra : transplant_source : C%EF%B0%20%891o%C6%3C%D2/%B3%E16%AF%A1%B8%F9G%29
2015-08-24 14:49:41 -07:00
Geoff Brown ab47b76699 Bug 1189784 - Disable some dom/media mochitests on Android 4.3 Debug; r=gcp 2015-08-27 11:29:02 -06:00
Geoff Brown fa7c8c6903 Bug 1189784 - Enable most dom/media mochitests on Android 4.3; r=gcp 2015-08-27 11:29:01 -06:00
Jan-Ivar Bruaroey ed823deab2 Bug 1064223 - Remove support for constraint-like RTCOfferOptions predecessor. r=mt
--HG--
extra : rebase_source : 658c53861ba9ac3f887e92e68b200953bde63947
2015-08-20 21:49:09 -04:00
Andrea Marchesini ce594e8b18 Bug 1196514 - remove dom.messagechannel.enabled pref, r=smaug 2015-08-20 08:34:38 +01:00
Ehsan Akhgari f9752f535c Bug 1196361 - Remove the media.useAudioChannelService pref; r=baku
We need to rely on the audio channel service for all products now,
so supporting running without it seems pointless at this point.
2015-08-19 21:00:18 -04:00
Nils Ohlmeier [:drno] 5423815a23 Bug 1193045 - Check selected attribute for all calls. r=bwc
--HG--
extra : transplant_source : %7D%1A%09%9E%AA%F7%11%0A%9A%15%D1%FF%8E%03%E1%9AE%D1%8Cy
2015-08-11 14:55:51 -07:00
Kaustabh Datta Choudhury 34307268d1 Bug 1162003 - Enable run-by-dir mode on Fx desktop opt builds. r=jmaher 2015-08-11 08:25:00 -04:00
Jan-Ivar Bruaroey 8e674f7ed3 Bug 1187775 - skip host and reflexive ICE candidates if relay-only. r=bwc
--HG--
extra : transplant_source : d%FBJ%BB%8B%BA%C8S%EE%C8%EB%8E%C3%9B%E9wA%8A%A8%86
2015-08-05 08:22:55 -04:00
Wes Kocher 83a7cbf448 Merge m-c to inbound, a=merge 2015-08-06 18:11:16 -07:00
Jan-Ivar Bruaroey 48561cb4c6 Bug 1191296 - Revert use of .includes() to .indexOf() != -1. r=jesup
--HG--
extra : transplant_source : p%E7x%E2%9B%F0%1E%99%8Cy%92FZ%20%DF%F0%D0k%20%C7
2015-08-05 12:03:50 -04:00
Rithesh Shenthar 551ffaeff6 Bug 1182626 - Steeplechase_long tests need to be enhanced to run for 3 hours. r=drno
--HG--
extra : transplant_source : QgF%A0%9F%0Bd%22%18%015%C35t%DB%A5qq%24%B4
2015-07-24 14:04:03 -07:00
Jan-Ivar Bruaroey 0ccb51ddc8 Bug 1175523 - Update most (but not all) tests to use elem.srcObject over .mozSrcObject. r=pehrsons
--HG--
extra : rebase_source : bac0027f4bf5d75b8730c44a10141c114002633b
2015-07-14 10:12:31 -04:00
Ryan VanderMeulen 1b8b39ab09 Bug 909925 - Re-enable previously-disabled WebRTC crashtests on Android/B2G. 2015-07-31 14:44:37 -04:00
Jessica Jong 11d3d9a5a3 Bug 1167132 - Part 15: [NetworkManager] Move network information into a separate interface (NetworkInterfaceList). r=echen 2015-07-29 02:16:00 -04:00
Paul Adenot 07eebce9da Bug 1156472 - Part 15 - Disable the test on emulator because it's too slow. 2015-07-27 16:19:54 +02:00
Paul Adenot ba5297b5a3 Bug 1156472 - Part 10 - Test AudioCaptureStream. r=pehrsons 2015-07-24 14:28:17 +02:00
Wes Kocher c835884065 Merge b2ginbound to central, a=merge 2015-07-24 13:47:05 -07:00
Carsten "Tomcat" Book 2b73aa4f63 Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot e45365d260 Bug 1156472 - Part 10 - Test AudioCaptureStream. r=pehrsons 2015-07-24 14:28:17 +02:00
Jan-Ivar Bruaroey 3544a8c613 Bug 1186142 - Make selector arg optional on PeerConnection.getStats(). r=bz
--HG--
extra : transplant_source : %D9Y%3EecN%F2AJ%01%0A%D6%188.p%11%9C%29%C9
2015-07-21 16:36:10 -04:00
Jessica Jong 27fcd2e6a8 Bug 1185802 - Part 3: support fota apn type (tests). r=hsinyi
--HG--
extra : commitid : 5cipjsXtfQG
2015-07-24 10:41:29 +08:00
Jan-Ivar Bruaroey c76b35c716 Bug 1186209 - Check for VTYPE_EMPTY_ARRAY in enumerateDevices + test. r=jesup
--HG--
extra : transplant_source : %A7%B5%7D%3FM%A1%0A%5C7%853%A1%F4%DB%220cU7%C7
2015-07-22 13:04:12 -04:00
Jan-Ivar Bruaroey 99483c3f4a Bug 1186198 - s/unexpected/unanticipated/. r=drno
--HG--
extra : transplant_source : d%C7%0CML%27l%A9q%29%A0%13%8Bf%05H%8C%9A%B7%03
2015-07-21 17:13:20 -04:00
Jan-Ivar Bruaroey f6371d60cc Bug 1098015 - Modify a test to make sure createAnswer({}) works. r=bwc
--HG--
extra : transplant_source : %F4%CE%C5%DD%FA%88%17%D4N%99%B47%1A%B1%C8%A8%8FN%2C%AB
2015-07-16 18:35:45 -04:00
Andreas Pehrson b734b32311 Bug 1173654 - Part 5: Test streaming of all playable videos in test_peerconnection_capturedvideo.html. r=jwwang, r=jib
--HG--
extra : transplant_source : %B3%11%94%11j%5Eu%D2%9E%BB%1C%CE%9B%AF%244%8B%08%F4%28
2015-07-16 09:31:06 +08:00
Martin Thomson 08328b1608 Bug 1180968 - Disable test_peerConnection_certificates.html on a CLOSED TREE a=ryanvm
--HG--
extra : commitid : 7tOUUqS9jyk
2015-07-16 09:22:59 -07:00
Rithesh Shenthar a2ba832ca8 Bug 1176987 - Move steeplechase_long testcases to a new folder under mochitests. r=drno
--HG--
rename : dom/media/tests/mochitest/long.js => dom/media/tests/mochitest/steeplechase_long/long.js
rename : dom/media/tests/mochitest/steeplechase_long.ini => dom/media/tests/mochitest/steeplechase_long/steeplechase_long.ini
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioVideoCombined_long.html => dom/media/tests/mochitest/steeplechase_long/test_peerConnection_basicAudioVideoCombined_long.html
rename : dom/media/tests/mochitest/test_peerConnection_basicAudio_long.html => dom/media/tests/mochitest/steeplechase_long/test_peerConnection_basicAudio_long.html
rename : dom/media/tests/mochitest/test_peerConnection_basicVideo_long.html => dom/media/tests/mochitest/steeplechase_long/test_peerConnection_basicVideo_long.html
extra : transplant_source : s%C8%5DLl%D7%D03%98%E7W%CD%03%F0%5D%3E%E0%9C%DAe
extra : histedit_source : a6847d14dd4b006a5adf6a8f8abad8fbc6c7be1c%2Ca8ea8e35bda8476ec02d855fb93053b3bb1ccbb7
2015-07-14 14:39:10 -07:00
Ryan VanderMeulen 882e7b00f8 Bug 1180000 - Disable more peerConnection Video tests on Linux debug e10s.
CLOSED TREE
2015-07-15 10:01:06 -04:00
Ryan VanderMeulen e6822fd5bc Bug 1180000 - Disable more tests on Linux debug e10s. 2015-07-14 21:05:32 -04:00
Ryan VanderMeulen 501af3e759 Bug 1180000 - Disable test_peerConnection_twoVideoStreams.html on Linux debug e10s for frequent failures.
--HG--
extra : transplant_source : %CB%11%12%C6%D1%B0%909Di%22%F6%84%B9Xx%0A%C7%DF%8C
2015-07-14 16:44:47 -04:00
Jan-Ivar Bruaroey e4231f7cf4 Bug 1181883 - Add serializer on MediaDeviceInfo. r=smaug
--HG--
extra : transplant_source : N%F6%0F%9CmJ%B9%90%A6%D8%5Cm%96%C7%02.%80%8BU%08
2015-07-08 20:46:34 -04:00
Martin Thomson 8fd488c3ef Bug 1172785 - Using RTCCertificate for WebRTC, r=ekr
--HG--
extra : commitid : DAyJQljGuGT
extra : rebase_source : 5a5e3baad12dcea9c3020d1716d41c409e3614f8
2015-07-06 10:40:04 -07:00
Jan-Ivar Bruaroey e895da16b9 Bug 1037389 - add support for deviceId in gUM constraints (merged 11 patches). r=smaug, r=jesup 2015-07-02 18:01:52 -04:00
Jan-Ivar Bruaroey 7c38e6d825 Bug 1152381 - implement mediaDevices.getSupportedConstraints. r=smaug, r=jesup 2015-07-02 14:21:49 -04:00
Rithesh Shenthar b5aacea0d3 Bug 1167922 - Handle broken entries in media.peerconnection.default_iceservers more gracefully. r=jib
--HG--
extra : rebase_source : 272b59a709de1a65e5b35475e4075492b5ecd310
2015-06-23 16:52:50 -07:00
Juan Becerra 89070941c9 Bug 1087629 - Add two new test cases for ICE connection states. r=ekr
--HG--
extra : transplant_source : _%7CY%86rE%19%E9%B5%9F%C2%F9%80i%AEV%B7%3C%95%A3
extra : histedit_source : 0d6bbc2a0f9d1043ed8f8cc39e2083d309db8e6f%2C375920aa61992cac9307c50aeb42e7d9da4f6c73
2015-06-18 16:07:01 -07:00
Jan-Ivar Bruaroey d4bc9fa237 Bug 1173255 - Cleanup MediaManager e10s code in prep for deviceId constraint. r=jesup
--HG--
extra : amend_source : 057f17d55cd44a700abab5595c9f4fc95cfd2419
extra : transplant_source : %B7%5C%7D%FA%E9%3F%29%F9%EBM%9E%B5%1A%A6G%29%25%01%0E-
extra : histedit_source : a10d0d5106f5fffb3881604728c1933c90772622%2Cdf022706033cb19f87a8dd58376ab7800d9d2526
2015-06-18 11:46:36 -04:00
Martin Thomson b8a23374fc Bug 1161431 - Increasing timeout for test IdP. r=jesup
--HG--
extra : rebase_source : 28442b4a9a3e3f12d059f2fb275c3e2d78647dd9
2015-06-09 09:50:22 -07:00
Andreas Pehrson 8e0eed7a2a Bug 1054706 - Check media elements for HAVE_ENOUGH_DATA and tracks for transmitted rtpPackets when checking media flow. r=drno, r=jib
--HG--
extra : rebase_source : 3af50592de15ea3d1120ce7bcdad1e6899bbc7ae
2015-05-28 12:52:50 +08:00
Byron Campen [:bwc] 5c2ffe7e8f Bug 1169338 - Part 3: Do a GC before each webrtc mochitest, so there isn't too much buildup. r=mt
--HG--
extra : rebase_source : dfc663900327746e39f8a8092f58bbce015c7591
2015-05-22 11:11:37 -07:00
Byron Campen [:bwc] e3ac40f6ed Bug 1169338 - Part 2: Extend ICE timeouts since mochitests are frequently run on systems that are performance constrained. r=mt
--HG--
extra : rebase_source : 3f19bb04da92360959430d0eaee1ba1e031a1cba
2015-05-22 11:11:37 -07:00
Byron Campen [:bwc] 943cfd3d6f Bug 1169338 - Part 1: Re-enable a subset of the webrtc mochitests on B2G emulator and Mulet. r=mt
--HG--
extra : rebase_source : 0b6434fb9b9b01356a3059face05fa35ed7e8c2b
2015-05-22 11:11:37 -07:00
JW Wang 486a5586c0 Bug 1170081 - Add a tag to run only mochitests that use HTMLMediaElement::MozCaptureStream. r=cpearce. 2015-06-02 17:31:46 +08:00
Martin Thomson 2dcbea5eae Bug 1155898 - Use fetch instead of XHR for IdP. r=jib
--HG--
extra : transplant_source : %CF%DC%83%A7%9Fj%D2%C0%B3%898Z%3E%AB%C4%A3%D4%A0%E6%E3
2015-05-20 14:26:32 -07:00
Paul Adenot b9ec958b6c Bug 1166183 - Work around bug 934512 in track_peerConnection_replaceTrack.html. r=pehrson 2015-05-21 13:35:29 +08:00
Byron Campen [:bwc] 1fec8cf0e8 Bug 952145: Rollback support r=mt, r=smaug
--HG--
extra : rebase_source : c5615117716ca907d61b4b7c7eeff71e926821bd
2015-03-19 17:32:51 -07:00
Andreas Pehrson 23c2c9bf54 Bug 1166659 - Add mochitest tags for webaudio and webrtc. r=jesup, r=padenot 2015-05-20 02:49:00 -04:00
Jan-Ivar Bruaroey 5073bd4761 Bug 1162720 - Test enumerateDevices. r=jesup, r=drno 2015-05-21 20:42:03 -04:00
Paul Adenot 78e7f42537 Bug 1166803 - Add an `msg` tag to mochitest.ini in dom/media/*. r=jesup 2015-05-22 10:57:51 +02:00
Ryan VanderMeulen d33d4dd1cf Backed out 3 changesets (bug 1162720) for mochitest failures.
Backed out changeset 9ed581fdb25b (bug 1162720)
Backed out changeset c70d228147df (bug 1162720)
Backed out changeset 31b76e306cbd (bug 1162720)

CLOSED TREE
2015-05-21 12:26:19 -04:00
Jan-Ivar Bruaroey dc2c1e74ca Bug 1162720 - Test enumerateDevices. r=jesup 2015-05-14 07:25:32 -04:00
Nils Ohlmeier [:drno] 2db0cddf1f Bug 1143827 - remove default stun server. r=abr,bsmedberg
--HG--
extra : rebase_source : 05cf653ca2d8199ee6840507dad5fe6330140b27
2015-05-19 16:04:00 +02:00
Ryan VanderMeulen 9110d38167 Backed out 3 changesets (bug 1155898) for test_sandbox_fetch.html failures.
Backed out changeset 21e041962894 (bug 1155898)
Backed out changeset e42c9f4794d9 (bug 1155898)
Backed out changeset 7ef9cce1a775 (bug 1155898)

CLOSED TREE
2015-05-20 11:54:34 -04:00
Andreas Pehrson a7be2f4edb Bug 1166140 - Test media element currentTime before play() instead of stream's. r=drno
--HG--
extra : rebase_source : 96cdae6631d386cec4b4ba3eeb2de4a51b7ca3df
2015-05-19 12:04:00 +08:00
Martin Thomson 852d7d3d59 Bug 1155898 - Use fetch instead of XHR for IdP. r=jib
--HG--
extra : rebase_source : 528610d5415e94caeffa2cd560af684711cbee17
2015-04-21 11:11:40 -07:00
Carsten "Tomcat" Book 915f54fca3 Backed out changeset a243da0786ca (bug 1166183) 2015-05-20 16:08:29 +02:00
Paul Adenot b8aa761032 Bug 1166183 - Work around bug 934512 in track_peerConnection_replaceTrack.html. r=pehrsons 2015-05-20 14:30:47 +02:00
Andreas Pehrson c1f6180c92 Bug 1032848 - Part 3: Add tests for HTMLCanvasElement::CaptureStream. r=mt, r=jgilbert, r=jesup
--HG--
extra : transplant_source : %10%FE%B2%29%FD%88%94%3Ax%11%F8%8D%A5%218e%F3%EA%E7%2B
2015-05-13 14:04:51 +08:00
Byron Campen [:bwc] 605cc781a8 Bug 1096795 - Put a=rtcp in SDP when gathering ends. r=mt
--HG--
extra : transplant_source : %1D%A4%CD6S%E6%87G%D7%E9%05%3D%C1%23%1A%E5%D5_%17C
2015-05-08 15:52:41 -07:00
Nils Ohlmeier [:drno] 550f159197 Bug 1161615 - Clean up gUM mochitest to use promises. r=mt
--HG--
extra : transplant_source : %E1%81%12%9A%0D%C0%A6%DF%21%84o%06%7E1%40%1E%93%97%2Ag
2015-05-12 10:51:46 -07:00
Phil Ringnalda 9fd5acd0bd Back out 3 changesets (bug 1162720) for mozilla::media::Parent::Release crashes
CLOSED TREE

Backed out changeset 05306872093a (bug 1162720)
Backed out changeset 94a7098042fb (bug 1162720)
Backed out changeset 7c2f391a7fdd (bug 1162720)
2015-05-16 09:09:25 -07:00
Jan-Ivar Bruaroey 1663bdca94 Bug 1162720 - test enumerateDevices. r=jesup 2015-05-14 07:25:32 -04:00
Gregory Arndt ac0b2ed434 Bug 1164225 - Disable IPC test for mochitest in mulet r=kwierso 2015-05-12 16:31:04 -05:00
Nils Ohlmeier [:drno] 772e7d8a3f Bug 1087551: updated tests around addIceCandidate(). r=jib
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_addCandidateInHaveLocalOffer.html => dom/media/tests/mochitest/test_peerConnection_addIceCandidate.html
2015-05-12 00:05:24 -07:00
Sebastian Hengst cf952cc343 Backed out changeset 899c470e0275 (bug 1087551) for build bustage. r=bustage fix for CLOSED TREE 2015-05-09 10:34:24 +02:00
Nils Ohlmeier [:drno] e175791a4b Bug 1087551: updated tests around addIceCandidate(). r=jib 2015-05-09 00:26:30 -07:00
Nils Ohlmeier [:drno] 5411527eb9 Bug 1161433: reject empty gUM contraints with NotSupportedError. r=jib 2015-05-08 12:05:48 -07:00
Andreas Pehrson 588b4d1973 Bug 1157701 - Properly remove usage of Array.prototype.includes(). r=jib
--HG--
extra : rebase_source : dbf2ef1c7da0878c163d2647211b3a75f001055b
2015-04-28 21:24:00 +02:00
ziyunfei e1db0f779e Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till 2015-04-30 00:32:05 +09:00
Andreas Pehrson 38a44a999d Bug 1157701 - Remove usage of Array.prototype.includes() from test_peerConnection_replaceTrack.html. r=jib
--HG--
extra : transplant_source : F%A0oy%AC%29%F8%0F%A54Cey%95%7B_14%AB%03
2015-04-24 13:29:19 +08:00
Andreas Pehrson f1d26a537d Bug 1155089 - Part 3: Test replacing with WebAudio track in track_peerConnection_replaceTrack.html. r=jib
--HG--
extra : rebase_source : df2ebd47ca3cf0854e8663623d5de18c2e730d3d
2015-04-22 11:59:43 +08:00
Andreas Pehrson 20457a4dc1 Bug 1155089 - Part 2: Break out WebAudio input/output checker to PeerConnectionTest. r=mt
--HG--
extra : rebase_source : b92110f5d9c234c93bea4c7442f6ff15f344c16e
2015-04-22 11:59:43 +08:00
Gordon Klaus 37588c7d15 Bug 1155140 - Removed mentions of deleted parameters from test helper documentation. r=mt 2015-04-16 04:56:00 -04:00
Paul Adenot e32b404e54 Bug 1094764 - Implement AudioContext.suspend and friends. r=roc,ehsan
- Relevant spec text:
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-resume-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-close-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-state
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-onstatechange

- In a couple words, the behavior we want:
    - Closed context cannot have new nodes created, but can do decodeAudioData,
    and create buffers, and such.
    - OfflineAudioContexts don't support those methods, transitions happen at
    startRendering and at the end of processing. onstatechange is used to make
    this observable.
    - (regular) AudioContexts support those methods. The promises and
    onstatechange should be resolved/called when the operation has actually
    completed on the rendering thread.  Once a context has been closed, it
    cannot transition back to "running". An AudioContext switches to "running"
    when the audio callback start running, this allow authors to know how long
    the audio stack takes to start running.
    - MediaStreams that feed in/go out of a suspended graph should respectively
    not buffer at the graph input, and output silence
    - suspended context should not be doing much on the CPU, and we should try
    to pause audio streams if we can (this behaviour is the main reason we need
    this in the first place, for saving battery on mobile, and CPU on all
    platforms)

- Now, the implementation:
    - AudioNodeStreams are now tagged with a context id, to be able to operate
    on all the streams of a given AudioContext on the Graph thread without
    having to go and lock everytime to touch the AudioContext. This happens in
    the AudioNodeStream ctor. IDs are of course constant for the lifetime of the
    node.
    - When an AudioContext goes into suspended mode, streams for this
    AudioContext are moved out of the mStreams array to a second array,
    mSuspendedStreams. Streams in mSuspendedStream are not ordered, and are not
    processed.
    - The MSG will automatically switch to a SystemClockDriver when it finds
    that there are no more AudioNodeStream/Stream with an audio track. This is
    how pausing the audio subsystem and saving battery works. Subsequently, when
    the MSG finds that there are only streams in mSuspendedStreams, it will go
    to sleep (block on a monitor), so we save CPU, but it does not shut itself
    down. This is mostly not a new behaviour (this is what the MSG does since
    the refactoring), but is important to note.
    - Promises are gripped (addref-ed) on the main thread, and then shepherd
    down other threads and to the GraphDriver, if needed (sometimes we can
    resolve them right away). They move between threads as void* to prevent
    calling methods on them, as they are not thread safe. Then, the driver
    executes the operation, and when it's done (initializing and closing audio
    streams can take some time), we send the promise back to the main thread,
    and resolve it, casting back to Promise* after asserting we're back on the
    main thread. This way, we can send them back on the main thread once an
    operation has complete (suspending an audio stream, starting it again on
    resume(), etc.), without having to do bookkeeping between suspend calls and
    their result. Promises are not thread safe, so we can't move them around
    AddRef-ed.
    - The stream destruction logic now takes into account that a stream can be
    destroyed while not being in mStreams.
    - A graph can now switch GraphDriver twice or more per iteration, for
    example if an author goes suspend()/resume()/suspend() in the same script.
    - Some operation have to be done on suspended stream, so we now use double
    for-loop around mSuspendedStreams and mStreams in some places in
    MediaStreamGraph.cpp.
    - A tricky part was making sure everything worked at AudioContext
    boundaries.  TrackUnionStream that have one of their input stream suspended
    append null ticks instead.
    - The graph ordering algorithm had to be altered to not include suspended
    streams.
    - There are some edge cases (adding a stream on a suspended graph, calling
    suspend/resume when a graph has just been close()d).
2015-02-27 18:22:05 +01:00
Martin Thomson a445924956 Bug 1153314 - Test IdP login flow, r=jib 2015-04-15 14:19:21 -07:00
Ms2ger f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Andreas Pehrson 0efa763940 Bug 1149494 - Part 2. Add mochitest. r=jesup
--HG--
extra : rebase_source : 95a1de85dfe6c3036a16f9cdd09df43e70fa0888
2015-04-08 17:59:30 +12:00
Byron Campen [:bwc] a892b4a703 Bug 1149838: Do not suppress onnegotiationneeded before the first offer/answer. r=mt
--HG--
extra : rebase_source : 488491dfe91fd7cd179dc898d9d7733e49d9368f
2015-04-01 08:51:32 -07:00
Martin Thomson 67a2866b8b Bug 996238 - Move more of the test code to promises. r=jib
--HG--
extra : transplant_source : %2B%95%D0%21%B6%27%2B%AA%B9%A2%A2%DBQ%88%0F%3E3%2Am0
2015-04-01 11:21:06 -07:00
Martin Thomson 6a75bdd7f8 Bug 996238 - Add test for asymmetric media isolation across PC. r=ekr
--HG--
extra : transplant_source : -%0C%211%11%84%C2%F8%E8%9C%C3.%BAr%B5%80T259
2015-04-01 11:21:06 -07:00
Byron Campen [:bwc] 3ff500ee41 Bug 1149298 - Part 1: Test cases. r=drno
--HG--
extra : rebase_source : a29be5c74c4bddfe672159b0de12a61e8540b9df
2015-03-30 15:46:49 -07:00
Byron Campen [:bwc] c72b942b7e Bug 1148649: Reenable video multistream mochitests on debug e10s. r=drno
--HG--
extra : rebase_source : 5e29d37c289cb67148bafe7947191bb6de1338a6
extra : amend_source : b89129bcedf027ffc5c19cc17d5faeba6eb545b6
2015-03-26 13:03:29 -07:00
Geoff Brown 53daff6584 Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor 2015-03-26 20:35:35 -06:00
Byron Campen [:bwc] ae13d463e0 Bug 1145407: Another mochitest 3 bustage fix on CLOSED TREE. r=bustage
--HG--
extra : amend_source : b35ca98cbfb6d3e745dbb1d7fbfa36f9f3ba93a4
2015-03-23 10:29:53 -07:00
Byron Campen [:bwc] 534d79b207 Bug 1145407: Fix mochitest 3 bustage on CLOSED TREE. r=bustage
--HG--
extra : rebase_source : d7e281e62c03169b80e07bdf205c40455fb231e9
2015-03-23 10:21:23 -07:00
Byron Campen [:bwc] 286f76f96c Bug 1145407: Add mochitests that cause multiple tracks of the same type to be placed in the same remote stream. r=mt
--HG--
extra : rebase_source : a713ec8aa5e387f2d414c02d5932977f128129cb
extra : amend_source : fdbe09e35959651df4d0004c1cfe9b4e5bb47097
2015-03-19 16:18:42 -07:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Byron Campen [:bwc] 3d398312bf Bug 1141230: Stop using getLocalStreams() to drive checking of various things in the mochitest suite. r=jib
--HG--
extra : rebase_source : 27e7d4f3d86d33a1c4e046fa0e677c4d3bccc247
2015-03-12 17:30:12 -07:00
Alexandre Lissy 77d1e01b3c Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Andreas Pehrson ba688bded0 Bug 1142688 - Wait for actual audio data on remote side before checking audio sanity. r=jesup,padenot 2015-03-16 16:32:19 +08:00
Jan-Ivar Bruaroey d132e36539 Bug 1136871 - cleanup RtpSenders accounting to not rely on streams r=mt 2015-03-11 12:24:38 -04:00
Jan-Ivar Bruaroey 1a0a70d9a2 Bug 1136871 - test invalid replaceTrack arg r=standard8 2015-02-27 11:23:46 -05:00
Mark Banner de623dc60c Bug 1136871: replaceTrack testcase r=jib 2015-03-11 15:29:37 -04:00
Alexandre Lissy 1e7c8bf446 Bug 1141029 - Disabling mochitests on Mulet with parity to B2G Desktop for taskcluster. r=ahal 2015-03-11 08:15:00 -04:00
Andreas Pehrson 7f6daeea34 Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot 2015-03-02 18:07:20 +08:00
Nils Ohlmeier [:drno] 7bfa9a84ae Bug 1139094 - Fix multiple steeplechase test execution problems. r=bwc, r=mt 2015-03-03 21:33:00 -05:00
Phil Ringnalda df31a989de Backed out 3 changesets (bug 1081819) for frequent mochitest-e10s failures
Backed out changeset b78fd38002f5 (bug 1081819)
Backed out changeset ff063b9a1ea2 (bug 1081819)
Backed out changeset 322d60fc413e (bug 1081819)
2015-03-07 18:14:05 -08:00
Andreas Pehrson dfcdf561b0 Bug 1081819 - Add mochitest for piping WebAudio in and out of PeerConnection. r=jesup,padenot 2015-03-02 18:07:20 +08:00
Andreas Pehrson 0c4f4a6d1d Bug 931903 - Add mochitest for forwarding a stream from one PC to another. r=jesup,drno 2015-02-22 22:45:00 +01:00
Martin Thomson 328712fa16 Bug 975144 - Disabling b2g tests due to bug 1135339, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson f2ac9cf5f5 Bug 975144 - Updating identity tests to use promises, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson 6146b91446 Bug 975144 - Enabling tests on e10s, r=jib 2015-02-22 10:57:21 +13:00
Martin Thomson 49b3699492 Bug 975144 - Adding IdP loading tests, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson 6bbea481b8 Bug 975144 - Updating RTC identity tests, r=jib 2015-02-22 10:57:20 +13:00
Martin Thomson bca489e4fb Bug 975144 - Updating test IdP for new API, r=jib 2015-02-22 10:57:20 +13:00
Jan-Ivar Bruaroey 8c1b9f1777 Bug 1119335 - support ideal/exact constraint syntax. r=mrbkap, r=mt 2015-02-20 17:06:26 -05:00
Nils Ohlmeier [:drno] b25a2bb677 Bug 1089798 - MediaStream ID tests. r=bwc 2015-02-17 22:54:00 -05:00
Byron Campen [:bwc] 248d6e6d79 Bug 1017888 - Part 2: Testing for renegotiation. r=mt, r=drno
--HG--
extra : rebase_source : 7434ef35ea6294966220f20431941e0790c4221c
2015-02-10 10:17:03 -08:00
Byron Campen [:bwc] 1f815978b4 Bug 1017888 - Part 1: Renegotiation support. r=mt, r=smaug
--HG--
extra : rebase_source : df1c2962ee88f75c6ad676b9cd79978a87dafb65
extra : amend_source : c938904331323ff3565624795ac76d82502f43fb
2014-12-10 15:53:54 -08:00
Martin Thomson 4bc1d349bc Bug 1063290 - Disable most gUM tests on Android too. r=jib
--HG--
extra : transplant_source : %DDD%90%E4%C0%DD%E0S%CB%B2q5%EE%19%8B/%E2%CF%A6%F0
2015-02-07 11:39:35 +11:00
Jan-Ivar Bruaroey 4993ea6729 Bug 997365 - End support for hold-out mandatory/optional: facingMode constraint on mobile. r=smaug, r=mt 2015-02-02 10:11:00 -05:00
Martin Thomson 0f8d322e88 Bug 1063290 - Disabling extended gUM tests on gonk for intermittent failures, r=jib
--HG--
extra : rebase_source : 98b9a4f37c24d8aa7c18a0d9179831da63bf98e9
2015-01-30 13:00:29 -08:00
Martin Thomson dd9a80adbd Bug 1119593 - Dealing with multiple streams, r=drno
--HG--
extra : rebase_source : 452405054841a7c9fe4582513f003c86a22237ca
2015-01-28 14:05:57 -08:00
Martin Thomson 82713d6e5c Bug 1119593 - Fixing test preconditions for steeplechase, r=drno
--HG--
extra : rebase_source : cc3b301447d312f7b7ab1a02340b8d4dbd750fb1
2015-01-28 14:05:57 -08:00
Martin Thomson c29940202d Bug 1119593 - Aggressively removing boilerplate on tests, r=drno
Conflicts:
	dom/media/tests/mochitest/test_getUserMedia_exceptions.html

--HG--
extra : rebase_source : 61d146fe146021d9114a67d6577ca749b30e2d69
2015-01-28 14:05:57 -08:00
Martin Thomson ede450c335 Bug 1119593 - Re-enable per-data-channel close, r=drno
--HG--
extra : rebase_source : 8cde653955f6175e0c751f8b677319b0be299e86
2015-01-28 14:05:57 -08:00
Martin Thomson 0d676fad94 Bug 1119593 - Adding test for legacy navigator.mozGetUserMedia, r=drno
Conflicts:
	dom/media/tests/mochitest/mochitest.ini

--HG--
extra : rebase_source : 60c2cc3a7eb39d82dc111e2b27c60fc03425b6ee
2015-01-28 14:05:57 -08:00
Martin Thomson 072d9c4392 Bug 1119593 - Adding test for legacy PC callback functions, r=drno,jib
--HG--
extra : rebase_source : a1ef753b0b8592504dc6b3e4ffbc7bbeecd0bc20
2015-01-28 14:05:56 -08:00
Martin Thomson b3ba6ae9f0 Bug 1119593 - Update gUM tests to use promises consistently, r=drno,jib
Conflicts:
	dom/media/tests/mochitest/constraints.js

--HG--
extra : rebase_source : d4a786176efdd0647189204d2e2c8eff1b8c27e9
2015-01-28 14:05:56 -08:00
Martin Thomson b554c8209f Bug 1119593 - Update identity tests, r=drno
--HG--
extra : rebase_source : a17f081f9fa55a171e9155f3d0e3734766271075
2015-01-28 14:05:56 -08:00
Martin Thomson af5d572176 Bug 1119593 - Update PeerConnection tests, r=drno,jib
--HG--
extra : rebase_source : 0589f310d3cfdce241fd40f752186c623301373f
2015-01-28 14:05:56 -08:00
Martin Thomson 2319bf1e85 Bug 1119593 - Update WebRTC data channel tests, r=drno
--HG--
extra : rebase_source : baf9f9b04c7eb0cf4471ebb29600def300424af8
2015-01-28 14:05:56 -08:00
Martin Thomson b636521712 Bug 1119593 - Update WebRTC tests to use promises more consistently, r=drno,jib
--HG--
extra : rebase_source : 6e2d929dc84387d36b0ceaf3fcbf7b1af1bfb196
2015-01-28 14:05:56 -08:00
Byron Campen [:bwc] 14e52a60de Bug 1095218 - Part 2: Multistream support. r=mt
--HG--
extra : rebase_source : d699a4408c351014e30be3b3dfe148bda14c643f
2014-12-10 11:17:09 -08:00
Byron Campen [:bwc] 3a5fa56125 Bug 1095218 - Part 1: msid support. r=mt
--HG--
extra : rebase_source : 7b5cd5efdaec5d53dd4d39aa1f4226659c06f1cb
2014-12-01 21:19:57 -08:00
Wes Kocher 89130381fe Backed out 12 changesets (bug 1118398, bug 1119593) for zmedia failures
Backed out changeset db7c4ffd5a53 (bug 1119593)
Backed out changeset 2832633668c3 (bug 1119593)
Backed out changeset 2f38bbb30cc6 (bug 1119593)
Backed out changeset 46b5bb0665e9 (bug 1119593)
Backed out changeset e97ee52f7803 (bug 1119593)
Backed out changeset f7f0adc1879d (bug 1119593)
Backed out changeset 4ccecd0da80f (bug 1119593)
Backed out changeset 2ea753b42366 (bug 1119593)
Backed out changeset 28d59c42debb (bug 1119593)
Backed out changeset a38d68f15ced (bug 1119593)
Backed out changeset 1d565fc1473c (bug 1119593)
Backed out changeset d28a04536e7e (bug 1118398)
2015-01-27 16:56:02 -08:00