Commit Graph

678 Commits

Author SHA1 Message Date
Ed Morley
f75b294029 Backed out changeset 6c53f6dbb7d0 (bug 1013809) for causing bug 1016498 2014-05-29 10:48:42 +01:00
Randell Jesup
32887f83df Bug 1008619: Release MediaEngineWebRTC at MediaManager shutdown r=anant 2014-05-28 14:38:37 -04:00
Randell Jesup
49ba04345d Bug 988877: Shut down MediaManager thread in xpcom-shutdown r=bsmedberg 2014-05-28 14:38:15 -04:00
Nils Ohlmeier [:drno]
801c6c7e63 Bug 1011775 - increase ended event timeout for B2G debug builds. r=jesup 2014-05-27 15:13:00 +02:00
Trevor Saunders
876b806f62 bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug 2014-01-09 21:03:47 -05:00
Neil Rashbrook
0b70d2a086 Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
Relading with correct bug number so DONTBUILD.

--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
740e2ee668 Backout 8b8bbe7aa1cc due to wrong bug number 2014-05-27 14:42:13 +03:00
Neil Rashbrook
4a282365d2 Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Nils Ohlmeier [:drno]
4ad3807614 Bug 1013809 - switch order of setLocalDescription and setRemoteDescription for the answer. r=jesup 2014-05-23 11:28:00 +02:00
Steven Lee
ada8818ed8 Bug 922500 - Fix the problem of casting a PRUnichar* to char* in MediaManager. r=ehsan 2014-05-25 23:38:00 +02:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Nils Ohlmeier [:drno]
440fa974c8 Bug 1013822 - add test failures if delay between set*Description calls was too high. r=bwc 2014-05-22 14:30:00 +02:00
Nils Ohlmeier [:drno]
c44575eaca Bug 1013798 - fix the timeout of the checkMediaTrack function. r=jesup 2014-05-21 00:26:00 +02:00
Birunthan Mohanathas
849371302f Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:52 +03:00
Nils Ohlmeier [:drno]
b77b726196 Bug 991877 - add a test case for PeerConnection.close(). r=rjesup 2014-05-15 15:38:00 +02:00
Nils Ohlmeier [:drno]
a35b125dda Bug 1010007 - read TURN server config from JSON file. r=rjesup 2014-05-15 18:41:00 +02:00
Nils Ohlmeier [:drno]
e6c814edbb Bug 1010670 - allow test_peerConnection_basic* to be executed by steeplechase. r=ted 2014-05-14 21:17:00 +02:00
Landry Breuil
adcdbb38b7 Bug 981780: disable some dom/media webrtc tests if webrtc isnt enabled r=drno 2014-05-09 14:41:25 -04:00
Martin Thomson
1da2ae7050 Bug 966066 - Correct tests that depend on this. r=jib 2014-04-25 10:33:00 -04:00
Nils Ohlmeier [:drno]
4f2c11de94 Bug 965656 - wait for the close of PC in all tests. r=jesup 2014-05-12 09:38:00 +02:00
Neil Rashbrook
8868f86752 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-11 10:47:11 +01:00
Ryan VanderMeulen
62c32bf7d6 Backed out changesets 33e91919b06b and a3a67e1ded26 (bug 981780) for OSX bustage.
CLOSED TREE
2014-05-09 15:26:13 -04:00
Landry Breuil
2969370431 Bug 981780: disable some dom/media webrtc tests if webrtc isnt enabled r=drno 2014-05-09 14:41:25 -04:00
Ehsan Akhgari
4bfbeaa5c6 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Neil Rashbrook
978d29fd60 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
8fc1ba5e06 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Ted Mielczarek
5ddf1592de bug 815002 - allow using loopback devices in WebRTC mochitests on Linux when available. r=jsmith,jmaher 2014-05-01 07:18:00 -04:00
Ted Mielczarek
2c20f5d8c9 bug 999072 - fix leak in MediaManager loopback device pref checks, enable them for non-DEBUG. r=jesup 2014-05-08 14:18:40 -04:00
Martin Thomson
e050622aff Bug 942367 - Stream isolation for WebRTC r=bholley 2014-05-01 12:51:00 +02:00
Nils Ohlmeier [:drno]
24a8adc273 Bug 873049 - properly compare media constraints with audio and video tracks instead of streams. r=jsmith,jesup 2014-05-01 13:19:00 +02:00
Jan Beich
93e853468f Bug 1004183: Unbreak build with --disable-webrtc after bug 907352 r=jib 2014-05-01 02:58:48 -04:00
Nils Ohlmeier [:drno]
9a27086816 Bug 1000741 - only add the fake media constraint if not provided by the caller. r=rjesup 2014-04-24 00:18:00 +02:00
Ryan VanderMeulen
fcc2fff7b5 Merge m-c to inbound. 2014-04-27 20:57:44 -04:00
Ryan VanderMeulen
29df3d7bb2 Bug 963244 - Disable test_dataChannel_basicAudio.html on B2G emulator builds for being nearly perma-fail. 2014-04-27 20:05:37 -04:00
David Clarke
fb728ae029 Bug 993783 - Create a mochitest which exercises all the different events for PC.onsignalingstatechange. r=drno 2014-04-24 23:12:00 -04:00
Birunthan Mohanathas
504b581650 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Jan-Ivar Bruaroey
dc758ea8d1 Bug 907352 - Part 6: Change media.navigator.video.default_width to 0. r=mt 2014-04-24 19:30:08 -04:00
Jan-Ivar Bruaroey
398687e6de Bug 907352 - Part 5: Wiring for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:15:10 -04:00
Jan-Ivar Bruaroey
27c5ae175d Bug 907352 - Part 4: Normalized constraints to relieve downstream width/height/frameRate implementation. r=mt 2014-04-18 15:16:08 -04:00
Jan-Ivar Bruaroey
986249d24d Bug 907352 - Part 3: WebIDL for width/height/frameRate gUM constraints. r=mt 2014-04-18 15:14:44 -04:00
Jan-Ivar Bruaroey
7a7b436da1 Bug 907352 - Part 2: Backwards-compatible facingMode constraint on mobile. r=mt, r=drno 2014-04-18 15:14:23 -04:00
Jan-Ivar Bruaroey
c601ff3ab9 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 14:00:16 -04:00
Byron Campen [:bwc]
94608c67c8 Bug 970734 - Part 1: When ICE fails, log a pointer to about:webrtc in the JS console. r=jib 2014-04-10 10:33:08 -07:00
Jan Beich
f34bd92e17 Bug 996433 - Sprinkle MOZ_WEBRTC ifdefs to unbreak --disable-webrtc after bug 694814. r=jesup 2014-04-21 09:15:34 +02:00
Ryan VanderMeulen
d503f72d54 Backed out changesets d8d01c95be03 and 5fa0c8f5ccb2 (bug 907352) for Linux64 mochitest-3 crashes. 2014-04-18 11:22:21 -04:00
Jan-Ivar Bruaroey
c231f8dafe Bug 907352 - Part 2: Backwards-compatible facingMode constraint on mobile. r=mt, r=drno 2014-04-17 12:37:13 -04:00
Jan-Ivar Bruaroey
2bbfbe3315 Bug 907352 - Part 1: Update to most recent constraints syntax. r=mt 2014-04-18 03:23:29 -04:00
Nils Ohlmeier [:drno]
eda0ff85ea Bug 989936 - fire the onsignalingstatechanged event if close was called locally. r=jesup 2014-04-16 18:02:00 +02:00
Nicholas Nethercote
a9f4bca02b Bug 996989 - Remove unneeded import of PopupNotifications.jsm in PeerConnection.js. r=jib. 2014-04-16 21:09:02 -07:00
Carsten "Tomcat" Book
b5fc89d249 Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
43558d920e Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Randell Jesup
44384d2552 Bug 993495: Update MediaManager UI r=jesup,florian,smaug 2014-04-16 02:22:19 -04:00
Kyle Huey
bb4b172be0 Bug 994971: Don't export nsObserverService.h. r=bsmedberg
--HG--
extra : rebase_source : cd5aa136075086a10cfa03d937743d8a5471fd6c
2014-04-14 12:04:27 -07:00
Ryan VanderMeulen
f6d009af86 Backed out changeset e2d5b2be4142 (bug 994971) for non-unified bustage.
CLOSED TREE
2014-04-14 18:27:52 -04:00
Kyle Huey
54f8bae9b6 Bug 994971: Don't export nsObserverService.h. r=bsmedberg 2014-04-14 12:04:27 -07:00
Martin Thomson
c26fcf428f Bug 980648 - Bump IdP timeout up. r=drno 2014-04-09 11:12:06 -07:00
Randell Jesup
87719de66a Bug 694814: Patch 6 - Change gUM prefs to media.getusermedia.*, groundwork for in-call changes r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
0d309498a3 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
be10a847d3 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Carsten "Tomcat" Book
dad7119019 Backed out changeset 5dbda270ef93 (bug 970734) for causing B2G ICS Emulator Opt mochitest-5 test failure on a CLOSED TREE 2014-04-10 11:35:40 +02:00
Byron Campen [:bwc]
d4ddd92aa7 Bug 970734 - Part 1: When ICE fails, log a pointer to about:webrtc in the JS console. r=jib 2014-04-08 14:22:54 -07:00
Martin Thomson
c9ab748a7b Bug 959870 - Fixing some JavaScript abuses. r=bwc 2014-04-08 14:26:00 +02:00
Martin Thomson
5e784a518e Bug 959870 - Error reporting improvements to WebRTC IdP. r=jib 2014-04-08 14:26:00 +02:00
Boris Zbarsky
fdbb455d4f Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
3f26a82832 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen
56745df22c Backed out changeset 27578e0cf97f (bug 959870) for webrtc test bustage. 2014-04-08 15:30:31 -04:00
Martin Thomson
2ac58150d3 [PATCH] Bug 959870 - Error reporting improvements to WebRTC IdP r=jib
From e1fce543ab34ddd69bb8f8efde56c45bddaa1152 Mon Sep 17 00:00:00 2001
---
 dom/events/test/test_all_synthetic_events.html     |   6 +-
 dom/media/IdpProxy.jsm                             |  10 +-
 dom/media/PeerConnection.js                        |  31 ++----
 dom/media/PeerConnectionIdp.jsm                    | 124 +++++++++++++--------
 dom/media/tests/identity/identityevent.js          |  15 +++
 dom/media/tests/identity/idp-proxy.js              |  10 +-
 dom/media/tests/identity/mochitest.ini             |   1 +
 .../tests/identity/test_getIdentityAssertion.html  |  30 +++--
 dom/media/tests/identity/test_idpproxy.html        |   7 --
 .../tests/identity/test_setIdentityProvider.html   |  25 ++++-
 .../test_setIdentityProviderWithErrors.html        |  72 +++++++++---
 dom/media/tests/mochitest/pc.js                    |  22 +++-
 dom/webidl/RTCPeerConnection.webidl                |   7 +-
 .../RTCPeerConnectionIdentityErrorEvent.webidl     |  23 ++++
 dom/webidl/moz.build                               |   1 +
 modules/libpref/src/init/all.js                    | 108 +++++++++---------
 16 files changed, 316 insertions(+), 176 deletions(-)
 create mode 100644 dom/media/tests/identity/identityevent.js
 create mode 100644 dom/webidl/RTCPeerConnectionIdentityErrorEvent.webidl
2014-03-14 11:26:19 -07:00
Randell Jesup
37aaff9726 Backed out changeset 74e5c32c6fa2 (bug 694814) 2014-04-07 15:37:51 -04:00
Randell Jesup
cfc12f48eb Backed out changeset 6dc08e9fc7e8 (bug 694814) 2014-04-07 15:37:50 -04:00
Randell Jesup
6672f86997 Backed out changeset 1cf98d1c6b75 (bug 694814) 2014-04-07 15:37:49 -04:00
Jan-Ivar Bruaroey
5198d30d69 Bug 916012 - Clean up gUM to use webidl unions and filter by media-type. r=bz, r=bwc 2014-04-04 05:54:25 -04:00
Randell Jesup
d4e6f0a16b Bug 694814: Patch 6 - Change gUM prefs to media.getusermedia.*, groundwork for in-call changes r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
fe864bc4dd Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
c494421e10 Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Nils Ohlmeier [:drno]
cd81bd6a00 Bug 991368 - Avoid exception on calling close() twice. r=abr, r=jesup 2014-04-04 08:34:25 -04:00
Nils Ohlmeier [:drno]
ed5c76a3af Bug 989047 - increase canplaythrough timeouts to accomodate B2G slowness. r=jesup 2014-04-03 18:11:00 +02:00
Nils Ohlmeier [:drno]
a284708e73 Bug 965656 - properly close() PC's when no longer used. r=jesup 2014-04-03 10:56:00 +02:00
Neil Rashbrook
88a9233a1e Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-04-03 23:06:26 +01:00
Carsten "Tomcat" Book
0636f0c304 Backed out changeset 08d032cb14a9 (bug 965656) for B2G ICS Emulator Opt M7 Test Failures 2014-04-03 13:47:52 +02:00
Nils Ohlmeier [:drno]
2e27b2757c bug 965656 - properly close() PC's when no longer used. r=jesup 2014-04-02 13:56:00 +02:00
Randell Jesup
93614a0e20 Backed out 965c62289427:cb894b5d342f for perma-orange on b2g emulator M10 r=backout 2014-04-02 17:11:12 -04:00
Randell Jesup
90d2a6cc51 Bug 694814: Patch 6 - Change gUM prefs to media.getusermedia.*, groundwork for in-call changes r=jib 2014-04-02 13:58:20 -04:00
Randell Jesup
54427b9318 Bug 694814: Patch 5 - Move AEC from PeerConnection to getUserMedia rs=padenot 2014-04-02 13:58:19 -04:00
Randell Jesup
7024ecf09f Bug 694814: Patch 4 - Add audio playout delay config var r=padenot 2014-04-02 13:58:19 -04:00
Phil Ringnalda
7e188029e3 Merge b-i to m-c 2014-03-29 09:18:08 -07:00
Edgar Chen
0c858f8485 Bug 978709 - 4.h/6: NetworkInterfaceListService changes. r=vicamo 2014-03-29 15:18:25 +08:00
Boris Zbarsky
9553dba3d6 Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
David Clarke
d84efdf57d Bug 987548 - Reduces the number of tests ran through ipc, to reduce intermittency. r=schien 2014-03-27 22:28:00 +01:00
Martin Thomson
e4977f68e1 Bug 985762 - Remove displayname from IdP protocol. r=jib 2014-03-20 15:49:33 -07:00
Ryan VanderMeulen
d9d827e562 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Randell Jesup
d7a2db866a Bug 986764: don't leak a thread for every getUserMedia doorhanger r=jib 2014-03-26 17:57:46 -04:00
Martin Thomson
1811d70926 Bug 976692 - Add IdP caching. r=jib
CLOSED TREE
2014-03-14 11:25:37 -07:00
Jason Smith
7c3273565c Bug 985274 - Ensure generated callback function handles string objects. r=drno 2014-03-24 20:57:15 -07:00
Martin Thomson
3108d96efa Bug 970606 - Add username to setIdentityProvider. r=jib 2014-03-14 11:25:33 -07:00
Nils Ohlmeier [:drno]
dcedc153cd Bug 977944: dump mochitest log file in case of ICE failure r=bwc 2014-03-26 11:16:17 -07:00
Jessica Jong
e588a7fc25 Bug 984327 - Part 2: Modify test cases for dun. r=vicamo 2014-03-19 08:39:00 -04:00
Jan-Ivar Bruaroey
2971ef103f Bug 970682 - Add RTT to about:webrtc. r=bwc 2014-03-14 15:22:30 -04:00
Nils Ohlmeier [:drno]
482546dee4 Bug 977944 - Dump SDP offer and aswer for debugging ICE connection failures. r=bwc 2014-03-15 17:11:11 -04:00
Jan-Ivar Bruaroey
ea6669db65 Bug 970686 - Weaken rtcp timestamp tests on XP to avoid clock drift. r=philor 2014-03-15 00:26:59 -04:00
Kyle Huey
c547e55be7 Bug 967364: Replace crazy already_AddRefed handling with something reasonable. r=jesup 2014-03-15 12:00:15 -07:00