Commit Graph

173 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
e285a213e7 Backed out changeset e6c72bcaa64c (bug 942367) 2014-04-16 09:54:31 +02:00
Martin Thomson
d27d0a86fc Bug 942367 - Stream isolation for WebRTC. r=jib,bholley 2014-04-15 14:36:00 +02:00
Carsten "Tomcat" Book
5f15967438 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]
d53a4f744e 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
dcf290639e Bug 959870 - Error reporting improvements to WebRTC IdP. r=jib 2014-04-08 14:26:00 +02:00
Ryan VanderMeulen
0260a94e91 Backed out changeset 27578e0cf97f (bug 959870) for webrtc test bustage. 2014-04-08 15:30:31 -04:00
Martin Thomson
7c077b748e [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
Nils Ohlmeier [:drno]
498be98b94 Bug 991368 - Avoid exception on calling close() twice. r=abr, r=jesup 2014-04-04 08:34:25 -04:00
Martin Thomson
fae57f41a0 Bug 985762 - Remove displayname from IdP protocol. r=jib 2014-03-20 15:49:33 -07:00
Byron Campen [:bwc]
b8e3447334 Bug 958221 - Part 3: New webidl for WebrtcGlobalInformation, c++ impl, and removing logging-related stuff from PeerConnectionImpl. r=jib 2014-02-20 09:35:35 -08:00
Martin Thomson
2c7865cbef Bug 884573 - Part 2: Identity assertion generation and verification for WebRTC. r=abr 2014-02-10 14:41:46 -08:00
"Martin Thomson [:mt]"
7ae980b6ac Bug 878941 - Add IdP proxy for WebRTC. r=abr 2014-02-20 16:26:16 -08:00
Byron Campen [:bwc]
9830e6cc6c Bug 908923 - Part 2: Add a button to dump the entire rlog ringbuffer to about:webrtc. r=abr 2013-11-25 14:38:41 -08:00
Byron Campen [:bwc]
1ff222c375 Bug 906990: Part 14. Catch exceptions thrown by getStats, since this can fail in fairly innocuous circumstances. Also, do a better job of error reporting when the stats API is used on a closed PeerConnection. r=jib 2014-01-09 16:03:19 -08:00
Byron Campen [:bwc]
6c4d80ca56 Bug 906990: Part 12. Report statistics from all components when the MediaStreamTrack is not specified. r=ekr, r=jib 2014-01-14 08:48:27 -08:00
Ryan VanderMeulen
6da9369032 Backed out changesets bb7097d12256, 5e6c7217e92a, and 6779278f87df (bug 884573) and changeset 30e1a793fbf9 (bug 878941) for Cpp unit test failures. 2014-01-14 11:43:48 -05:00
Martin Thomson
99f81e42fb Bug 884573 - Split identity event into two. r=abr 2013-12-20 17:14:29 -08:00
Martin Thomson
693f8fdc57 Bug 884573 - Identity assertion generation and verification for WebRTC. r=abr 2013-12-20 14:55:59 -08:00
Martin Thomson
f8512355e8 Bug 878941 - Add IdP proxy code with tests. r=abr 2013-12-18 16:15:40 -08:00
Ryan VanderMeulen
1b31e70c16 Backed out changesets f04c846c7492, 9bc5c5a8554e, and a4f2af4617da (bug 906990) for WebRTC mochitest failures.
CLOSED TREE
2014-01-13 10:53:40 -05:00
Byron Campen [:bwc]
ed5795c185 Bug 906990: Part 14. Catch exceptions thrown by getStats, since this can fail in fairly innocuous circumstances. Also, do a better job of error reporting when the stats API is used on a closed PeerConnection. r=ekr, r=jib 2014-01-09 16:03:19 -08:00
Byron Campen [:bwc]
deb10c6eab Bug 906990: Part 12. Report statistics from all components when the MediaStreamTrack is not specified. r=ekr 2014-01-10 13:21:39 -08:00
Jan-Ivar Bruaroey
7b080ff922 Bug 950855 - Spec-compliant enumeration of RTCStatsReport. r=bz 2013-12-19 10:34:39 -05:00
Adam Roach [:abr]
cefb282dcf Bug 784491 - Part 1: Add constraints to addStream r=jib 2013-12-18 13:54:23 -06:00
Byron Campen [:bwc]
985a421294 Bug 943898: Fixed an important iceState -> iceConnectionState replacement and a few less-important ones. r=abr 2013-11-27 09:32:23 -08:00
Byron Campen [:bwc]
67f0c411ba Bug 935723. Part 1. Decouple ICE state with ICE gathering state r=ekr,abr,jesup 2013-11-13 14:53:30 -08:00
Byron Campen [:bwc]
aebc089f65 Bug 906990: Part 10. Webidl and implementation for WebrtcGlobal. Encompasses things like global stats and logging. r=jib,bz 2013-11-25 11:01:03 -08:00
Jan-Ivar Bruaroey
5e7893b429 Bug 933447 - Use new weakRef to JSImpl feature. r=smaug, r=mccr8, r=abr 2013-11-08 19:45:59 -05:00
Byron Campen [:bwc]
07393b8d26 Bug 933360. Change GlobalPCList._list from an array to an object, and rewrite some teardown code r=jib 2013-10-31 11:50:59 -07:00
Florian Quèze
6df1f34aef Bug 831759 - PeerConnection set*Description callbacks can be overwritten prematurely, r=abr. 2013-11-12 13:09:26 +01:00
Andrew McCreight
d9397ab65a Bug 934035 - Make PeerConnectionObserver's constructor not take an object argument. r=jib 2013-11-01 17:49:48 -07:00
Byron Campen [:bwc]
d3b8da349d Bug 906990 - Part 8: Create a chrome-only stats interface, and only expose the candidate pair stats there. r=jib 2013-10-29 10:29:43 -07:00
Byron Campen [:bwc]
3bca483297 Bug 906990 - Part 7: Populate candidate pairs in RTCStatsReport. r=jib 2013-10-28 16:02:00 -07:00
Mark Banner
63dedc7c29 Bug 932970 - Trickle ICE doesn't always send a null-candidate at the end of the candidate list - reference the localDescription correctly. r=abr 2013-11-01 09:37:02 +00:00
Jan-Ivar Bruaroey
f158da18a1 Bug 929530 - Remove peerConnection functionality deprecated w/warnings since 24 r=jesup,jib 2013-10-27 10:36:34 -04:00
Randell Jesup
981ced8cf7 Backed out changeset b490b5843f3c for M2 bustage 2013-10-27 20:45:28 -04:00
Jan-Ivar Bruaroey
d51413d11e Bug 929530 - Remove peerConnection functionality deprecated w/warnings since FF24 r=jesup 2013-10-27 10:36:34 -04:00
Mark Banner
f5329402cf Bug 920991 - Default stun server ip address should be changed to a domain name. r=abr 2013-10-23 09:59:37 +01:00
Randell Jesup
538ad93772 Bug 928221: reland (backed out due to bug 924992: webidl changes sometimes fail in incremental builds) r=jesup,abr 2013-10-19 12:21:06 -04:00
Ehsan Akhgari
f8b323b72d Backed out changeset dc2b71e57211 (bug 928221) because it calls a non-existing GetWeakReferent function 2013-10-19 10:48:41 -04:00
Jan-Ivar Bruaroey
e11c328914 Bug 928221 r=jesup, abr 2013-10-18 17:22:05 -04:00
Jan-Ivar Bruaroey
b04d27e132 Bug 902003: getStats API skeleton. r=jesup, smaug 2013-10-17 18:00:05 -04:00
Jan-Ivar Bruaroey
f077322b14 Bug 917328: Second, convert PeerConnectionImpl and PeerConnectionObserver to webidl. r=bz, rjesup 2013-10-14 12:53:56 -04:00
Jan-Ivar Bruaroey
f701f0cec3 Bug 917328: First, update PeerConnection's constraints to webidl. r=bz, jesup 2013-10-09 22:27:54 -04:00
EKR
f047d70810 Bug 924991 - Make ICE candidates 0-based. r=abr 2013-10-09 10:37:04 -07:00
Ed Morley
d4bbe1a9cb Backed out changeset 36a709ae32db (bug 917328) for failures in test_exceptions_from_jsimplemented.html on a CLOSED TREE 2013-10-09 16:46:03 +01:00
Jan-Ivar Bruaroey
42c5c38096 Bug 917328 - Part 1: Update PeerConnection's constraints to webidl. r=bz, r=jesup 2013-10-03 15:48:42 -04:00
Adam Roach [:abr]
1b39ba8333 Bug 921656 - Fix ICE state change handling and onicecandidate callback r=jib 2013-10-02 11:32:59 -05:00
EKR
29a91b5278 Bug 842549 - Part 3: PC.js changes for trickle r=abr 2013-09-16 17:42:39 -07:00
Olli Pettay
4b306c275b Bug 919840 - Use WebIDL codegen to implement WebRTC events, r=jib
--HG--
extra : rebase_source : ae7aa26cbfb775ddea775a0c084d4a8d1f6fa82e
2013-09-25 12:48:03 +03:00
Jan-Ivar Bruaroey
7b748fad0c Bug 903741: Use new DOMError approach in PeerConnection to get error messages out + unittests r=jesup 2013-09-06 15:29:29 -04:00
Peter Van der Beken
b174788298 Bug 905392 - Need way to throw web-console-visible exception-message from JS-implemented webidl object. r=bz. 2013-09-03 14:01:53 +02:00
Ben Brittain
ebb7ef4ee3 Bug 874175 - Add telemetry for ice success rates. r=derf 2013-08-26 14:33:31 -04:00
Jan-Ivar Bruaroey
191ab1fe7c Bug 906105 - Store external 0-based sdpMLineIndex rather than internal 1-based one. r=ehugg 2013-08-22 12:26:54 -04:00
Jan-Ivar Bruaroey
194b5e5b04 Bug 903539 - Readable exceptions for missing username/credential on turn servers (still in Error console, sigh). r=jesup 2013-08-10 04:19:35 -04:00
Mina Almasry
6e0cc6d805 Bug 872377 - Restore "toJSON" to list of reserved webidl keywords. r=bz
This patch makes toJSON a reserved webidl keyword, and changes the implementation of mozRTCSessionDescription to use a jsonifier.
2013-07-29 12:39:18 -04:00
Randell Jesup
d0cd3efbcf Bug 892441: Actually use the new names for createDataChannel r=smaug 2013-07-16 14:33:37 -04:00
Adam Roach [:abr]
733a8c352c Bug 784519 - Part 3: Send Signaling State from SIPCC to PeerConnection r=ekr 2013-05-16 18:41:46 -05:00
Adam Roach [:abr]
ea26cdbf26 Backed out changeset 90968836cce3 (bug 784519) on a CLOSED TREE 2013-06-06 17:40:21 -05:00
Adam Roach [:abr]
f26f472d40 Bug 784519 - Part 3: Send Signaling State from SIPCC to PeerConnection r=ekr 2013-05-16 18:41:46 -05:00
Randell Jesup
6249d89fc4 Bug 878945: rename RTCDataChannelInit dictionary items to match updated spec r=smaug 2013-06-03 17:34:42 -04:00
Jan-Ivar Bruaroey
a664470d9e Bug 872839 - Part 1: Put new PeerConnections on global list earlier, ensuring close is called should PC.initialize fail. r=jesup 2013-05-22 13:05:20 -04:00
Jan-Ivar Bruaroey
8154e0de42 Bug 823512: Part 4: Workaround for lack of serializer support (bug 863402). r=bz 2013-05-15 01:07:49 -04:00
Jan-Ivar Bruaroey
1bc4070ba9 Bug 823512: Part 3: Deprecated API calls emit warnings to web-console. r=jesup,bz 2013-05-11 20:48:29 -04:00
Jan-Ivar Bruaroey
1cfedb8565 Bug 823512: Part 2: Update PeerConnection to spec. states + DataChannel. r=bz,rjesup,ekr 2013-05-16 19:40:23 -04:00
Jan-Ivar Bruaroey
98794b08f6 Bug 823512: Rewrite PeerConnection in JS-implemented WebIDL r=bz,jesup 2013-05-07 20:55:21 -04:00
Randell Jesup
6c552d6d53 Bug 864255: Move more of PeerConnectionMedia shutdown to occur synchronously r=ekr 2013-05-12 22:16:40 -04:00
Jan-Ivar Bruaroey
c06b247230 Bug 857765 - Add try/catch to content-script window.onerror call. r=abr 2013-04-17 19:03:39 -04:00
Jan-Ivar Bruaroey
9f4b6ef454 Bug 861718 - Friendly error about PeerConnection missing in Offline mode. r=jesup 2013-04-17 01:16:02 -04:00
Jan-Ivar Bruaroey
84a5ab4471 Bug 857765: Log errors thrown by user-defined PeerConnection callbacks r=msucan 2013-04-16 19:23:07 -04:00
Adam Roach [:abr]
8f1c3ae062 Bug 856425: Call onicecandidate with a null candidate immediately after setLocalDescription succeeds r=ekr 2013-04-09 16:18:32 -05:00
Randell Jesup
f1f1f8d7f1 Bug 846110: ondatachannel() should take an event not a channel r=smaug 2013-03-31 21:09:26 -04:00
Randell Jesup
494d0959c1 Bug 855623: DataChannel DOM changes for adding 'protocol' and external negotiation r=smaug 2013-03-31 21:09:25 -04:00
Adam Roach [:abr]
c739458274 Bug 834270 - Fix PeerConnection error callbacks to return code/reason phrase r=ekr,jsmith 2013-03-29 15:30:16 -05:00
Suhas
07fd9b9546 Bug 844295 - Make removeStream as not implemented. r=abr, r=jesup 2013-03-29 11:29:28 -04:00
Ryan VanderMeulen
70b5c9123f Bug 825560 - Support readyState on PeerConnection. r=jesup 2013-03-27 20:48:52 -04:00
Jan-Ivar Bruaroey
189b044b95 Bug 834933 - PeerConnection.js throws Components.Exception so errors are readable. r=jesup 2013-03-14 17:36:50 -04:00
Florian Quèze
fe7ef37c6a Bug 839106 - Add preferences to control the stun behavior, r=jesup. 2013-02-18 14:49:14 +01:00
Jan-Ivar Bruaroey
92a410c896 Bug 835370 - Optional offer/answer constraints work + unsupported mandatory ones fail. r=bz, r=jesup 2013-02-14 02:08:56 -05:00
Boris Zbarsky
0880803e2f Bug 822674. Give RTCPeerConnection a sane classinfo. r=jst,jesup. r=peterv pending 2013-02-15 22:41:31 -05:00
Andrew Miller
a3d39b9bfa Bug 834100 - Null deref if you call addIceCandidate on an RTCPeerConnection before setting localDesc [@ fsmdef_ev_addcandidate]. r=abr 2013-01-31 15:43:03 -05:00
Ryan VanderMeulen
373b364c09 Backed out changeset b1e8d7154488 (bug 834100) for Fedora64 M3 orange. 2013-01-31 17:14:13 -05:00
Andrew Miller
f58619e166 Bug 834100 - Null deref if you call addIceCandidate on an RTCPeerConnection before setting localDesc [@ fsmdef_ev_addcandidate]. r=abr 2013-01-31 15:43:03 -05:00
Adam Roach [:abr]
309a81e0a4 Bug 834153 - Queue CreateAnswer State Checks, remove extraneous _executeNext calls. r=jesup 2013-01-24 21:44:30 -06:00
Jan-Ivar Bruaroey
0995673625 Bug 834463: Corrected RTCConfiguration format. r=jst 2013-01-24 17:58:29 -05:00
Jan-Ivar Bruaroey
4da08a17f1 Bug 825703: Stun configuration from JS for PeerConnections (IP only) r=bz,jesup 2013-01-23 14:21:25 -05:00
Adam Roach [:abr]
cfd4cca0c9 Bug 827843: Check for closed state on relevant operations r=jesup,smaug 2013-01-17 14:25:17 -06:00
Ryan VanderMeulen
3efa2175dc Backed out changeset 33b1caee42d2 (bug 827843) for Android test failures. 2013-01-24 20:02:59 -05:00
Andrew Miller
86a666bcbe Bug 833948 - Fix misspelling of property from candidateInitDict. r=rjesup 2013-01-24 10:00:22 +13:00
Adam Roach [:abr]
599d531391 Bug 827843: Check for closed state on relevant operations r=jesup,smaug 2013-01-17 14:25:17 -06:00
Adam Roach [:abr]
f922f6b3ab Bug 825570: Finish plumbing attribute getters for localDescription and remoteDescription r=jesup,smaug 2013-01-14 16:25:54 -06:00
Adam Roach [:abr]
c26dd6c6e1 Bug 824919: Weaken key references to PeerConnection and friends r=jesup,smaug,ekr 2013-01-17 17:11:14 -06:00
Ethan Hugg
ef6cacd7b1 Bug 825565 CreateOffer/Answer should be callable more than once r=jesup 2013-01-16 07:53:56 -08:00
Ryan VanderMeulen
e1e12091ba Backed out changeset cebb008a72f9 (bug 824919) for mochitest b-c orange.
CLOSED TREE
2013-01-14 22:01:12 -05:00
Adam Roach [:abr]
f6c5f21152 Bug 824919: Weaken key references to PeerConnection and friends,r=jesup,smaug,ekr 2013-01-14 17:00:20 -06:00
Ethan Hugg
ab8873ab23 Bug 825569 - Allow setLocal/RemoteDescription to be called more than once r=jesup 2013-01-08 10:40:15 -08:00
Adam Roach [:abr]
e86ce73501 Bug 797534: Update PeerConnectionImpl to use SDP from SIPCC, r=ehugg 2012-12-19 09:25:51 -06:00
Adam Roach
31a68e5a48 Bug 817429: Accept candidate messages that are zero numbered r=jesup 2012-11-21 12:48:32 -06:00
Randell Jesup
38c1bec0e2 Bug 812886: disable peerconnection creation while offline r=smaug 2012-12-11 07:58:12 -05:00
Paul Adenot
8f7a82b1bf Bug 817433 - Accept missing Mid for RTCIceCandidate. r=jesup 2012-12-02 14:10:19 -08:00