Andreas Farre
63e21eec70
Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
...
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.
Depends on D64390
Differential Revision: https://phabricator.services.mozilla.com/D67631
--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Byron Campen [:bwc]
944d6971a3
Bug 1603887: Drive closing of DataChannels with transport events, not negotiation events. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D67946
--HG--
extra : moz-landing-system : lando
2020-03-23 21:52:51 +00:00
Nico Grunbaum
7c9ebecaf3
Bug 1552293 - round up freinds of DataChannel and DataChannelConnection - r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D31527
--HG--
extra : moz-landing-system : lando
2020-03-23 20:35:28 +00:00
sonakshi
641f3860b8
Bug 1621589 - Convert pointer to rtcweb_datachannel_open_request to UniqueFreePtr r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D66894
--HG--
extra : moz-landing-system : lando
2020-03-16 15:19:44 +00:00
Boris Zbarsky
00cd5d4380
Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug
...
Callers should pass in UTF-8, since that's what the JS engine ends up with in the end anyway.
The various URL changes are because NS_NewURI converts incoming nsAString to
UTF-8 anyway. So we might as well do that up-front and then use the UTF-8
string for both the NS_NewURI call and the error-reporting if it fails.
Differential Revision: https://phabricator.services.mozilla.com/D65543
--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:02 +00:00
Eric Rahm
b9ba9be64d
Bug 1322095 - Part 1b: Update callbacks to support moved args and convert nsAutoPtr usage. r=jya
...
In order to support the update to move args when invoking callbacks we:
- Convert anything that was using WrapRunnable with `nsAutoPtr` to `UniquePtr`
- Convert anything that was using a non-const ref as a param to either a
const ref or a by-val copy
Addtionally we convert the remaining `nsAutoPtr` usage to `UniquePtr`.
Differential Revision: https://phabricator.services.mozilla.com/D59961
--HG--
extra : moz-landing-system : lando
2020-02-21 22:43:53 +00:00
Boris Zbarsky
d82355eb35
Bug 1615481. Throw the right exception from DataChannel.send() when the message is too big. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D62850
--HG--
extra : moz-landing-system : lando
2020-02-18 20:34:28 +00:00
Dan Minor
d7acfc2b3b
Bug 1613765 - Cherry pick upstream sctp revision 0d166e; r=ng
...
Depends on D62071
Differential Revision: https://phabricator.services.mozilla.com/D62072
--HG--
extra : moz-landing-system : lando
2020-02-15 14:29:03 +00:00
Dan Minor
397f865671
Bug 1613765 - Cherry pick upstream sctp revision 790a7a2; r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D62071
--HG--
extra : moz-landing-system : lando
2020-02-15 14:29:03 +00:00
Emilio Cobos Álvarez
e5463ecf7f
Bug 1614718 - Add two missing includes to unbust thunderbird.
...
Differential Revision: https://phabricator.services.mozilla.com/D62474
--HG--
extra : moz-landing-system : lando
2020-02-11 19:18:45 +00:00
Eric Rahm
2c08316c5d
Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D60341
--HG--
extra : moz-landing-system : lando
2020-02-11 16:20:08 +00:00
Coroiu Cristina
73c0827187
Backed out 2 changesets (bug 1322095) for build bustage at dist/include/mtransport/runnable_utils.h on a CLOSED TREE
...
Backed out changeset 14e115ba7f12 (bug 1322095)
Backed out changeset 078c0fe497b7 (bug 1322095)
2020-01-23 19:50:51 +02:00
Eric Rahm
e120eee6b8
Bug 1322095 - Part 1b: Update callbacks to support moved args and convert nsAutoPtr usage. r=jya
...
In order to support the update to move args when invoking callbacks we:
- Convert anything that was using WrapRunnable with `nsAutoPtr` to `UniquePtr`
- Convert anything that was using a non-const ref as a param to either a
const ref or a by-val copy
Addtionally we convert the remaining `nsAutoPtr` usage to `UniquePtr`.
Differential Revision: https://phabricator.services.mozilla.com/D59961
--HG--
extra : moz-landing-system : lando
2020-01-23 17:38:18 +00:00
Jan-Ivar Bruaroey
85c420c220
Bug 1547106: Throw OperationError in createDataChannel() if id in use. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D60569
--HG--
extra : moz-landing-system : lando
2020-01-22 14:20:26 +00:00
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