Shih-Chiang Chien
db74baa4e1
Bug 1264110 - fix timing issue in test cases. r=kershaw.
...
MozReview-Commit-ID: 2Ia4L7EizrA
--HG--
extra : rebase_source : dda92d84e51a124d5820176d36cada7c20bfad2e
2016-09-05 18:18:11 +08:00
Nicholas Nethercote
34dcc7b852
Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
...
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.
In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.
> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.
> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");
This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
be true" sense used in assertions.
A common variation on the side-effect-free case is the following.
> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");
--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Kershaw Chang
4317633349
Bug 1288297 - Construct PresentationRequest with multiple URLs, r=smaug
2016-09-05 01:17:00 +02:00
Kershaw Chang
bd60aefa57
Bug 1298360
- Separate session id and window id mapping into two parts. r=smaug
...
--HG--
extra : rebase_source : c365514be64095e2936d4ccb8a6560b96ad3d70e
2016-08-29 19:40:00 -04:00
Wes Kocher
07f8858bf6
Merge inbound to central, a=merge
2016-08-17 16:38:41 -07:00
Kershaw Chang
9eedf3c0a7
Bug 1295063 - Send reconnect command when NotifyConnected. r=smaug
...
--HG--
extra : rebase_source : e6ef7aa0852dbbb7de3214d38ca77899cb60f042
2016-08-16 19:32:00 -04:00
Shih-Chiang Chien
240af6bcf8
Bug 1284188
- use nsINetworkInfoService to obtain self IP address. r=smaug.
...
MozReview-Commit-ID: 1QwjrkV9cEk
--HG--
extra : rebase_source : 2aa7c8620505074aeba012de358d56edf0dc2af5
2016-08-12 15:27:33 +08:00
Michael Layzell
aa89e8fd55
Bug 1293001 - Part 1: Change the BinaryName of nsIFrameLoaderOwner::frameLoader (which overloaded another virtual method) to FrameLoaderXPCOM, r=froydnj
...
MozReview-Commit-ID: Db3z2DP5qba
2016-08-11 15:49:39 -04:00
Shih-Chiang Chien
e9c84047a9
Bug 1292057 - add NSPR log for Presentation API. r=kershaw
...
MozReview-Commit-ID: Ko1BrG99Uqj
--HG--
extra : rebase_source : 5ce5ddbd12e0b7fc559cb0046b2200ba964fd322
2016-08-15 18:26:13 +08:00
Shih-Chiang Chien
a99142a2c5
Bug 1287717 - Part 2, close receiver page while loading fail. r=smaug.
...
MozReview-Commit-ID: Dogham2LmHG
2016-08-04 09:46:14 +08:00
Shih-Chiang Chien
90424f760d
Bug 1287717 - Part 1, enter closed state while fail to connect. r=smaug.
...
MozReview-Commit-ID: L3gacVfSlcd
2016-08-02 18:40:00 +02:00
Kershaw Chang
4f5b2c7d11
Bug 1197690 - Part2: Implement reconnect, r=smaug
...
--HG--
extra : rebase_source : b40f774b3af223910da37094b2f82bfc5b8b92d2
2016-08-02 19:11:00 +02:00
Shih-Chiang Chien
dde25f3864
Bug 1289292 - Shutdown session info while fail to establish control channel. r=smaug
2016-07-27 18:53:00 -04:00
Shih-Chiang Chien
d75d9bf8c4
Bug 1276378 - Part 2: Implement PresentationConnection.terminate(). r=smaug
...
MozReview-Commit-ID: 7GqgIdsuM3f
--HG--
extra : rebase_source : 8a860c6bf0aa103eda26d175548256c1d619ce19
2016-06-14 08:15:07 +01:00
Shih-Chiang Chien
387368f47d
Bug 1272197 - Part 5, rename callback functions in nsIPresentationControlChannel.idl. r=junior
...
MozReview-Commit-ID: cvavmuUxeX
2016-07-12 10:16:46 +08:00
Shih-Chiang Chien
0357c84f74
Bug 1272197 - Part 2, implement start presentation procedure. r=junior
...
MozReview-Commit-ID: 6RwrwfPpCuR
2016-07-04 18:12:04 +08:00
Junior Hsu
64ded9c3d1
Bug 1264513 - Part 2: PPresentationBuilder.ipdl changes - OOP handling for builder, r=smaug
2016-06-03 14:48:26 +08:00
Junior Hsu
60de51a4c5
Bug 1264513 - Part 1: IPresentationSessionTransportBuilder.idl changes - necessary refactory in in-proc data channel handling, r=smaug
2016-06-03 14:48:26 +08:00
Kershaw Chang
7649e6aa87
Bug 1258600 - Part2: Implement onconnect, onclose and onterminate event handlers, r=smaug
2016-05-30 08:48:00 +02:00
Kershaw Chang
9cbfe7debc
Bug 1258602 - Part3: Changes for making the initial state to “connecting”, r=smaug
2016-05-29 23:01:00 +02:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
KuoE0
c96544e832
Bug 1208417 - Part 1 - Add disconnect to nsIPresentationDevice & add a new nsIPresentationLocalDevice interface for 1-UA device, r=smaug
2016-04-28 15:05:16 +08:00
KuoE0
f4bf3654a2
Bug 1234492 - Part 2 - Use the role definition in nsIPresentationService, r=smaug
...
--HG--
extra : rebase_source : 3e04a5cb6e5a6f20730f6d0a4d45a376405aec66
2016-04-18 02:23:00 +02:00
KuoE0
846c1e60ec
Bug 1234492 - Part 1 - Add direction in PresentationService, r=smaug
...
Conflicts:
dom/presentation/PresentationConnection.cpp
dom/presentation/PresentationService.cpp
dom/presentation/interfaces/nsIPresentationService.idl
dom/presentation/ipc/PPresentation.ipdl
dom/presentation/ipc/PresentationIPCService.cpp
dom/presentation/ipc/PresentationParent.cpp
--HG--
extra : rebase_source : c592a64c13113cc323a18a68c103faaa7614d314
2016-04-18 02:19:00 +02:00
Ryan VanderMeulen
2fea4e0c11
Backed out 3 changesets (bug 1234492) for frequent OSX test_presentation_dc_receiver.html failures.
...
Backed out changeset 94ec70bf8c22 (bug 1234492)
Backed out changeset ac0e65743b5d (bug 1234492)
Backed out changeset 801cac365dd9 (bug 1234492)
2016-04-24 18:50:55 -04:00
KuoE0
dbb9382505
Bug 1234492 - Part 2: Use the role definition in nsIPresentationService. r=smaug
...
--HG--
extra : rebase_source : c0f20c1d9603ebf416c68e6ce3b4fc27bcd86aef
extra : histedit_source : 07ce3d509e8aa9dd62558123a3f8b6b799ba385a
2016-04-18 15:13:54 +08:00
KuoE0
e5175b9483
Bug 1234492 - Part 1: Add direction in PresentationService. r=smaug
...
--HG--
extra : rebase_source : 56c30d5565e5875b2f30f8f07fad01f91a15f0f0
extra : histedit_source : 7273fb211f9656ab0487301227b3d6361644b7e8
2015-11-27 16:06:32 +08:00
Junior Hsu
13d36ef21b
Bug 1148307 - Part 5, pref off data channel session transport, r=smaug
...
--HG--
extra : rebase_source : 31fa84a251cd4a7ce3f3aca42f950ea79ff8b5d0
2016-04-11 11:28:36 +08:00
Junior Hsu
fce48d6554
Bug 1148307 - Part 4, use data channel in substitution for TCP session transport (in-process), r=smaug
...
--HG--
rename : dom/presentation/tests/mochitest/test_presentation_receiver.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_oop.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_oop.html
rename : dom/presentation/tests/mochitest/test_presentation_sender.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_default_request.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_disconnect.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_disconnect.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_establish_connection_error.html
extra : rebase_source : 01a976ea5c73abcc15b86594b97eed7aff57a95b
2016-04-11 11:20:55 +08:00
Junior Hsu
5888006d05
Bug 1148307 - Part 2, let session transport send DOM string. r=smaug
...
--HG--
extra : rebase_source : 33b444a23d3a0b94d1830849d948156323ec8557
2016-04-11 11:20:55 +08:00
Junior Hsu
f215592724
Bug 1148307 - Part1, separate object bruilder from nsIPresentationSessionTransport, r=smaug
...
--HG--
rename : dom/presentation/PresentationSessionTransport.cpp => dom/presentation/PresentationTCPSessionTransport.cpp
rename : dom/presentation/PresentationSessionTransport.h => dom/presentation/PresentationTCPSessionTransport.h
extra : rebase_source : 6da6bde55ed99a07a22f6cd2ec509fe2b6578201
2015-09-24 16:16:47 +08:00
Sebastian Hengst
f17e7a91b7
Backed out changeset 17dfb6404d37 (bug 1148307) for OS X build bustage. r=backout on a CLOSED TREE
...
--HG--
rename : dom/presentation/PresentationTCPSessionTransport.cpp => dom/presentation/PresentationSessionTransport.cpp
rename : dom/presentation/PresentationTCPSessionTransport.h => dom/presentation/PresentationSessionTransport.h
2016-04-11 13:12:34 +02:00
Sebastian Hengst
ae9f706ab7
Backed out changeset dfe4cc7062d1 (bug 1148307)
2016-04-11 13:12:26 +02:00
Sebastian Hengst
3e646cbd97
Backed out changeset 3cb658c3e3f9 (bug 1148307)
...
--HG--
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver.html => dom/presentation/tests/mochitest/test_presentation_receiver.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_timeout.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_receiver_oop.html => dom/presentation/tests/mochitest/test_presentation_receiver_oop.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender.html => dom/presentation/tests/mochitest/test_presentation_sender.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html => dom/presentation/tests/mochitest/test_presentation_sender_default_request.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender_disconnect.html => dom/presentation/tests/mochitest/test_presentation_sender_disconnect.html
rename : dom/presentation/tests/mochitest/test_presentation_tcp_sender_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html
2016-04-11 13:12:13 +02:00
Sebastian Hengst
85c0244174
Backed out changeset 4441e42e5bec (bug 1148307)
2016-04-11 13:12:05 +02:00
Junior Hsu
bfa9967892
Bug 1148307 - Part 5 - pref off data channel session transport, r=smaug
2016-04-11 11:28:36 +08:00
Junior Hsu
a8a1aaba30
Bug 1148307 - Part 4 - use data channel in substitution for TCP session transport (in-process), r=smaug
...
--HG--
rename : dom/presentation/tests/mochitest/test_presentation_receiver.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_oop.html => dom/presentation/tests/mochitest/test_presentation_tcp_receiver_oop.html
rename : dom/presentation/tests/mochitest/test_presentation_sender.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_default_request.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_default_request.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_disconnect.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_disconnect.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html => dom/presentation/tests/mochitest/test_presentation_tcp_sender_establish_connection_error.html
2016-04-11 11:20:55 +08:00
Junior Hsu
248ceef0ca
Bug 1148307 - Part 2 - let session transport send DOM string. r=smaug
2016-04-11 11:20:55 +08:00
Junior Hsu
d6cfc97f77
Bug 1148307 - Part1 - separate object bruilder from nsIPresentationSessionTransport, r=smaug
...
--HG--
rename : dom/presentation/PresentationSessionTransport.cpp => dom/presentation/PresentationTCPSessionTransport.cpp
rename : dom/presentation/PresentationSessionTransport.h => dom/presentation/PresentationTCPSessionTransport.h
2015-09-24 16:16:47 +08:00
Mantaroh Yoshinaga
9b3e892c5b
Bug 1254888 - Part 2: Add log to PresentationSessionInfo and Transport. r=schien
2016-03-13 17:05:00 -04:00
Shih-Chiang Chien
f786b78629
Bug 1224113 - fix ref count issue during channel close. r=jdm
2015-12-22 19:30:08 +08:00
Chih-Yi Leu
5bdf623a7b
Bug 1227030 - Change log module to LazyLogModule with a more self-explantory name. r=seanlin
...
--HG--
extra : rebase_source : e92438ada9700f112fb4074b9089f3b459781ae8
2015-12-01 02:29:00 +01:00
Nathan Froyd
c381a6b86c
Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
...
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Junior Hsu
a647752f7e
Bug 1217683 - Add sendIceCandidate and implement |close(aReason)| in TCPControlChannel. r=fabrice
2015-05-25 15:23:26 +08:00
Shih-Chiang Chien
1faaf1b874
Bug 1217712
- Part 2 - handle abnormal control channel close with no reason. r=seanlin.
2015-10-23 00:16:00 +02:00
Liang-Heng Chen
0727e1ae3e
Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin
2015-10-21 07:53:00 +02:00
Carsten "Tomcat" Book
bdf50df75e
Backed out changeset b47029d8d419 (bug 1205237)
2015-10-21 11:14:48 +02:00
Liang-Heng Chen
1388286814
Bug 1205237 - Part 3: get self Wi-Fi IP address; r=seanlin
...
--HG--
extra : rebase_source : b86c2f05e6f0bf6389864e5a2b36756c08afef0b
2015-10-20 02:32:00 +02:00