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