Commit Graph

592 Commits

Author SHA1 Message Date
Byron Campen [:bwc]
d0da0f7767 Bug 1037618 - Part 1: Add some logging to highlight TCP connection failures. r=drno
MozReview-Commit-ID: 4q84yGspvyX
2016-03-01 12:06:12 -06:00
Byron Campen [:bwc]
07c552aaf6 Bug 1252585: Clear received_ct_ in TestStunServer::Reset r=drno
MozReview-Commit-ID: F7Dgk5gN4cs
2016-03-01 13:59:43 -06:00
Byron Campen [:bwc]
2a4b5469a7 Bug 1252163: Fix CheckTcpConnectivity to wait for readable/writeable when necessary. r=drno
MozReview-Commit-ID: 6hz0eCghYE0
2016-02-29 12:33:47 -06:00
Byron Campen [:bwc]
92ad926810 Bug 1252171: Update last_used_ on TCP port mappings when they are used, similar to UDP. r=drno
MozReview-Commit-ID: DNinTza44la
2016-02-29 13:04:42 -06:00
Wes Kocher
e10192e063 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
20b04dca1b 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
813f5c3428 Bug 1251737 - Remove remaining references to MOZILLA_XPCOMRT_API from media. r=jesup 2016-02-27 11:12:07 -08:00
Eric Rahm
2360b4cc84 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
13e320b2d0 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
5ef735ab5d 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
8b76d16dac 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
c5f5c4ad4a 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
6055a3afff 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
19015dc128 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
44e9fe1405 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
8d2dbcfadb 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
aac78e2895 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
6964ea6946 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]
ba9d36129f Bug 1251214: Ignore R_WOULDBLOCK in nr_stun_client_send_request r=ekr
MozReview-Commit-ID: HLrvq4BqT9D
2016-02-25 11:34:27 -06:00
Chris Peterson
d62f35110d 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]
5eb6c07862 Bug 1246363: add logging to detect if relay only option is set. r=mjf 2016-02-05 22:56:14 -08:00
Bogdan Postelnicu
cc5f7ce2d5 Bug 1246925 - log filtering_type and mapping_type only if they are valid pointers. r=ekr 2016-02-09 15:38:00 +02:00
Nils Ohlmeier [:drno]
12cddca025 Bug 1224845 - close sockets on errors and don't connect to IPv4 TURN TCP from IPv6 sockets. r=jesup 2016-01-28 10:53:56 -08:00
Byron Campen [:bwc]
3d7fdb6008 Bug 1244338 - Don't try to clean up |ctx| if null. r=drno 2016-02-01 16:22:17 -06:00
Byron Campen [:bwc]
06024461a8 Bug 1231973 - Allow NAT simulator to be enabled with the pref system. r=drno 2015-12-16 14:26:02 -06:00
Nils Ohlmeier [:drno]
de2dab0590 Bug 1214269 - read multiple DTLS packets from NSS if present. r=mt r=jesup 2015-11-03 17:21:35 -08:00
Byron Campen [:bwc]
f5c1ebd63a Bug 1231971 - Refactor the NAT simulator to use e10s sockets when appropriate. r=drno 2016-01-20 17:25:26 -06:00
Paul Kerr [:pkerr]
8079b11b8b 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]
2fb6265743 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]
d4e008ea3b Bug 1209252: add buttons to clear session and signaling logs. r=jib, r=sicking 2016-01-27 16:05:10 -08:00
Xidorn Quan
0f91e96d64 Bug 1237909 part 1 - Remove unused TransportLayer::RunOnThread function. r=bwc 2016-01-25 14:52:34 +11:00
Nils Ohlmeier [:drno]
3e928004ef Bug 1117984: added proxy connection state enum. r=bwc 2016-01-20 15:55:35 -08:00
Nils Ohlmeier [:drno]
05faf0b611 Bug 1241690: reduce logging output for unconnected PCs. r=bwc 2016-01-21 12:04:28 -08:00
Randell Jesup
02da63c00b Bug 1194259: nsresult != NS_IMETHODIMP rs=bustage 2016-01-22 04:32:50 -05:00
Randell Jesup
e266b70181 Bug 1194259: Make ICE IP restriction to default routes work in E10S r=jesup,mcmanus,drno 2016-01-22 02:47:01 -05:00
Nils Ohlmeier [:drno]
6eeb92771a Bug 1237299: addedd missing address family to DNS lookup for proxies r=bwc 2016-01-11 13:39:11 -08:00
Nils Ohlmeier [:drno]
f5f3ec25ac Bug 895793: added interface type and link speed detection for Windows. r=bwc 2016-01-08 14:37:18 -08:00
Chris Peterson
3a43de57f0 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]
02af92ce64 Bug 1229633: hash interface names on Windows. r=ekr 2015-12-21 23:13:44 -08:00
Jan Beich
3d497044e1 Bug 1231117 - Use xlocale on DragonFly as well. r=jesup 2015-12-03 12:32:52 +00:00
Jan Beich
01b3717339 Bug 1231109 - Drop FreeBSD checks for unsupported versions. r=jld r=jesup 2015-12-03 12:28:22 +00:00
Nils Ohlmeier [:drno]
041b342a19 Bug 1219557 - don't pair candidates from different reserved networks. r=mt r=bwc 2015-12-04 20:43:15 -08:00
Nils Ohlmeier [:drno]
40a79bf2f0 Bug 1006809 - update triggered check behavior to RFC 5245. r+bwc r=mjf 2015-11-27 23:50:14 -08:00
Randell Jesup
0326ca0ffd 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]
a9cff2f915 Bug 1208278 - improved STUN request timeout handling. r=bwc 2015-10-21 00:37:48 -07:00
Nils Ohlmeier [:drno]
d0dad70b11 Bug 1220441 - Improve gather trickle ice unit tests. r=bwc r=mjf 2015-11-02 14:57:30 -08:00
Nils Ohlmeier [:drno]
c20885fcd8 Bug 1192403 - improve ICE TCP error message. r=mjf 2015-08-08 00:39:32 -07:00
Nils Ohlmeier [:drno]
c4d46806a2 Bug 1216815 - fix memory leaks in test TCP STUN server. r=mjf 2015-10-20 17:07:09 -07:00
Byron Campen [:bwc]
749563e567 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
9768be95eb 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