Kershaw Chang
a2f2bae579
Bug 1343743 - Part3-1: Use system group's event target for TCPSocketChild's constructor, r=bwc
...
Pass an event target argument in constructor, so we can call gNeckoChild->SetEventTargetForActor before sending constructor message to parent.
2017-06-12 00:23:00 +02:00
Dan Minor
f17b41d15d
Bug 1354353 - nICEr and nrappkit should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
...
This applies the fix used in Bug 1354207 for webrtc to nICEr and nrappkit.
--HG--
extra : rebase_source : d3f1370c9100ca66272611348c1b3462e65cdfaf
2017-05-30 12:37:29 -04:00
Nils Ohlmeier [:drno]
274b2c935b
Bug 1358889: check if mThread is around before dereferencing. r=jesup
...
MozReview-Commit-ID: 88ZonLVGZK9
--HG--
extra : rebase_source : 8d3ee2e0a9e77b73ece6d2351758ad8256b2ade0
2017-04-24 16:15:10 -07:00
Nils Ohlmeier [:drno]
f588ac7e28
Bug 1303867: destroy SSL FD to send out DTLS allert on close. r=mt
...
MozReview-Commit-ID: EaMkehmTcs3
--HG--
extra : rebase_source : 18acf0fe7bc3b6ccffc0c5667a962161411b56d5
2017-04-20 19:52:24 -07:00
Nils Ohlmeier [:drno]
948bfcc4f7
Bug 969715: remove INET and INET6 from sctp build env. r=jesup
...
MozReview-Commit-ID: 4e67tOzltoc
--HG--
extra : rebase_source : c0c134bde1b0400b3fc37aaada0187948442e9cb
2016-12-08 23:49:43 -10:00
Mike Hommey
34e619d1c1
Bug 1357323 - Remove support for gonk in the build system. r=gps
...
Everything depending on the widget being gonk can go away, as well as
everything depending on MOZ_AUDIO_CHANNEL_MANAGER, which was only
defined on gonk builds under b2g/ (which goes away in bug 1357326).
--HG--
extra : rebase_source : 9f0aeeb7eea8417fa4e06d662d566d67ecaf2a24
2017-04-18 16:56:09 +09:00
Nils Ohlmeier [:drno]
45a1983cc1
Bug 1354222: fix log level casting warnings. r=erahm
...
MozReview-Commit-ID: A6hnPD3NkYr
--HG--
extra : rebase_source : a59a3d5acfdc219dd3f21b6acf1179125c766f5b
2017-04-06 11:00:35 -07:00
Michael Froman
1a2153bf46
Bug 1353575 - Switch to google stun server instead of twilio for ice_unittest.cpp. r=bwc,drno
...
MozReview-Commit-ID: HrS3oKjg17Z
--HG--
extra : rebase_source : a4a40bb9a5694054d736cabc7ff22b57037f6487
2017-04-04 13:47:54 -05:00
Eric Rahm
83eba01284
Bug 1353143 - Part 1: Explicitly include prlog.h in mtransport/logging.h. r=drno
...
This updates mtransport logging to explicitly include prlog.h and defines
MOZ_MTLOG in terms of PR_LOG rather than MOZ_LOG when building outside of XUL.
2017-04-04 14:36:14 -07:00
Michael Froman
5ffad762cd
Bug 1350568 - don't dispatch IPC call to StunAddrsRequestChild after content process IPC channel goes away. r=jesup
...
MozReview-Commit-ID: IoAWO9Frf1u
--HG--
extra : rebase_source : fc3a5d8d066dadb476ea965014553c99515b1547
2017-03-26 13:30:28 -05:00
Nils Ohlmeier [:drno]
3fe5112bbb
Bug 1345791: ICE disconnect state is not a crash. r=bwc
...
MozReview-Commit-ID: IwrWVvjkNmX
--HG--
extra : rebase_source : e9c4b92acddb82298b439152e622132a49bd6daa
2017-03-29 16:39:42 -05:00
Dan Minor
429e0c1350
Bug 964133 - move nICEr and nrappkit to libxul; r=ted.mielczarek
...
Building these as part of the webkit lib adds unnecessary dependencies on Mozilla code for things that only case about the webrtc static lib.
MozReview-Commit-ID: 7ThU7hAwRX0
--HG--
extra : rebase_source : eef256711e205d023a647e6196dcc61e657f6e28
2017-01-13 09:28:43 -05:00
Michael Froman
31e4ce10aa
Bug 1350055 - fix --disable-webrtc build with new PStunAddrsRequest.ipdl r=jduell
...
MozReview-Commit-ID: 5oxJtUppHWC
--HG--
extra : rebase_source : 7cfbddb1168711439530b3ead47bd35bec70ab80
2017-03-23 20:04:41 -05:00
Michael Froman
647131bd6f
Bug 1345511 - pt 3 - start using IPC call for stun addrs in PCMedia. r=bwc
...
Two new calls are added to NrIceCtx.
1) A static call to allow StunAddrsRequestParent to get stun addrs from the main
process.
2) A call to allow StunAddrsRequestChild to pass the new stun addrs back to
PeerConnectionMedia on the content process.
PeerConnectionMedia, when running in e10s mode, sets up the StunAddrsRequestChild
and makes the async request to get the stun addrs. When they are returned, it
sets the stun addrs in NrIceCtx avoid the network calls that would otherwise
cause a further restricted sandbox to fail.
MozReview-Commit-ID: C2hYBzm6WNv
--HG--
extra : rebase_source : 4c71056850c418efdc0f709f4d838a3e0bf4bee2
2017-03-22 09:59:46 -05:00
Michael Froman
f0c929ff2d
Bug 1345511 - pt 2 - add IPC mechanism for getting stun addrs on main process. r=bwc
...
PStunAddrsRequest.ipdl defines the new IPC protocol to get stun
addrs on the main process.
StunAddrsRequestChild requests the stun addrs from the parent.
StunAddrsRequestParent uses a static method on NrIceCtx to get the
stun addrs from the STS thead and sends the addrs back to the
child process.
NrIceStunAddr (nricestunaddr.{cpp|h}) wraps nr_local_addr and makes
it easier to serialize/deserialize over IPC.
NrIceStunAddrMessageUtils follows the pattern used by other Necko
IPC classes to define top-level serialization/deserialization
calls used by the IPC framework.
Modifications under netwerk/ipc are to connect the new IPC
protocol to get stun addrs to PNecko since it is a network
related IPC protocol.
MozReview-Commit-ID: GyEapBe5krl
--HG--
extra : rebase_source : c650d6aa4f7928bcae6032424303869074a755d4
2017-03-21 19:59:05 -05:00
Michael Froman
032f9ca0bc
Bug 1345511 - pt 1 - nICEr changes to support stun addr gathering from main process. r=bwc
...
Expose a tweaked version of nr_ice_get_local_addresses to allow callers to
provide pre-fetched stun addrs if they are available. By default, the normal
call to nr_ice_gather calls this with no pre-fetched stun addrs (read
non-e10s). In e10s, the stun addrs are discovered on the main process and
provided to nr_ice_get_local_addreses. When nr_ice_gather is called from
the content process the local addresses have already been gathered.
In the past, nr_ice_get_local_addresses also applied policy (by removing
duplicate addrs, and, based on stun prefs, removing loopback and/or
link_local addrs. This functionality has been moved to
nr_ice_set_local_addresses where other policy is being applied (like
default route only, forcing specific interfaces, and prioritization).
Because we're now serializing nr_local_addr (wrapped by NrIceStunAddr), we
can't assume that certain pointer references in the source nr_local_addr
are correct when calling nr_local_addr_copy. New non-pointer-arithmetic
version of setting up the pointer on the copied nr_local_addr is used. Also
easier to understand when walking up to it the first time.
MozReview-Commit-ID: KVRFl4dfr7J
--HG--
extra : rebase_source : c0437700ad77ee3b7f98947d3505551ca9ed43e9
2017-03-16 12:06:09 -05:00
Nils Ohlmeier [:drno]
62d88014e0
Bug 1335966: skip refreshing ICE cosent for streams with no consent context. r=bwc
...
MozReview-Commit-ID: 91aZIMdGBAQ
--HG--
extra : rebase_source : 4cf76f2344fe74ed026e1029753a45a3203f072a
2017-02-01 16:54:59 -08:00
Wes Kocher
dac8dc0c7b
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Joel Maher
43d997b5a3
Bug 1344470 - add BUG_COMPONENT to media/* files. r=padenot
...
MozReview-Commit-ID: C7xWOE0OwIK
2017-03-07 13:06:45 -05:00
Byron Campen [:bwc]
3be4ec69b5
Bug 1342523 - Part 2: Add some better ICE duration telemetry. r=bsmedberg,drno
...
MozReview-Commit-ID: 7qRd1v6rUHl
--HG--
extra : rebase_source : 0c5bbdd47f719226b29660d59bb283c530118a8a
2017-02-24 15:03:49 -06:00
Byron Campen [:bwc]
42465ae6db
Bug 1342523 - Part 1: Clean up how controlling/offerer is specified. r=drno
...
MozReview-Commit-ID: D8qPAPUZC1J
--HG--
extra : rebase_source : dec5598ee2edd9168bd5c93be222cc409a7db096
2017-02-24 14:05:27 -06:00
Tim Huang
fc6e097c7a
Bug 1337893 - Part 4: Updating whole gecko to make all callers of DNS using correct originAttributes. r=baku
...
MozReview-Commit-ID: D6Vp8ANSzLI
--HG--
extra : rebase_source : f3608b09835040e4a4f8e7675aa53d003f298d32
2017-02-15 10:39:40 +08:00
Nils Ohlmeier [:drno]
41b62a7872
Bug 1341374: ensure mtransport refcounting is happening on the same thread r=jesup
...
MozReview-Commit-ID: 6Q3Wc1dIfnR
--HG--
extra : rebase_source : 29c73b5ac8b23d60df7946b993efa3542316bb5e
2017-02-23 21:57:50 -08:00
Benjamin Smedberg
b0dd6ff594
Bug 1332639 - Stop building the media/mtransport/testlib library which isn't used, r=dminor
...
MozReview-Commit-ID: 2tM8ftLBDpi
--HG--
extra : rebase_source : 0730f464b5cbd63d0a4e2b3d7c56b55212db7466
2017-02-27 13:07:55 -05:00
Jeff Walden
d73ce21741
Bug 1287006 - Adjust media/ code to not pass Maybe (or any class containing a Maybe member) by value, only by reference or pointer. r=jw_wang, r=rjesup
...
--HG--
extra : rebase_source : 176a2afde5772bbdf43f0f6dc8082201acadcf4f
2017-02-13 09:07:40 -08:00
Byron Campen [:bwc]
05f117a2ad
Bug 1338696: Don't deref null when nr_stun_message_create2 fails. r=drno
...
MozReview-Commit-ID: 6yo1NtElboR
--HG--
extra : rebase_source : ea9ea0868e6d806db07ec0f3509f3588bd433395
2017-02-13 16:22:54 -06:00
Byron Campen [:bwc]
bcf0706eb7
Bug 1340734: Move the TLS detection logic to TestNrSocket::create, to keep up with changes from bug 1336507. r=drno
...
MozReview-Commit-ID: A0wYXBmvhyh
--HG--
extra : rebase_source : af80ae36fe7e2777d66a51a6f879c8e48bf7fb35
2017-02-17 17:31:55 -06:00
Tom Tromey
b6eaee7842
Bug 1060419 - add -Werror=format to the warnings.configure, r=froydnj
...
MozReview-Commit-ID: 9pvECUzAjF1
--HG--
extra : rebase_source : 4a1e1d8b243128e62359c32b3d7c5ad01d3cefac
2016-12-15 09:57:59 -07:00
Randell Jesup
3d2997d55f
Bug 1332402 - Part 2: just complain if SingletonThread is still active at shutdown r=bwc
...
MozReview-Commit-ID: B57cZnCuAdv
--HG--
extra : rebase_source : 87d10a7c546f6f85f8e2c769e20afcc63ea724ef
2017-01-19 15:07:47 -05:00
Byron Campen [:bwc]
56b7c03b51
Bug 1332402 - Part 1: Simplify shutdown of the IO thread. r=jesup
...
MozReview-Commit-ID: DsGcaQGxz7u
--HG--
extra : rebase_source : 388fac2352fc5a7e83b91e7b011358458171e9a7
2017-01-19 14:06:21 -06:00
Sylvestre Ledru
364ecfb0c7
Bug 1338086 - Remove useless else blocks in order to reduce complexity in media/mtransport/ r=drno
...
MozReview-Commit-ID: 9Hvf7kGOi2s
--HG--
extra : rebase_source : d7a182a4b6fc02030f3e8d0eb5cbd75c0f5ff117
2017-02-14 15:08:29 +01:00
Michael Froman
d4be0d3431
Bug 1338273 - initialize NrIceStats vars to zero. r=drno
...
MozReview-Commit-ID: 1Yir1vQAvhX
--HG--
extra : rebase_source : b6ee2a80bffd55cb08ce094e06affd90e305edb4
2017-02-13 11:58:57 -06:00
Byron Campen [:bwc]
e59a5f112e
Bug 1336182 - Part 2: Use "override" keyword to silence some warnings about inconsistency. r=drno
...
MozReview-Commit-ID: 1mVXvIGNBdr
--HG--
extra : rebase_source : 671fd46798807b72ee390cc37f0beae18be3d222
2017-02-06 16:44:14 -06:00
Byron Campen [:bwc]
3781dd7683
Bug 1336182 - Part 1: Add DTLS handshake time telemetry. r=bsmedberg,drno
...
MozReview-Commit-ID: JczL8eFuzMg
--HG--
extra : rebase_source : 4344125a9605bfa39696bac445231e35b05e9b1f
2017-02-03 17:01:05 -06:00
Sylvestre Ledru
24eaa6aa67
Bug 1337358 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in media/mtransport/ r=bwc=jesup
...
MozReview-Commit-ID: 1ALL9rdhk24
--HG--
extra : rebase_source : c1899accbe87f6d226f8bbd5922b5899362f2e26
2017-02-13 14:42:00 +01:00
Nils Ohlmeier [:drno]
8d98a3e4de
Bug 1338384: added STUN bandwidth attribute. r=bwc
...
MozReview-Commit-ID: DiW32Zdmen8
--HG--
extra : rebase_source : 6509d924bc44fdd7dc65fe80ff714f5231550150
2017-02-10 12:33:26 -08:00
Byron Campen [:bwc]
9699169e39
Bug 1336507 - Part 3: Make sure mozLocalTransport is set to "tls" where appropriate. r=drno
...
MozReview-Commit-ID: EQCKgaFlA3q
--HG--
extra : rebase_source : 35a7a337f0e02e3d1543035314e2c129d3fac7e5
2017-02-03 16:48:02 -06:00
Byron Campen [:bwc]
f55547b66e
Bug 1336507 - Part 2: Move some TLS related stuff from |connect| to |create|, so it is better reflected in candidate labels/codeword. r=drno
...
MozReview-Commit-ID: GnaJa1EPw0j
--HG--
extra : rebase_source : 58b1b4e09e2ae61a9596ae94cf0a27dab3bfca31
2017-02-03 16:47:05 -06:00
srivatsav
74183ba990
Bug 1334265 - Replace double quotation marks with single quotation marks in ice_unittest.cpp. r=jesup
...
--HG--
extra : rebase_source : 2d90c8cdb8c16455ddedd79a90e05627fa7e599e
2017-02-02 14:42:27 +05:30
Michael Froman
a7b3b8a6bb
Bug 1325536 - ice telemetry. r=bsmedberg,chutten,drno
...
MozReview-Commit-ID: 8pZBXA8Pjea
--HG--
extra : rebase_source : 7ffca52f5eaccc0fad4b8cbc2104bbb57302190a
2017-01-11 19:57:03 -06:00
Nils Ohlmeier [:drno]
a38f5b69d4
Bug 1334682: start trickle timeout only after we have received at least on candidate. r=bwc
...
MozReview-Commit-ID: DZ1oytW6Jof
--HG--
extra : rebase_source : f4e4b5f795471188581f3949f0a0abc9ad22a4e7
2017-01-27 14:34:42 -08:00
Randell Jesup
e8948cb4f3
Bug 1219468: Remove the rest of the non-LazyLogModules in webrtc, except for cppunit tests r=erahm,ng
...
Also captures LOG(...) << .... uses in webrtc.org code when 'nspr' is the target
MozReview-Commit-ID: znvsArbS85
2017-01-27 23:35:17 -05:00
Kartikaya Gupta
1af1a82edf
Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
...
MozReview-Commit-ID: 5yt3O4Hoois
--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Phil Ringnalda
ef758dcbf4
Backed out changeset 95d09880ddf6 (bug 1325536) for nsVariant::Release crashes
2017-01-20 22:05:26 -08:00
Michael Froman
007f4afe98
Bug 1325536 - ice telemetry. r=bsmedberg,chutten,drno
...
MozReview-Commit-ID: 8pZBXA8Pjea
--HG--
extra : rebase_source : 37efe5b463098ff1489d317b1f78206cac4963b3
2017-01-11 19:57:03 -06:00
Byron Campen [:bwc]
3ab20717f0
Bug 1056934 - Part 5: Open TLS sockets when communicating with a TLS endpoint. r=drno
...
MozReview-Commit-ID: 1V7bzPLPBYi
--HG--
extra : rebase_source : 588697a31e2991ea24526ad32d74ecb4ec3c306b
2017-01-03 12:32:54 -06:00
Byron Campen [:bwc]
357ff5d106
Bug 1056934 - Part 4: Handle turns URLs when configuring nICEr. r=drno
...
MozReview-Commit-ID: 6izdoAUgwcn
--HG--
extra : rebase_source : 8a45e9cd5b7962b0d674aff8a72283d99655c556
2017-01-03 12:31:30 -06:00
Byron Campen [:bwc]
b35cd43e20
Bug 1056934 - Part 3: Make it possible to configure TURN TLS servers in nICEr. r=drno
...
MozReview-Commit-ID: 2FotueuPHKn
--HG--
extra : rebase_source : f79dc559b03b540343d15abd07651a09f124bb36
2017-01-03 12:29:59 -06:00
Byron Campen [:bwc]
f917fb4175
Bug 1056934 - Part 2: Test-case for TURN TLS. r=drno
...
MozReview-Commit-ID: AWJGwWE55Ct
--HG--
rename : dom/media/tests/mochitest/test_peerConnection_basicAudioNATRelayTCP.html => dom/media/tests/mochitest/test_peerConnection_basicAudioNATRelayTLS.html
extra : rebase_source : d2687df6c52f13cabf3138c89c187175c59602a5
2017-01-03 12:28:13 -06:00
Nils Ohlmeier [:drno]
3694cbb29c
Bug 1324995: null pointer after freeing. r=bwc
...
MozReview-Commit-ID: GJ6PQHU5nU
--HG--
extra : rebase_source : c1a121f85ea89ce9e1f86072715cbc4b7c30a0e6
2017-01-04 16:47:44 -08:00
Carsten "Tomcat" Book
fbe86342ad
Merge mozilla-central to mozilla-inbound
2017-01-10 12:21:12 +01:00
Benjamin Smedberg
29c0b37b6c
Bug 1329932 - Remove unneeded nsXPCOMGlue includes. r=glandium
2017-01-10 18:40:50 +09:00
Nils Ohlmeier [:drno]
54ada30c75
Bug 1266667: socket reuse option for TCPSocket. r=mcmanus
...
MozReview-Commit-ID: CJEK714ruLl
--HG--
extra : rebase_source : a52f8c96c0fed3881f3480a38dc2167f1eb4c451
2016-12-21 23:38:06 -08:00
Markus Stange
2ab94363e9
Bug 1323100 - Use NS_NewNamedThread in SingletonThreadHolder. r=froydnj
...
MozReview-Commit-ID: Jcf5DfSrxrf
--HG--
extra : rebase_source : 4d0d753d22b3cd46d2e9e4422c7d839953d20afd
2016-12-12 19:17:51 -05:00
Sylvestre Ledru
2e2def32f7
Bug 1324547 - ensure we're not needlessly copying things in ranged for loop r=froydnj
...
MozReview-Commit-ID: 2NnjjmANem5
--HG--
extra : rebase_source : 4387ede40b6726b4a879b57e31f8428784f0bfc7
2016-12-21 18:05:50 +01:00
Nils Ohlmeier [:drno]
2ca25c39f6
Bug 1318180: turn network offline events into ice disconnected event. r=bwc,jib
...
MozReview-Commit-ID: Kqbicl2goL2
--HG--
extra : rebase_source : 4ed7d1364af8bd1575e2ced1bd8512405e0dd669
2016-11-17 23:16:33 -08:00
Wes Kocher
65b11f5302
Backed out 27 changesets (bug 1323100) for leaks in mochitest-e10s-2 a=backout
...
Backed out changeset 069375097856 (bug 1323100)
Backed out changeset 3e64cdf12bb6 (bug 1323100)
Backed out changeset ba3a6bce2ba5 (bug 1323100)
Backed out changeset 4fcf1517da8d (bug 1323100)
Backed out changeset 5daf48da151e (bug 1323100)
Backed out changeset 4e441df8f70a (bug 1323100)
Backed out changeset 8ba2c7c2d262 (bug 1323100)
Backed out changeset 7b54195f4383 (bug 1323100)
Backed out changeset 8c1328db2d0c (bug 1323100)
Backed out changeset cb8d544864b8 (bug 1323100)
Backed out changeset 00453dfb7172 (bug 1323100)
Backed out changeset 3a5216789011 (bug 1323100)
Backed out changeset 3a7ce80e8657 (bug 1323100)
Backed out changeset 4baecf3669b0 (bug 1323100)
Backed out changeset c5ca13e76e13 (bug 1323100)
Backed out changeset 40249b284066 (bug 1323100)
Backed out changeset 1fb590677ace (bug 1323100)
Backed out changeset 699f7f888ea3 (bug 1323100)
Backed out changeset a1c171f8f925 (bug 1323100)
Backed out changeset c04743218bc5 (bug 1323100)
Backed out changeset 831f4de80f62 (bug 1323100)
Backed out changeset 55b1ef1a16cf (bug 1323100)
Backed out changeset 6675e4fd50f0 (bug 1323100)
Backed out changeset e26f9d68b74c (bug 1323100)
Backed out changeset 061f8e2d0000 (bug 1323100)
Backed out changeset 6695c396ef15 (bug 1323100)
Backed out changeset 5dbb824fd978 (bug 1323100)
2016-12-30 16:09:03 -08:00
Markus Stange
1c1cc66339
Bug 1323100 - Use NS_NewNamedThread in SingletonThreadHolder. r=froydnj
...
MozReview-Commit-ID: Jcf5DfSrxrf
--HG--
extra : rebase_source : 8ba5017efc93289570f4358fb1694692d935ba48
2016-12-12 19:17:51 -05:00
Wes Kocher
26a1ba5c14
Backed out 27 changesets (bug 1323100) for clipboard leaktest failures a=backout
...
Backed out changeset 84fb749698ab (bug 1323100)
Backed out changeset d6d25e8bd001 (bug 1323100)
Backed out changeset 1b0855bb0c38 (bug 1323100)
Backed out changeset b6953e3f5739 (bug 1323100)
Backed out changeset 5572f3b63215 (bug 1323100)
Backed out changeset 12fb4c533659 (bug 1323100)
Backed out changeset c36524e4e919 (bug 1323100)
Backed out changeset 1e3b3eddbe26 (bug 1323100)
Backed out changeset 061110f1ae12 (bug 1323100)
Backed out changeset 413dbd31725b (bug 1323100)
Backed out changeset 06550f7eca62 (bug 1323100)
Backed out changeset 940933b13b36 (bug 1323100)
Backed out changeset a6d75c1cd724 (bug 1323100)
Backed out changeset 681cacbbaa3b (bug 1323100)
Backed out changeset 3d53787293f6 (bug 1323100)
Backed out changeset c0340dfe4766 (bug 1323100)
Backed out changeset 9f554991549d (bug 1323100)
Backed out changeset 757539e7039a (bug 1323100)
Backed out changeset a3c9b45aa917 (bug 1323100)
Backed out changeset 23d69df98a66 (bug 1323100)
Backed out changeset 1297ded6a01d (bug 1323100)
Backed out changeset f4235b97257f (bug 1323100)
Backed out changeset 93419cb4f29f (bug 1323100)
Backed out changeset 865d1b81c804 (bug 1323100)
Backed out changeset 54acf4ef8e84 (bug 1323100)
Backed out changeset 88d17bcd8205 (bug 1323100)
Backed out changeset 0c466e5e8933 (bug 1323100)
2016-12-29 16:28:36 -08:00
Markus Stange
2d69e3878a
Bug 1323100 - Use NS_NewNamedThread in SingletonThreadHolder. r=froydnj
...
MozReview-Commit-ID: Jcf5DfSrxrf
--HG--
extra : rebase_source : 8ba5017efc93289570f4358fb1694692d935ba48
2016-12-12 19:17:51 -05:00
Nils Ohlmeier [:drno]
bf8b1f5ab9
Bug 1324995: only free AdapterAddresses if needed. r=bwc,jesup
...
MozReview-Commit-ID: 8C4yPsGGPoV
--HG--
extra : rebase_source : 96364e7469b92f3ce1a2e8b56b886b4581287d89
2016-12-20 23:20:01 -08:00
Randell Jesup
ac570b16c4
Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc
...
See ssh://hg.mozilla.org/users/paulrkerr_gmail.com/webrtc49_merge/ for the
patch development history.
2016-12-27 19:41:02 -05:00
Cykesiopka
0bdf96120a
Bug 1323998 - Stop using Scoped.h NSS types in dtlsidentity.(cpp|h) and nricectx.cpp. r=mt
...
Scoped.h is deprecated.
MozReview-Commit-ID: IRFLV2mfN4J
--HG--
extra : rebase_source : 4c2a73ed8c1e9c695716aafb2da099f60f889454
2016-12-21 22:09:10 +08:00
Makoto Kato
3ee6f7badc
Bug 1322546
- Cannot compile nrappkit with WINVER=0x0600 or later. r=drno
...
MozReview-Commit-ID: HBVVHafiRKQ
2016-12-15 16:37:51 +09:00
Nils Ohlmeier [:drno]
8e17410821
Bug 1320150: only fire consent when previously connected. r=mjf
...
MozReview-Commit-ID: 4cj5gta8uet
--HG--
extra : rebase_source : 984b7ba3d75f9a25d8644db84d22fa97aac950d5
2016-11-24 00:01:44 -08:00
Martin Thomson
0b45b71319
Bug 1316261 - Configure trust anchors list to be empty for WebRTC, r=drno
...
MozReview-Commit-ID: ltSVAAp2WF
--HG--
extra : rebase_source : cd7e2aea72c74e8eda7089f5a540d3a839534acf
2016-11-12 10:57:21 +11:00
Nils Ohlmeier [:drno]
d933579cce
Bug 852665: add support for ICE disconnected state. r=bwc
...
MozReview-Commit-ID: 5ONTc2Wz72O
--HG--
extra : rebase_source : 4f99ebbd4fa0e566965f94dc7b5d999bbbfd7b85
2016-10-28 22:22:17 -07:00
Nils Ohlmeier [:drno]
9ddb815b69
Bug 1304920: remove fingerprint attribute from plain binding requests. r=bwc
...
MozReview-Commit-ID: KpqQfHzv7zn
--HG--
extra : rebase_source : 976af858b54a6ddda23b19310352359659260b71
2016-09-22 17:56:29 -07:00
Martin Thomson
c09374be30
Bug 1311383 - Use unique pointers for DTLS transport and related, r=Cykesiopka
...
MozReview-Commit-ID: 79wKQtJjBNP
--HG--
extra : rebase_source : 1f5c7f2417c25d17fb99bc55eff8a6b2e5a333ba
2016-10-20 11:29:58 +11:00
Nils Ohlmeier [:drno]
32fa85e614
Bug 1309641: only store a single pre-answer request per 5 tuple. r=bwc
...
MozReview-Commit-ID: KzrGGRRU28J
--HG--
extra : rebase_source : 97136e8ef20a61130154af695ec09598e91078c5
2016-10-26 21:43:27 -07:00
Nils Ohlmeier [:drno]
414a36866f
Bug 1309585: use default address dicovery as backup for interface iteration. r=bwc
...
MozReview-Commit-ID: ds9rDlddi9
--HG--
extra : rebase_source : 418bb84e925eefe5ae6b687277a05ec2acd273de
2016-10-24 15:55:02 -07:00
Jan-Ivar Bruaroey
6f1eb05923
Bug 1313246 - allow empty username and credential in RTCPeerConnection constructor. r=bwc
...
MozReview-Commit-ID: 6EJ46BXxXW5
--HG--
extra : rebase_source : e9a5ddc25c61708371ce1c89d172dda432226b25
2016-10-26 20:41:07 -04:00
Nils Ohlmeier [:drno]
8f782c9d56
Bug 1306714: Use RFC 7983 detection for DTLS packets. r=mt
...
MozReview-Commit-ID: L1BYAFmJOug
--HG--
extra : rebase_source : 33d52ee88d646803014d9e20c3b6969833ebda15
2016-09-30 00:00:54 -07:00
Byron Campen [:bwc]
f21b7f1efe
Bug 1312304: Remove ICE policy "none". r=drno,smaug
...
MozReview-Commit-ID: 2adsRJ6pFnD
--HG--
extra : rebase_source : 03a22d7d990d8959b6eb6d23a6cbc4821ad68428
2016-10-24 13:36:56 -05:00
Nils Ohlmeier [:drno]
298dae8a64
Bug 1310305: skip responding when failed to parse STUN message. r=mjf
...
MozReview-Commit-ID: D9Ox0nt81bF
--HG--
extra : rebase_source : c26e9826ee0f8a677acf22ccaeecb31d9cecce50
2016-10-14 12:59:22 -07:00
Carsten "Tomcat" Book
d6850a3a86
merge mozilla-inbound to mozilla-central a=merge
2016-10-17 11:19:02 +02:00
Nils Ohlmeier [:drno]
edb7f8ff31
Bug 1310061: avoid interop issues with SHA384. r=mt
...
MozReview-Commit-ID: 67cJdDWCMAs
--HG--
extra : rebase_source : 0ea1074feacc41ec021db9a8d5d1df0c36147ad2
2016-10-14 11:49:32 -07:00
Nils Ohlmeier [:drno]
ecd5c4c6b9
Bug 1309129: enable redirecting of nICEr logging to NSPR logging. r=bwc
...
MozReview-Commit-ID: ESB6F0MlKdQ
--HG--
rename : media/mtransport/rlogringbuffer.cpp => media/mtransport/rlogconnector.cpp
rename : media/mtransport/rlogringbuffer.h => media/mtransport/rlogconnector.h
rename : media/mtransport/test/rlogringbuffer_unittest.cpp => media/mtransport/test/rlogconnector_unittest.cpp
extra : rebase_source : 33ea6c07b909c1972a2e9150241536ba56890609
2016-10-11 00:17:26 -07:00
Tom Schuster
774a8bf34d
Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan
2016-10-04 17:57:51 +02:00
Byron Campen [:bwc]
548a4d6be0
Bug 1304568: Fix some bad casts. r=drno
...
MozReview-Commit-ID: XJhCywlTpg
--HG--
extra : rebase_source : 92592e28e738fdc57bb4e89bbf0cace5f8ec7b57
2016-09-22 09:31:30 -05:00
Martin Thomson
54eb5cb215
Bug 1304919 - Update WebRTC to latest NSS, r=ekr
...
MozReview-Commit-ID: Jz9lraGZIyx
--HG--
extra : rebase_source : 9b80b600f46ecc04ea9f282342d3a98ef0e915b8
extra : source : f1aace586e14a276cc43dd00111d5c9d04580ea0
2016-09-23 13:47:00 +10:00
Sebastian Hengst
a0d432121c
Backed out changeset f1aace586e14 (bug 1304919)
2016-09-24 18:00:08 +02:00
Martin Thomson
d566e166e9
Bug 1304919 - Update WebRTC to latest NSS, r=ekr
...
MozReview-Commit-ID: Jz9lraGZIyx
--HG--
extra : rebase_source : 9731046d82e7aeef9192fe6e7ce10dd56d80a78d
2016-09-23 13:47:00 +10:00
Byron Campen [:bwc]
b571d6f4c1
Bug 1281482: Extend STUN rate limit to e10s sockets. r=drno
...
--HG--
extra : rebase_source : d39dec248379da239e0a3ed8bd904e713d2f1fa8
2016-09-22 10:38:06 -05:00
Nils Ohlmeier [:drno]
fcb065e03a
Bug 1302481: added new no NAT <-> symmetric NAT test case. r=bwc
...
MozReview-Commit-ID: HpUwesLDWBB
--HG--
extra : rebase_source : b581f7c96c817208cf300bd5d56774d29a192e3b
2016-09-01 21:32:30 -07:00
Phil Ringnalda
3748f182f6
Merge m-i to m-c, a=merge
2016-09-10 00:14:21 -07:00
Igor
60cd1e3bb7
Bug 1296180 - Replace more uses of PR_ARRAY_SIZE with mozilla::ArrayLength. r=keeler,mt
2016-09-09 13:17:52 -07:00
Byron Campen [:bwc]
653b388b32
Bug 1297416 - Part 4: Call close() when create() fails. r=drno
...
MozReview-Commit-ID: 5uf2xbb2cba
--HG--
extra : rebase_source : f7c9bd97aa2ab17847844c2a4a24ffed6b450c3d
2016-09-02 12:04:54 -05:00
Byron Campen [:bwc]
7eafad9670
Bug 1297416 - Part 3: Add proxy-only mode and pref. r=drno
...
MozReview-Commit-ID: D1e9f3OkVsU
--HG--
extra : rebase_source : 65784601918246f47d51888f64d90a7a0c580bc9
2016-08-23 15:15:33 -05:00
Phil Ringnalda
4b1303cc59
Back out 1eb6e4e4060f (bug 1296180) for Windows warning-as-error bustage
...
CLOSED TREE
2016-09-08 23:30:12 -07:00
Igor
d42cc2cb4e
Bug 1296180 - Replace more uses of PR_ARRAY_SIZE with mozilla::ArrayLengh. r=mt
2016-09-08 22:35:12 -07:00
Byron Campen [:bwc]
02cf82bf1a
Bug 1297416 - Part 2: Disable default route mode if the user has granted camera or microphone permissions. r=drno
...
MozReview-Commit-ID: CFkVnEwUu2d
--HG--
extra : rebase_source : 7b712eace6c780a9ba20de9acd637d918c80f017
2016-08-04 10:55:20 -05:00
Byron Campen [:bwc]
9f8a1e86b6
Bug 1297416 - Part 1: Split out the hiding of host candidates, and default route mode. r=drno
...
MozReview-Commit-ID: IQtwAG35CM3
--HG--
extra : rebase_source : 3a206adac4d28688bc2ba0c22436d5bf3b68f113
2016-07-25 15:47:52 -05:00
Michael Layzell
e12728495c
Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
...
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Nils Ohlmeier [:drno]
02dde2e10d
Bug 1298991: only create candidate pairs from STUN response when needed. r=bwc
...
MozReview-Commit-ID: KpqNyi0FVb3
--HG--
extra : rebase_source : 8bde1830fa0a37205f647a4d594583e4641d041a
2016-08-29 16:34:22 -07:00
Ryan VanderMeulen
520acfd195
Merge inbound to m-c. a=merge
2016-08-25 08:10:52 -04:00
Michael Froman
d81f5eab06
Bug 1295552
- restart ice ctx needs stun/turn/dns setup to match original ctx. r=drno
...
MozReview-Commit-ID: H8o3gEnFfzQ
--HG--
extra : rebase_source : 59a5b05cf14da6492f4edaba6e3d7d18cf8ca242
2016-08-18 17:29:49 -05:00
Ryan VanderMeulen
82663d8710
Merge inbound to m-c. a=merge
2016-08-23 10:05:18 -04:00
Igor
71691f0323
Bug 1197328
- Remove PR_snprintf calls in media/{webrtc,mtransport}/. r=froydnj
...
--HG--
extra : rebase_source : fec06fd57c8142008e9c2978ed685ce6811e9750
2016-08-16 19:54:00 -04:00
Kan-Ru Chen
b4cf4bec61
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
2016-08-23 00:40:47 +08:00
Nils Ohlmeier [:drno]
178cc778e6
Bug 1293457: stop printing gathering results on shutdown. r=mjf
...
MozReview-Commit-ID: LubRuNsaHBZ
--HG--
extra : rebase_source : 2a56762b3b6d740d9ed2a2c8d122507c00931622
2016-08-22 00:14:59 -07:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Iris Hsiao
1637787858
Backed out changeset e7b0bdaa0661 (bug 1295552
) for GTest crashed @mozilla::NrIceCtxHandler::CreateCtx
2016-08-22 11:11:05 +08:00
Michael Froman
8c9dbf602e
Bug 1295552
- restart ice ctx needs stun/turn/dns setup to match original ctx. r=drno
...
MozReview-Commit-ID: H8o3gEnFfzQ
--HG--
extra : rebase_source : d5b1d8a4beb7f2ad1cb76391c09efc01735771ad
2016-08-18 17:29:49 -05:00
Wes Kocher
37a02d441d
Backed out 6 changesets (bug 1264642) for marionette failures a=backout CLOSED TREE
...
Backed out changeset f0067001c059 (bug 1264642)
Backed out changeset 078e5c447f21 (bug 1264642)
Backed out changeset 7c60fc4144fb (bug 1264642)
Backed out changeset 9f434697ef2e (bug 1264642)
Backed out changeset 06fc278fcedf (bug 1264642)
Backed out changeset 162098402acc (bug 1264642)
2016-08-17 10:49:25 -07:00
Wes Kocher
e9097643d5
Merge inbound to central, a=merge
2016-08-12 13:44:29 -07:00
Byron Campen [:bwc]
fe142cf303
Bug 1280443: Copy this the hard way. r=drno
...
--HG--
extra : rebase_source : d3ad50a2fb57bdaab31e53188d918ed8d6d1daa7
2016-08-10 11:51:28 -05:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Nils Ohlmeier [:drno]
f8f35e1df4
Bug 1293172: improve DTLS handshake error message. r=mt
...
MozReview-Commit-ID: GM28RvCQ3O4
--HG--
extra : rebase_source : 690ec762844950c7aff2f7382d48de67a7f5e786
2016-08-07 22:34:41 -07:00
Nils Ohlmeier [:drno]
b3a05a317c
Bug 1290365: add TURN TCP socket to read poll after connect. r=bwc
...
MozReview-Commit-ID: FLITvQCt9Xq
--HG--
extra : rebase_source : 8346b3b8e1655882584bdf1a60a8af75fc1da1bf
2016-08-02 10:58:55 -07:00
Nils Ohlmeier [:drno]
650d5a0e64
Bug 1289984: fix Windows compiler warnings. r=bwc
...
MozReview-Commit-ID: EWSJZdxPzQk
--HG--
extra : rebase_source : 5d5c2e088c6e0dffcba9d8692d4e1a878b24ae44
2016-07-27 17:13:43 -07:00
Byron Campen [:bwc]
38b1158591
Bug 1287874: Add missing math.h include. r=drno
...
MozReview-Commit-ID: APRXVtWHlBX
--HG--
extra : rebase_source : fe8e299f81d4623456c28e2b5aca76b1e29b4503
2016-07-27 14:21:58 -05:00
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Nils Ohlmeier [:drno]
69df337992
Bug 1293206: cancel TCP connect callback after connect. r=bwc
...
MozReview-Commit-ID: 6hczFqHMBNA
--HG--
extra : rebase_source : 90a352c0bcf8e9d3b14f62a27c76160272cd45bb
2016-08-09 15:55:37 -07:00
Carsten "Tomcat" Book
838f21f656
merge mozilla-inbound to mozilla-central a=merge
2016-07-08 11:58:46 +02:00
Nils Ohlmeier [:drno]
61aaacaf56
Bug 1285318: turn of WebRTC TCP packet filtering. r=mjf
...
MozReview-Commit-ID: 7kmAJlscG9a
--HG--
extra : rebase_source : c8d6a741fbde3f514ee49be5ee97291ba58831d3
2016-07-07 11:32:04 -07:00
Nils Ohlmeier [:drno]
8f07aa3df1
Bug 1279146 - Clean up streams on shutdown. r=bwc
...
--HG--
extra : amend_source : db42e64bafec58bfef42a0fc7aad2cc1a761e137
2016-07-07 21:33:23 -04:00
EKR
0a7e8ae834
Bug 1283085 - Handle new ALPN value r=abr
2016-06-29 10:24:48 -07:00
Kan-Ru Chen
e5ba90cdde
Bug 1264642 - Part 6. Mark JSStructuredCloneData as MOZ_NON_MEMMOVABLE and add specializations in nsTArray.h. r=froydnj
...
MozReview-Commit-ID: HltgzBnxMsn
--HG--
extra : rebase_source : f968344d7283b2f46dfa959a5306d1d380677c52
2016-08-10 14:18:29 +08:00
Byron Campen [:bwc]
208469617b
Bug 1280443 - Make a timer assert more aggressive. r=drno
2016-06-20 11:47:10 -05:00
Nils Ohlmeier [:drno]
cb71d8fa20
Bug 1281708: remove assert for unknown stun server transports. r=mjf
...
MozReview-Commit-ID: BNNM12fBV4I
--HG--
extra : rebase_source : a6b01e24d942940ff12fe3d6fd05e03c7bb9b6a6
2016-06-23 12:00:31 +02:00
Byron Campen [:bwc]
9c47a3e286
Bug 1276805: Make TestNrSocket less chatty. r=drno
...
MozReview-Commit-ID: 7lXcrCbuQpz
--HG--
extra : rebase_source : bd80c7e4ebdd0413e35f3807ce503d7c27f7809a
2016-06-14 07:08:52 -05:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Nils Ohlmeier [:drno]
f746914c9a
Bug 1268291: use ICE binding requests for consent refresh r=mjf
...
MozReview-Commit-ID: 9NBw2WBE5xJ
--HG--
extra : rebase_source : 2047c775c9e0083ab65420c1aead67642d67275e
2016-05-03 00:31:11 -07:00
Nils Ohlmeier [:drno]
a4d7ea2e6b
Bug 1269486: tests to verify new ICE controller setting restriction. r=mjf
...
MozReview-Commit-ID: EaJ2yE0Vwcr
--HG--
extra : rebase_source : 3d696984a16a7ada6da57b90424f1b351f1e589f
2016-05-04 10:53:29 -07:00
Nils Ohlmeier [:drno]
cd54d864ed
Bug 1269486: allow setting ICE controller only once. r=bwc
...
MozReview-Commit-ID: AXyNyTZH1Jt
--HG--
extra : rebase_source : c8951fd5ada36d5c8ca25568e276fcb8cce0fbfc
2016-05-03 13:28:14 -07:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Byron Campen [:bwc]
c2d6cc516f
Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
...
MozReview-Commit-ID: HwatO6UaeEX
--HG--
extra : rebase_source : fd5d972f042baf0007d09579fe43893c1a787836
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
ac965bfc5a
Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
...
MozReview-Commit-ID: ASbgh62xqQU
--HG--
extra : rebase_source : d611712e2a7f0a29063ee5765dc66fb7ed9e5b0f
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
5fd2e18004
Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
...
MozReview-Commit-ID: CS1q6LyUsIe
--HG--
extra : rebase_source : 590238bca757ff3e7c13202f5db1971084fe538d
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
ff7fa1e45c
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
73c29a05f5
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Andi-Bogdan Postelnicu
66da00b99b
Bug 1268449 - prevent memory leak in Resolve. r=ekr
...
MozReview-Commit-ID: 7K94oXrkhne
--HG--
extra : rebase_source : 3d7e08a7f50f8ac4550167f23d1334e941133e23
2016-04-28 14:13:55 +03:00
Wes Kocher
20598f44f6
Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
...
MozReview-Commit-ID: EoGyz071RoN
--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Wes Kocher
55d7bfae3f
Backed out changesets 8ed054e5853e,d56adef9c8e0,408df9f84697,7092e498ac3a,29dce05596c6,ae1dc75009e7 (bug 1231975) for breaking local mochitests a=backout
...
MozReview-Commit-ID: 17mJDyZMVju
--HG--
extra : histedit_source : cf965b94d4b36cc1b4ce0a89272f9c355ae1b82e%2C72cefdebce52a0e6653a87dd0ef0a1316fe0ec18
2016-04-27 10:20:42 -07:00
Nils Ohlmeier [:drno]
49438ee761
Bug 1251821: increase UDP socket send buffer on Win 7 r=jdm,jesup
...
MozReview-Commit-ID: ETkx1Z56bI8
--HG--
extra : rebase_source : c3221aa336beb5fcf450754537a5cd1856357494
2016-04-08 16:51:21 -07:00
Nils Ohlmeier [:drno]
696852ce71
Bug 929977: Add support for RFC 7675 ICE consent freshness. r=bwc,mt
...
MozReview-Commit-ID: HGRM10L0R3M
--HG--
extra : rebase_source : c50f8665230140096dd163bb5fbb13482a976c91
2016-04-26 13:11:25 -07:00
Byron Campen [:bwc]
475039d8aa
Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
...
MozReview-Commit-ID: HwatO6UaeEX
--HG--
extra : rebase_source : 9ba82ea745c3aa8f4e3c14291aca36d68b775f7e
extra : source : e215c66a184b9424e76892673f2849d3bf262606
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
d99ec1f82d
Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
...
MozReview-Commit-ID: ASbgh62xqQU
--HG--
extra : rebase_source : 162ab84cf48171a818e3aff7c65b4964a4989b05
extra : source : 99b6fffc375214bd061e729ed0462edbaec844ce
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
0654267081
Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
...
MozReview-Commit-ID: CS1q6LyUsIe
--HG--
extra : rebase_source : d42f45b1e2bd7b96808ca814d25258904ce6ebfe
extra : source : 68ac205949c9b5d57f85689f660ebf9de119d384
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
18f4a13f02
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : d5fa4d0138112d5932f4db43958b60f1606f0af2
extra : source : 81271ec54981bd4c7b0fa72889ba509e5c434ff4
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
903901c97b
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : 81f06e74ab74558cfba435cac79bc6fee0d7409c
extra : source : 9249495e35aa39f4cf4f5604a9e1b56608c8775a
2016-03-04 15:45:57 -06:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Carsten "Tomcat" Book
94cebd7b33
Backed out changeset a9fcd0e98cc3 (bug 1231981)
2016-04-25 16:28:53 +02:00
Carsten "Tomcat" Book
42f342e18c
Backed out changeset 4cff2bed6747 (bug 1231975)
2016-04-25 16:28:47 +02:00
Carsten "Tomcat" Book
f49979964c
Backed out changeset 1913c67263eb (bug 1231975)
2016-04-25 16:28:44 +02:00
Carsten "Tomcat" Book
8353eec0ac
Backed out changeset 9d0c273048d6 (bug 1231975)
2016-04-25 16:28:42 +02:00
Carsten "Tomcat" Book
7cc02680ae
Backed out changeset b21f8efbd341 (bug 1231975)
2016-04-25 16:28:41 +02:00
Byron Campen [:bwc]
543c799051
Bug 1266468: Respond to STUN requests with 400 if the component is failed. r=drno
...
MozReview-Commit-ID: 106OvQ7WLvp
--HG--
extra : rebase_source : 797c932080d07ff3d0be2fd20d9082944f1ac51d
2016-04-21 13:00:26 -05:00
Byron Campen [:bwc]
f508596540
Bug 1231975 - Part 5: Fix an intermittent failure caused by the NAT simulator erroneously canceling NR_ASYNC_WAIT_READ. r=drno
...
MozReview-Commit-ID: HwatO6UaeEX
--HG--
extra : rebase_source : 4fa178e6b2d715d5f7e56e7dd19d607830c31ff7
2016-04-14 15:33:40 -05:00
Byron Campen [:bwc]
4262b60302
Bug 1231975 - Part 4: Add some logging and simplification in TestNrSocket. r=drno
...
MozReview-Commit-ID: ASbgh62xqQU
--HG--
extra : rebase_source : 3fdcbf69370a69556b6b34d1a9c8c142732e21f8
2016-04-14 09:24:47 -05:00
Byron Campen [:bwc]
fb77b5d2b8
Bug 1231975 - Part 3: Break a reference cycle between PendingResolution and DNSRequestChild. r=drno
...
MozReview-Commit-ID: CS1q6LyUsIe
--HG--
extra : rebase_source : efc3eb166d01de91c2d628540fda625155d8cd26
2016-04-07 13:12:54 -05:00
Byron Campen [:bwc]
98c17059df
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 20d6bc3424e433fbc0a98739310598c3c9433c87
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
50135632ac
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : f52583fe21269d4d4214b93315cc75f0535de55d
2016-03-04 15:45:57 -06:00
Nils Ohlmeier [:drno]
df7216ecb4
Bug 1259842: allow RFC1918 pairing again r=mjf
...
MozReview-Commit-ID: 6afbRF64PM2
--HG--
extra : rebase_source : fbdf8db55ed9fb22cf39b375551741a5e75aac14
2016-04-05 17:10:03 -07:00
Michael Froman
eeafb75c78
Bug 1264344 - Don't restart ICE on first CreateOffer call if iceRestart option is true. r=bwc
...
MozReview-Commit-ID: 18qpyjAo0By
--HG--
extra : rebase_source : 172dcd1dfe95bdad684a4ce9a352183f2e77bafc
2016-04-13 11:41:05 -05:00
Michael Froman
438bea1ee6
Bug 906986 - Rework rollback/finalize to include a committed state. r=bwc, r=drno
...
MozReview-Commit-ID: z7uEn5xEBf
--HG--
extra : rebase_source : 18565a3c49045af9445a93de8753110169caf465
2016-04-05 20:12:04 -05:00
Michael Froman
e2e642f12e
Bug 906986 - Ice restart and tests. r=bwc, r=drno, r=smaug
...
MozReview-Commit-ID: AMEi7SZebBG
MozReview-Commit-ID: GS2EkamNGc7
--HG--
extra : rebase_source : f715bc837331028f6b5e22820c530e34ca5bedb8
2016-04-08 09:20:53 -05:00
Michael Froman
3afe176e86
Bug 906986 - Wrap NrIceCtx in NrIceCtxHandler which will allow us to handle ice restart. r=bwc, r=drno
...
MozReview-Commit-ID: 8MEfEBf2Pvi
--HG--
extra : rebase_source : ca23f499f155593e0601f918ab16ee38fae35f42
2016-03-31 14:12:19 -05:00
Michael Froman
ae71fe6a8c
Bug 906986 - Genericize some of the test setup and improve logging. r=bwc, r=drno
...
MozReview-Commit-ID: 7HddAbcncFC
--HG--
extra : rebase_source : fd418ab3493011f25ed8aaaea50549474d29108b
2016-03-31 11:31:58 -05:00
Michael Froman
d4c059685e
Bug 906986 - Use the streams from the ice_ctx, don't hold a separate set. r=bwc, r=drno
...
MozReview-Commit-ID: FwomOrICh70
--HG--
extra : rebase_source : bdb08ab1cb8e6c5779171e30aecb282bd5e30e24
2016-03-31 10:17:28 -05:00
Michael Froman
ac55e03a26
Bug 906986 - Rework fix for Bug 1241690 to avoid reliance on NrIceCtx inside NrIceMediaStream. r=bwc, r=drno
...
MozReview-Commit-ID: 1QCfbZUGdwM
--HG--
extra : rebase_source : e47546e226839410b65013c66eab53b0212e86fe
2016-03-31 09:24:17 -05:00
Michael Froman
04ec3df956
Bug 906986 - Disable TestSrflxCandPairingFilter until bug 1226838 is fixed. r=bwc, r=drno
...
MozReview-Commit-ID: 5QFUeqDG4dh
--HG--
extra : rebase_source : a7c3f93e33072d0645339a6a169d49a9f58b04f2
2016-03-31 09:16:23 -05:00
Nils Ohlmeier [:drno]
4d0aaaafea
Bug 1244926: added TCP socket filter to only allow outgoing STUN. r=jesup
...
MozReview-Commit-ID: 8PpL6Z0za71
--HG--
rename : media/mtransport/stun_udp_socket_filter.cpp => media/mtransport/stun_socket_filter.cpp
rename : media/mtransport/stun_udp_socket_filter.h => media/mtransport/stun_socket_filter.h
rename : netwerk/base/nsIUDPSocketFilter.idl => netwerk/base/nsISocketFilter.idl
extra : rebase_source : 2acf092e587a19a2019f463fa0a015373d3881d3
2016-02-11 01:18:46 -08:00
Byron Campen [:bwc]
7325e61fd6
Bug 1258753: Base candidate pair priority on controlling/controlled. r=drno
...
MozReview-Commit-ID: 6RAFaAtBbJq
--HG--
extra : rebase_source : 976b63d44fc7c50efa8f40b067cf45b56c66ed09
extra : source : 7b6263bcd3d7e9148914f5aaace10fc69ea0395d
2016-03-22 12:22:56 -05:00
Nicholas Nethercote
ea9bc73f05
Bug 1254780
(attempt 2) - Shrink log_types from 1024 entries to 16. r=ekr.
...
MozReview-Commit-ID: KWrOTuTlt6H
--HG--
extra : rebase_source : 36ec95f4584ea0d67286e9956456dffbe5294401
2016-03-11 10:06:32 +11:00
Byron Campen [:bwc]
6765c70f22
Bug 933986. Switch over from index to an id, and ensure uniqueness when feeding into the candidate priority calculation. r=drno
...
MozReview-Commit-ID: 5LOQJbsnEWN
--HG--
extra : rebase_source : 644695f73f316fa8e71e410442f3796822e3255a
2013-11-04 16:50:10 -08:00
Byron Campen [:bwc]
03253b8221
Bug 1256720: Remove a bad assertion, and simplify some code. r=drno
...
MozReview-Commit-ID: 3h52q8Wrp8R
--HG--
extra : rebase_source : a1cf4d7fa29e4ed7bb6a1f5be19d1b2af2ef5316
2016-03-24 15:05:53 -05:00
Sebastian Hengst
4029855eed
Backed out changeset e139011ede5b (bug 1254780
) for crashes in mozilla::gfx::Log<1,mozilla::gfx::CriticalLogger>::WriteLog on Windows 7 debug. r=backout
2016-03-24 10:52:52 +01:00
Nicholas Nethercote
d6246f169d
Bug 1254780
- Shrink log_types from 1024 entries to 16. r=ekr.
...
--HG--
extra : rebase_source : 7cc7a749b080fb3e35c9b8cf285ff88738ef3234
2016-03-11 10:06:32 +11:00
Byron Campen [:bwc]
02772181cb
Bug 1257472: Forgive rport of 0. r=drno,ekr
...
MozReview-Commit-ID: 12YyYqrt3wR
--HG--
extra : rebase_source : b3e8397a0c29f8a9d354e4081fcf76e103fd11d8
2016-03-17 10:50:33 -05:00
Martin Thomson
7d88785757
Bug 1251822 - Disable ChaCha20Poly1305 for unit tests that check cipher suite, r=ekr
...
MozReview-Commit-ID: H7IW0iOTAzx
--HG--
extra : rebase_source : 7d637e24ea89c0d070fbe0511dd445f8d11e51f6
2016-03-16 17:52:49 +11:00
Nils Ohlmeier [:drno]
eca4273031
Bug 1233181: improve misleading log message about missing STUN & TURN servers. r?=mjf
...
MozReview-Commit-ID: sQzU9u96yP
--HG--
extra : rebase_source : 9a5d3198ee4d52fab556d2eace08aa41ea75cf5a
2015-12-16 12:00:27 -08:00
Boris Zbarsky
1228b7cbd3
Bug 1255269. Get rid of nsITCPSocketCallback.fireDataEvent. r=jdm
2016-03-10 18:07:28 -05:00
Byron Campen [:bwc]
736356238e
Bug 1248637: Prune duplicate CANCELLED candidate pairs. r=drno
...
MozReview-Commit-ID: HeErN7xMxbQ
--HG--
extra : rebase_source : d8f355e6cc74c73c3e9bc100a2bb2b2603931e55
2016-03-01 10:47:14 -06:00
Nils Ohlmeier [:drno]
6d382efd5e
Bug 1253198: add WebRtcIce prefix to all ICE unit tests. r=bwc
...
MozReview-Commit-ID: 5wD8Dl9ETkB
--HG--
extra : rebase_source : edf942c35be1d4caba5501b9395a70953eaa8344
2016-03-03 01:40:52 -08:00
Nils Ohlmeier [:drno]
01210346dd
Bug 1217677: increase UDP socket receive buffer for <= Win7. r=jesup,mcmanus
...
MozReview-Commit-ID: A3yCZZ3Pwcu
--HG--
extra : rebase_source : 67d200194ed72076fcb6064f16ec94334f8fb5e7
2016-03-01 21:46:50 -08:00
Nils Ohlmeier [:drno]
1a7d746ecc
Bug 1252777: skip over ICE TCP host candidate creation failures. r=bwc
...
MozReview-Commit-ID: 6l0ierHz5eL
--HG--
extra : rebase_source : 5bcce0063cf092f9eba278ea6790a0ada07eb82c
2016-03-02 01:27:01 -08:00
Nathan Froyd
b938c57967
Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
...
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
This patch merits a couple explanations:
- Where it made sense, I tried to convert:
T* foo() {
UniquePtr<T> x = ...;
...
return x.release();
}
into:
UniquePtr<T> foo()
with corresponding changes inside |foo|'s body.
- The attentive reader will note that:
auto x = MakeUnique<T>(...);
is used sometimes and:
UniquePtr<T> x(new T(...));
is used sometimes. I would prefer to use the former, but was stymied
in several places due to protected constructors. (MakeUnique doesn't
have access to those protected constructors, natch.)
2016-03-02 15:28:27 -05:00
Byron Campen [:bwc]
f1f2ee96b5
Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
...
MozReview-Commit-ID: 4q84yGspvyX
--HG--
extra : rebase_source : 099d1dd32cc46ed96ac234fe0a65c85333acfdf1
2016-03-01 12:06:12 -06:00
Byron Campen [:bwc]
f3294c2565
Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
...
MozReview-Commit-ID: F7Dgk5gN4cs
--HG--
extra : rebase_source : 5a5b536b906a01dfb171008ba02ce3650abafca9
2016-03-01 13:59:43 -06:00
Byron Campen [:bwc]
8e9153abea
Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno
...
MozReview-Commit-ID: 6hz0eCghYE0
--HG--
extra : rebase_source : 46b1221ab29c33455f7ceb3c0e149e4c8aaa2397
2016-02-29 12:33:47 -06:00
Byron Campen [:bwc]
3a66dfe493
Bug 1252171: Update last_used_ on TCP port mappings when they are used, similar to UDP. r=drno
...
MozReview-Commit-ID: DNinTza44la
--HG--
extra : rebase_source : 5d65d9a4c21ad113a2762ebf397b1e7b8f289dd5
2016-02-29 13:04:42 -06:00
Wes Kocher
6866309c97
Backed out 2 changesets (bug 1251714, bug 1251715) for gtest failures in media code
...
Backed out changeset 1bbd0cd10f76 (bug 1251714)
Backed out changeset 80b197c5608f (bug 1251715)
MozReview-Commit-ID: EHOtiKLS4Xr
2016-03-01 11:36:35 -08:00
Nathan Froyd
70d7688ee3
Bug 1251714 - use UniquePtr instead of ScopedDeletePtr in media/; r=jesup
...
UniquePtr is more standard than ScopedDeletePtr; using standard
constructs whenever possible is preferable.
This patch merits a couple explanations:
- Where it made sense, I tried to convert:
T* foo() {
UniquePtr<T> x = ...;
...
return x.release();
}
into:
UniquePtr<T> foo()
with corresponding changes inside |foo|'s body.
- The attentive reader will note that:
auto x = MakeUnique<T>(...);
is used sometimes and:
UniquePtr<T> x(new T(...));
is used sometimes. I would prefer to use the former, but was stymied
in several places due to protected constructors. (MakeUnique doesn't
have access to those protected constructors, natch.)
2016-02-26 14:52:15 -05:00
Eric Rahm
e9c93e58a3
Bug 1251737 - Remove remaining references to MOZILLA_XPCOMRT_API from media. r=jesup
2016-02-27 11:12:07 -08:00
Eric Rahm
2917e8395e
Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
...
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
Eric Rahm
082b84fde2
Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc
...
Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
2016-02-25 15:54:04 -08:00
Eric Rahm
c9f8e6756f
Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc
...
This adds a base test for other mtransport tests to be derived from. It
handles common setup used by the mtransport tests and parses relevant env
vars.
2016-02-25 14:25:49 -08:00
Eric Rahm
d5bd208a66
Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
...
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -08:00
Eric Rahm
0d0d8d2c9e
Bug 1239870 - Part 1: Remove declaration of test_utils from header. r=bwc
...
Once files are all compiled into the same gtest this will cause duplicate
symbol errors. It's also unused.
2016-02-09 10:02:37 -08:00
Wes Kocher
72d9604d91
Backed out 8 changesets (bug 1251482, bug 1251494, bug 1251473, bug 1239870) for gtest failures
...
Backed out changeset f064a5efbb8c (bug 1251494)
Backed out changeset 9e33adec1aa6 (bug 1251482)
Backed out changeset ab0347657e25 (bug 1251473)
Backed out changeset 1d385d4f195d (bug 1239870)
Backed out changeset ceb3e1ee7dda (bug 1239870)
Backed out changeset 8574075bf42f (bug 1239870)
Backed out changeset ba077a3afbc7 (bug 1239870)
Backed out changeset eb99ab06414d (bug 1239870)
MozReview-Commit-ID: 7r9SEk4VGNU
2016-02-26 17:14:57 -08:00
Eric Rahm
6968bce012
Bug 1239870 - Part 5: Switch over mtransport tests to mozilla gtests. r=bwc
...
This converts the individual cppunit gtests into the combined mozilla gtest
which has access to xpcom internals. The build file is simplified to reflect
this change, individual main functions are removed, and duplicate symbols are
removed.
2016-02-09 10:02:40 -08:00
Eric Rahm
6c7be83907
Bug 1239870 - Part 4: Disable broken proxy tunnel tests. r=bwc
...
Several of the proxy tunnel tests are broken. The proxy tunnel test is also
not run in automation.
2016-02-25 15:54:04 -08:00
Eric Rahm
dc59103e98
Bug 1239870 - Part 3: Add a base mtransport gtest. r=bwc
...
This adds a base test for other mtransport tests to be derived from. It
handles common setup used by the mtransport tests and parses relevant env
vars.
2016-02-25 14:25:49 -08:00
Eric Rahm
c93c9b8dbe
Bug 1239870 - Part 2: Split out NrIceCtx initialization. r=bwc
...
This splits NrIceCtx initialization into its own function so that the tests
can initialize without having to create a dummy instance.
2016-02-24 18:37:18 -08:00
Eric Rahm
a90c690c9a
Bug 1239870 - Part 1: Remove declaration of test_utils from header. r=bwc
...
Once files are all compiled into the same gtest this will cause duplicate
symbol errors. It's also unused.
2016-02-09 10:02:37 -08:00
Byron Campen [:bwc]
ca4206043b
Bug 1251214: Ignore R_WOULDBLOCK in nr_stun_client_send_request r=ekr
...
MozReview-Commit-ID: HLrvq4BqT9D
--HG--
extra : rebase_source : 4fdef84e82f8eec2f013b7c667bb0ac606ce0751
2016-02-25 11:34:27 -06:00
Chris Peterson
40c713a733
Bug 1247536 - Fix -Wunreachable-code warning in media/mtransport/. r=drno
...
media/mtransport/nr_socket_prsock.cpp:1059:10: warning: 'return' will never be executed [-Wunreachable-code-return]
2016-02-10 22:23:32 -08:00
Nils Ohlmeier [:drno]
593e9d2dc5
Bug 1246363: add logging to detect if relay only option is set. r=mjf
...
--HG--
extra : rebase_source : b5c62327575846c894ce8e8b252bb7397ea913ac
2016-02-05 22:56:14 -08:00
Bogdan Postelnicu
81b7f293ba
Bug 1246925 - log filtering_type and mapping_type only if they are valid pointers. r=ekr
...
--HG--
extra : transplant_source : %DDe%CE%AD%BA%A4%93%F5%96kv%DEV%D2hZ%A11%10P
2016-02-09 15:38:00 +02:00
Nils Ohlmeier [:drno]
59d2466489
Bug 1224845 - close sockets on errors and don't connect to IPv4 TURN TCP from IPv6 sockets. r=jesup
...
--HG--
extra : transplant_source : %9Eg%1E%E0%B9%0E%5Eh%3EJK8uk%91s%EC%11I%17
2016-01-28 10:53:56 -08:00
Byron Campen [:bwc]
50a78a6abe
Bug 1244338 - Don't try to clean up |ctx| if null. r=drno
...
--HG--
extra : transplant_source : %22%1Bw%13e%E3HU%CA%3E%EC%14%9Ce%9CR%B6g%7D%01
2016-02-01 16:22:17 -06:00
Byron Campen [:bwc]
139b740255
Bug 1231973 - Allow NAT simulator to be enabled with the pref system. r=drno
...
--HG--
extra : transplant_source : %DC%23%97%86a%7D-%C5%1BU%10%C4%13%5E%BE%D7%CA%9B%3B%8D
2015-12-16 14:26:02 -06:00
Nils Ohlmeier [:drno]
738a3eff1d
Bug 1214269 - read multiple DTLS packets from NSS if present. r=mt r=jesup
...
--HG--
extra : rebase_source : 4024e950cf0fdd46c8b59cd4d4dafc6b8bae2115
2015-11-03 17:21:35 -08:00
Byron Campen [:bwc]
ea0d28b380
Bug 1231971 - Refactor the NAT simulator to use e10s sockets when appropriate. r=drno
...
--HG--
extra : transplant_source : %B4%2B%26%B8I%C5%E4%F9%83%A6%0B%21%D8%AA%D5%96%3B%B2%00%E1
2016-01-20 17:25:26 -06:00
Paul Kerr [:pkerr]
76bf81396a
Bug 1221786: clear about:webrtc logs for private browsing sessions. r=jib
...
No WebRTC session statistics will be saved until all PeerConnections
in private browsing window end. In addition, the shared
WebRTC ICE signalling log for that e10s process is disabled until the
private session close.
2016-01-26 08:08:25 -08:00
Paul Kerr [:pkerr]
7282ddd04a
Bug 1209252 - Part 2: typo fix for compile issue. r=bustage on a CLOSED TREE
2016-01-27 18:09:19 -08:00
Paul Kerr [:pkerr]
447a27169b
Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking
2016-01-27 16:05:10 -08:00
Xidorn Quan
50bcfcc983
Bug 1237909 part 1 - Remove unused TransportLayer::RunOnThread function. r=bwc
...
--HG--
extra : source : ae64d2c13d73b49063fc5dfa655ed7750f3b7091
2016-01-25 14:52:34 +11:00
Nils Ohlmeier [:drno]
f795a86676
Bug 1117984: added proxy connection state enum. r=bwc
...
--HG--
extra : rebase_source : 46ddbc54e9bd7d9d543b12cfe6147fa80e80f742
2016-01-20 15:55:35 -08:00
Nils Ohlmeier [:drno]
8bdb943452
Bug 1241690: reduce logging output for unconnected PCs. r=bwc
...
--HG--
extra : rebase_source : c2a1d73d3cb5f26df333c23dd94b35214f1d7721
2016-01-21 12:04:28 -08:00
Randell Jesup
fc4ef2aa30
Bug 1194259: nsresult != NS_IMETHODIMP rs=bustage
...
--HG--
extra : commitid : 8fAvxwbBFp7
2016-01-22 04:32:50 -05:00
Randell Jesup
22b767c6eb
Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno
...
--HG--
extra : commitid : 2LptzIDH6lK
2016-01-22 02:47:01 -05:00
Nils Ohlmeier [:drno]
84c3a1de83
Bug 1237299: addedd missing address family to DNS lookup for proxies r=bwc
...
--HG--
extra : rebase_source : 3c699136033854c779e418f22d38cd11b784d2ef
2016-01-11 13:39:11 -08:00
Nils Ohlmeier [:drno]
cc0ba97a71
Bug 895793: added interface type and link speed detection for Windows. r=bwc
...
--HG--
extra : rebase_source : 98293e939ff2f2c0c670c377d194fd93371f6c9b
2016-01-08 14:37:18 -08:00
Chris Peterson
f3abb8a9e8
Bug 1235235 - Fix -Wimplicit-fallthrough warning in media/mtransport/. r=ekr
...
media/mtransport/transportlayerdtls.cpp:872:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 22:03:13 -08:00
Nils Ohlmeier [:drno]
c69876f082
Bug 1229633: hash interface names on Windows. r=ekr
...
--HG--
extra : rebase_source : e76fc7866c70242ba957bd2c84c42c2f4fc2f592
2015-12-21 23:13:44 -08:00
Jan Beich
b9ba40cc6b
Bug 1231117 - Use xlocale on DragonFly as well. r=jesup
...
--HG--
extra : transplant_source : %7F%8D%B37%8B%0B%22%99%8F%A5%81%ECS%C5%ED%24%94%21%1F%8B
2015-12-03 12:32:52 +00:00
Jan Beich
59274cab04
Bug 1231109
- Drop FreeBSD checks for unsupported versions. r=jld r=jesup
...
--HG--
extra : transplant_source : P%FC%E3%29%07%05%D4%8DA%A7%89%90%26%B4%D5%E2%60%89%0C%B0
2015-12-03 12:28:22 +00:00
Nils Ohlmeier [:drno]
2e19c2bfed
Bug 1219557 - don't pair candidates from different reserved networks. r=mt r=bwc
...
--HG--
extra : transplant_source : %19xT%C2%94C%92%8C%F7%16%FA%5C%CE%3A%C5A%DB%D5%B1%29
2015-12-04 20:43:15 -08:00
Nils Ohlmeier [:drno]
b912f1ee3a
Bug 1006809 - update triggered check behavior to RFC 5245. r+bwc r=mjf
...
--HG--
extra : transplant_source : q%BDT%0A%29%7B%7C%A0%92%B1%AE%81%AA%EE%94%9B%A0b3%A7
2015-11-27 23:50:14 -08:00
Randell Jesup
9c83bc8f96
Bug 1198458: Rollup of changes previously applied to media/webrtc/trunk/webrtc and fixes to those rs=jesup r=froyd,jib,bwc,jesup,gcp,sotaro,pkerr,pehrsons
...
Landing as one rolled-up patch to avoid breaking regression tests, and in
keeping with previous WebRTC imports. Broken out parts that needed review
are on the bug.
2015-11-18 15:03:25 -05:00
Nils Ohlmeier [:drno]
2781200097
Bug 1208278 - improved STUN request timeout handling. r=bwc
...
--HG--
extra : rebase_source : 5db4b680b26eb5c4e9e69443602e3a0d8fbca247
2015-10-21 00:37:48 -07:00
Nils Ohlmeier [:drno]
8420475130
Bug 1220441 - Improve gather trickle ice unit tests. r=bwc r=mjf
...
--HG--
extra : transplant_source : %60%F7%F7%11%21%C1%10L%19u%C4M%11%40%E6%0F%D9%0AO%C5
2015-11-02 14:57:30 -08:00
Nils Ohlmeier [:drno]
944e3aaf48
Bug 1192403 - improve ICE TCP error message. r=mjf
...
--HG--
extra : transplant_source : -%25t%10%26%91%3EnY%1F%24%22%E2%94%24%B5%98%24c%16
2015-08-08 00:39:32 -07:00
Nils Ohlmeier [:drno]
1622f57a40
Bug 1216815 - fix memory leaks in test TCP STUN server. r=mjf
...
--HG--
extra : transplant_source : %23%AE%89%D1%AD%D2Sr%ED%0DKc%14%C3%3F%CC%CC%86%99%B8
2015-10-20 17:07:09 -07:00
Byron Campen [:bwc]
29e45beb5c
Bug 1214279: Fix the same infinite loop from bug 957236 in a different place. r=drno
2015-10-22 16:40:38 -04:00
Mike Hommey
3de00b45dd
Bug 1216444 - Remove GKMEDIAS_SHARED_LIBRARY. r=mshal
...
In bug 922912, we folded back gkmedias.dll info xul.dll, so in practice, there
is no default configuration left that exercises GKMEDIAS_SHARED_LIBRARY. And
sure enough, it's been broken for months in many different ways.
The gkmedias intermediate library is however kept for webrtc signaling tests.
2015-10-21 14:47:22 +09:00
Nicholas Nethercote
5b34a25af2
Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
...
DONTBUILD because it only changes comments.
This will hopefully prevent confusion like that in bug 1215903.
--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
583afa0965
Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
...
This commit was generated using the following script, executed at the
top level of a typical source code checkout.
# Don't modify select files in mfbt/ because it's not worth trying to
# tease out the dependencies currently.
#
# Don't modify anything in media/gmp-clearkey/0.1/ because those files
# use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
grep -v 'mfbt/RefPtr.h' | \
grep -v 'mfbt/nsRefPtr.h' | \
grep -v 'mfbt/RefCounted.h' | \
grep -v 'media/gmp-clearkey/0.1/' | \
xargs perl -p -i -e '
s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#; # handle strange #includes
'
# |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'
# RefPtr.h used |byRef| for dealing with COM-style outparams.
# nsRefPtr.h uses |getter_AddRefs|.
# Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Nils Ohlmeier [:drno]
eaaf58dece
Bug 1215616: use base address for server rflx ICE candidates r=bwc
2015-10-17 11:34:01 -04:00
Byron Campen [:bwc]
c80a5ed958
Bug 1208176 - Part 3: Be forgiving when we see prflx instead of host candidates in ice_unittest. r=drno
...
--HG--
extra : rebase_source : efe5b4e6c631a354d70ccbdd53427a282d254222
2015-10-06 15:09:45 -05:00
Byron Campen [:bwc]
c513778651
Bug 1208176 - Part 2: Add a one-sided trickle test case to ice_unittest. r=drno
...
--HG--
extra : rebase_source : 24f6c0d825a2f0fc161197c0143e0808c6df67f2
2015-10-06 15:07:19 -05:00
Byron Campen [:bwc]
eafccd90eb
Bug 1208176 - Part 1: Add a couple of interface names. r=drno
...
--HG--
extra : rebase_source : 5c5f621394ed6b69893c58ec13c50ad71272608a
2015-10-06 15:06:36 -05:00
Byron Campen [:bwc]
4204f5899a
Bug 1211389 - Make absolutely sure the relay->srflx pointer doesn't dangle. r=drno
2015-10-05 14:32:22 -05:00
Byron Campen [:bwc]
36ac94db5d
Bug 1208096 - Handle various failure cases for TURN gathering better. r=drno
...
--HG--
extra : transplant_source : S%06%02%9F%60%C1%BEu%0A%7FB%FFwx%E0%93%C6%81%AD%19
2015-09-24 14:12:37 -05:00
Nils Ohlmeier [:drno]
cdfa84b6c4
Bug 1207451 - removed framing from multi_tcp API. r=bwc
...
--HG--
extra : transplant_source : %F9%C6%02H%9B%97%C0%2C%AC%07%F4%F6%99%25%09%0D%B6%11b%A1
2015-09-19 12:12:15 -07:00
Nils Ohlmeier [:drno]
2a1411fa20
Bug 1206465
- removed ice_ctx from TestStunTcpServer. r=bwc
...
--HG--
extra : rebase_source : 88db248915f75421f881f293ed08963065a21b31
2015-09-18 23:25:38 -07:00
"Chih-Kai (Patrick) Wang"
028e16c84d
Bug 950660: Part 4: Bridge TCPSocketChild to nr_socket r=bwc,jdm
...
Improve use of TCPSocket to track in-flight writes and suppress extra runnables
Adds lots of logging to nr_socket_buffered_stun.c
Rework mtransport code to use new TCPSocketChild interface
2015-01-05 15:49:50 +08:00
Nils Ohlmeier [:drno]
8e7eb5231c
Bug 1205421 - fix DNS resolution of STUN server in ice_unittest. r=bwc
...
--HG--
extra : transplant_source : %CA%C8M%F6%8DrK%8D%113%C9%D512C%96%06%B8%86o
2015-09-16 13:42:57 -07:00
Martin Thomson
f2d864c210
Bug 1125292 - Sending ALPN header field for WebRTC calls, r=bwc
...
--HG--
extra : commitid : 76muueM8Vfu
extra : amend_source : 0bdbcb10d875a100a91fd583bb863958a24c127c
2015-09-15 10:28:34 -07:00
Byron Campen [:bwc]
c59ebacca3
Bug 1186590 - Part 2 - Move hard-coded interface priority list into nrinterfaceprioritizer, and simplify some functions. r=drno
...
--HG--
extra : rebase_source : 63cd39c3a1b721c78244064b32338643c7e0e436
2015-09-04 15:25:37 -05:00
Byron Campen [:bwc]
0909da6121
Bug 1186590 - Part 1 - Enable interface prioritizer on all platforms. r=drno
...
--HG--
extra : rebase_source : 7a7b4d0481561a71aed0f3fa46aceaf297afefcc
2015-09-02 15:06:58 -05:00
Byron Campen [:bwc]
feb3886659
Bug 1200763 - Remove hard-coded STUN IP address from ice_unittest, and do a DNS lookup instead. r=drno
...
--HG--
extra : transplant_source : %A0%B1z%00%7E%0B3n%C5%0A%15%5E%E5%15M%AD%CF%01n%D8
2015-09-04 10:21:12 -05:00
Michael Froman
4d7947ace5
Bug 1008792 - Check for valid pointer before using. r=bwc
...
--HG--
extra : transplant_source : %5E%08%E9.%109b%25e%97%0C%ED%5D%3F%2A1/%93%8A%B0
2015-09-01 11:52:43 -05:00
Byron Campen [:bwc]
379ef453c3
Bug 1201209 - Extend the timeout on socket readiness in test_nr_socket_unittest. r=drno
...
--HG--
extra : transplant_source : Y%C5%23%21%80%3B%AD%98%F2%23%C2pU%3E0%82%11%16%13%B2
2015-09-02 14:27:07 -05:00
Nils Ohlmeier [:drno]
03ad9c30eb
Bug 1199766 - Disable ICE TCP SO gathering via user pref. r=bwc
...
--HG--
extra : transplant_source : %60%C8%88-%E0%F2%9F%3FMn%A8%7C%3Ah%94s%D2%99%2AX
2015-08-28 13:22:45 -07:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00