Commit Graph

349 Commits

Author SHA1 Message Date
Nico Grunbaum
0374ef3d44 Bug 1586593 - dispatch CloseInt on DataChannel Open ACK failure - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D48938

--HG--
extra : moz-landing-system : lando
2019-10-11 17:03:23 +00:00
Nico Grunbaum
890b535549 Bug 1584751 - Only open DataChannelConnections that aren't already open; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D47691

--HG--
extra : moz-landing-system : lando
2019-10-05 02:48:15 +00:00
Nico Grunbaum
5115905e34 Bug 1584695 - Place DataChannelConnection connection state behind an accessor - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D47690

--HG--
extra : moz-landing-system : lando
2019-10-05 02:48:08 +00:00
Oana Pop Rus
4c353ccfd5 Backed out 2 changesets (bug 1584695, bug 1584751) for Assertion failures at at /builds/worker/workspace/build/src/xpcom/threads/BlockingResourceBase.cpp on a CLOSED TREE
Backed out changeset fac79eb65900 (bug 1584751)
Backed out changeset dd5211c4ded2 (bug 1584695)
2019-10-03 11:38:45 +03:00
Nico Grunbaum
a9ee1a3154 Bug 1584751 - Only open DataChannelConnections that aren't already open; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D47691

--HG--
extra : moz-landing-system : lando
2019-10-03 04:56:26 +00:00
Nico Grunbaum
294e97c17a Bug 1584695 - Place DataChannelConnection connection state behind an accessor - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D47690

--HG--
extra : moz-landing-system : lando
2019-10-03 04:56:18 +00:00
Andy Grover
05e7a5dee3 Bug 1584785 - Fix issues found via PVS-studio static analyzer
Differential Revision: https://phabricator.services.mozilla.com/D47559

--HG--
extra : moz-landing-system : lando
2019-09-30 09:35:42 +00:00
Nico Grunbaum
11d7e7febf Bug 1581023 - Expand DataChannel logging capabilities - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D45800

--HG--
extra : moz-landing-system : lando
2019-09-19 14:50:57 +00:00
Byron Campen [:bwc]
0ef1037a0d Bug 1553789: Don't connect unless our transport is the one that is ready. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D37898

--HG--
extra : moz-landing-system : lando
2019-07-15 14:10:03 +00:00
Byron Campen [:bwc]
0f9ef24e81 Bug 1562341: Set mNegotiatedIdLimit when the channel opens, and remove some code that was stomping our initially chosen max streams. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D36517

--HG--
extra : moz-landing-system : lando
2019-07-08 16:08:56 +00:00
Byron Campen [:bwc]
568b0afffe Bug 1556795: Add some thread assertions, and remove an unused member. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D35049

--HG--
extra : moz-landing-system : lando
2019-06-20 20:24:02 +00:00
Byron Campen [:bwc]
3ecf23e57c Bug 1556795: Simplifications related to DataChannel::mFlags. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D35048

--HG--
extra : moz-landing-system : lando
2019-06-20 20:24:00 +00:00
Byron Campen [:bwc]
a2d135b8fe Bug 1556795: Allocate stream ids as soon as client/server is negotiated, and try to negotiate id limit increases after. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D35047

--HG--
extra : moz-landing-system : lando
2019-06-20 20:23:57 +00:00
Ciure Andrei
4ffd609e9c Backed out 4 changesets (bug 1556795)for causing RTCPeerConnection-createDataChannel.html to perma fail CLOSED TREE
Backed out changeset 05898e5d5434 (bug 1556795)
Backed out changeset a87072937e2c (bug 1556795)
Backed out changeset f8ce8930bcab (bug 1556795)
Backed out changeset 112937d690e0 (bug 1556795)
2019-06-20 18:33:22 +03:00
Byron Campen [:bwc]
e3a896998c Bug 1556795: Add some thread assertions, and remove an unused member. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D35049

--HG--
extra : moz-landing-system : lando
2019-06-19 18:40:17 +00:00
Byron Campen [:bwc]
2ae75bd3ee Bug 1556795: Simplifications related to DataChannel::mFlags. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D35048

--HG--
extra : moz-landing-system : lando
2019-06-19 18:40:05 +00:00
Byron Campen [:bwc]
806b266db5 Bug 1556795: Allocate stream ids as soon as client/server is negotiated, and try to negotiate id limit increases after. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D35047

--HG--
extra : moz-landing-system : lando
2019-06-19 20:46:19 +00:00
Byron Campen [:bwc]
d3597b0e64 Bug 1381136: Stop sending with PPID fragmentation. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D34393

--HG--
extra : moz-landing-system : lando
2019-06-11 19:44:02 +00:00
Byron Campen [:bwc]
2d6cf50175 Bug 1551589: readyState fixes r=ng
Depends on D31085

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

--HG--
extra : moz-landing-system : lando
2019-05-29 21:27:18 +00:00
Mihai Alexandru Michis
4916ef8c09 Merge mozilla-central to autoland. CLOSED TREE 2019-05-17 12:36:07 +03:00
Nico Grunbaum
07d183b29f Bug 1551702 - hide DataChannelConnection ctor, and set local port - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D31343

--HG--
extra : moz-landing-system : lando
2019-05-16 18:43:13 +00:00
Byron Campen [:bwc]
6bc474b4f7 Bug 1548272: Don't look at mFlags in GetOrdered (since this is called on main). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D29529

--HG--
extra : moz-landing-system : lando
2019-05-09 15:37:55 +00:00
Byron Campen [:bwc]
d9e760b079 Bug 1529612 - Part 4: Work around issue where receiver would get message before sender saw its bufferedAmount drop. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D30389

--HG--
extra : moz-landing-system : lando
2019-05-09 16:12:35 +00:00
Byron Campen [:bwc]
eb8300b947 Bug 1529612 - Part 2: Keep/update bufferedAmount on main only. Some simplifications. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D28526

--HG--
extra : moz-landing-system : lando
2019-05-09 15:39:05 +00:00
Fabio Alessandrelli
aec49ddacd Bug 1529695: Implement RTCDataChannel.negotiated. r=bwc,smaug
--HG--
extra : amend_source : d16ca9ffde03d531b012c8f7263d49ef1137327b
2019-05-16 23:11:46 +02:00
Sylvestre Ledru
e226046cb8 Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
# ignore-this-changeset

Depends on D28954

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

--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Nico Grunbaum
8a57537454 Bug 1400563 - timer deadlock fix r=drno,dminor
timer deadlock fix

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

--HG--
extra : moz-landing-system : lando
2019-04-23 05:32:57 +00:00
Kris Maglione
c9ee4462eb Bug 1546500: Avoid dispatching synchronous thread shutdown runnables. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28555

--HG--
extra : rebase_source : 49c83199d51c208922bf55277a7d6052a36c199a
extra : amend_source : 6d2d246159d23723d24c0327e6adbf975545d7bd
2019-04-23 13:16:15 -07:00
Byron Campen [:bwc]
2c684f17ba Bug 1531904 - Part 3: Fix some validation logic in createDataChannel. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D26772

--HG--
extra : moz-landing-system : lando
2019-04-16 16:38:32 +00:00
Randell Jesup
f3e7d33519 Bug 1521304: Move some Mutexes r=tuexen,dminor 2019-02-12 07:28:27 -05:00
Razvan Maries
bb3267ce86 Backed out changeset 2161b075ce64 (bug 1521304) for high frequency mochitest failure, a=backout 2019-02-12 21:58:27 +02:00
Randell Jesup
88ffa67e55 Bug 1521304: Move some Mutexes r=tuexen,dminor 2019-02-12 07:28:27 -05:00
Byron Campen [:bwc]
68bc15c3ce Bug 1494311: Making the mtransport API a little more IPC friendly, and establishing a proper base-class. r=mt,mjf
Differential Revision: https://phabricator.services.mozilla.com/D17272

--HG--
extra : moz-landing-system : lando
2019-01-29 14:56:19 +00:00
Ehsan Akhgari
e5e885ae31 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset

--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
490e611801 Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

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

--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Byron Campen [:bwc]
e6218aee8a Bug 1494312 - Part 2: Make the internal PC stats API based on MozPromise. r=mjf,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D11776

--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:52 +00:00
Byron Campen [:bwc]
69e7155b3a Bug 1494312 - Part 1: Remove unused nsresult returns from MediaTransportHandler. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D11775

--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:23 +00:00
Byron Campen [:bwc]
41541e64f6 Bug 1494301: Single API for mtransport. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D7212

--HG--
extra : moz-landing-system : lando
2018-10-26 00:39:07 +00:00
Nils Ohlmeier [:drno]
0576d8d43c Bug 1051685: increase SCTP window size from 128K to 1M. r=lgrahl
Differential Revision: https://phabricator.services.mozilla.com/D8906

--HG--
rename : dom/media/tests/mochitest/test_dataChannel_basicDataOnly.html => dom/media/tests/mochitest/test_dataChannel_dataOnlyBufferedAmountLow.html
extra : moz-landing-system : lando
2018-10-16 21:12:34 +00:00
Randell Jesup
569d0d514e Bug 1493347: Drop DataChannelListener on Destroy() r=drno 2018-10-01 00:39:12 -04:00
Daniel Minor
8595564f3a Bug 1458048 - Cherry pick usersctp rev 8789a6da02e2c7c03522bc6f275b302f6ef977fe; r=drno 2018-06-20 21:18:50 -04:00
Andi-Bogdan Postelnicu
d9e98a1219 Bug 1453795 - WebRTC - Initialize member fields in classes/ structures. r=rjesup
--HG--
extra : amend_source : f4d5cf1f53793ddb457e81fdf9220ce43fbd4ff7
2018-06-15 18:55:03 +03:00
Byron Campen [:bwc]
777bf8b996 Bug 1455647 - Part 4: Make a place to live for context about media packets, to fix packet dump hooks. r+drno r=drno
MozReview-Commit-ID: 1HMF93mLa7r

--HG--
rename : media/mtransport/transportlayersrtp.cpp => media/webrtc/signaling/src/mediapipeline/TransportLayerPacketDumper.cpp
rename : media/mtransport/transportlayersrtp.h => media/webrtc/signaling/src/mediapipeline/TransportLayerPacketDumper.h
extra : rebase_source : 062814836325b69da17e8f592774f006e29905ad
2018-05-09 17:13:35 -05:00
Byron Campen [:bwc]
cb8df81f4c Bug 1455647 - Part 1: Simplify TransportFlow. r+drno r=drno
MozReview-Commit-ID: 1jJuln4WAw9

--HG--
extra : rebase_source : e5d9cba95e7e79815e9842edac2fc5eec54aac06
2018-04-27 12:14:40 -05:00
Randell Jesup
c0b25e1706 Bug 1395246: nullcheck DataChannel SendPacket calls, add some diagnostics r=drno 2018-06-07 15:26:25 -04:00
Dan Minor
e5457f8078 Bug 1464917 - Add GetMaxPacketLifeTime and GetMaxRetransmits to DataChannel; r=drno
MozReview-Commit-ID: BqukQygumpi

--HG--
extra : rebase_source : b5c801774d27a736ad4787adb957025f3adef201
2018-06-01 08:20:51 -04:00
Nils Ohlmeier [:drno]
bf1ee00dc5 Bug 1439236: exit early if m_copym gets called with null ptr r=dminor
Cheery-picked upstream commit:
d89882d049

MozReview-Commit-ID: 36bYbfIaqEz

--HG--
extra : rebase_source : 334b13ec00e9d82346a2c6ebfdadaf87b6161406
2018-05-16 09:51:35 -07:00
YUKI "Piro" Hiroshi
dd7b3aab39 Bug 1457395 - Fix typo "proces" in comments. r=milan
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
Chris Peterson
71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00