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
Shih-Chiang Chien
a2a2c152ab
Bug 1228526 - Part 1, support device filtering by requested presentation URL. r=smaug
...
MozReview-Commit-ID: JrqeavLGub1
--HG--
extra : rebase_source : fc2eca80d59dc36e97a7af8ed3de6597faf38703
2016-08-26 10:59:27 +08: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
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
Kershaw Chang
b542f5170c
Bug 1254488 - Run the the prohibits mixed security contexts algorithm and check a priori unauthenticated URL in PresentationRequest, r=smaug
2016-08-10 23:01:00 +02:00
Shih-Chiang Chien
a8326d97ea
Bug 1288600 - reject promise with NotFoundError while no device, and NotAllowedError while canceled by user. r=smaug.
...
MozReview-Commit-ID: ArQHhdIpQjg
2016-08-09 09:58:14 +08:00
Shih-Chiang Chien
d0642b046a
Bug 1153134 - Part 3, retry startServer after timeout. r=junior.
...
MozReview-Commit-ID: 94cyXVPf5FN
2016-08-02 10:48:22 +08:00
Shih-Chiang Chien
555b9e27e8
Bug 1153134 - Part 2, support TLS control server. r=junior.
...
MozReview-Commit-ID: 2jVShMuEzTi
2016-07-26 10:59:52 +08:00
Shih-Chiang Chien
2bfa235595
Bug 1153134 - Part 1, establish TLS socket to encrypted control server. r=junior.
...
MozReview-Commit-ID: BamVPUoQP1r
2016-07-18 18:45:07 +08:00
Shih-Chiang Chien
5695b2c3e7
Bug 1278205 - use preference for exposing presentation API. r=smaug.
...
MozReview-Commit-ID: AXkZmPe9J6k
--HG--
extra : rebase_source : 4edf7b15349f235f0f655edadbce340b22a6abf7
2016-06-03 19:50:30 +08: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
2abb975dbb
Bug 1254484 - resolve relative presentation URL. r=smaug.
...
MozReview-Commit-ID: CF3WNGorwH1
2016-08-03 15:35:36 +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
b081892756
Bug 1197690 - Part3: Tests, r=smaug
...
--HG--
extra : rebase_source : 65396c7c1e80617a91060031a65efa698af79e73
2016-08-02 19:12: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
Kershaw Chang
165708a330
Bug 1197690 - Part1: Support reconnect command, r=junior
...
--HG--
extra : rebase_source : 4ccac7c28201562848c18b60b18614f450bdd19f
2016-08-02 19:10: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
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
Chris Peterson
b175c9fdd5
Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo
2016-07-20 22:03:25 -07:00
Carsten "Tomcat" Book
a0992595d6
merge mozilla-inbound to mozilla-central a=merge
2016-07-17 10:08:08 +02: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
c8b67767f3
Bug 1276378 - Part 1: Add terminate command in control protocol. r=junior
...
MozReview-Commit-ID: BwfJKcXmN07
--HG--
extra : rebase_source : 7df8c968def5fa9640499257ce8b8814fe884388
2016-05-26 16:22:27 -07:00
Alexandre Lissy
6798f02654
Bug 1286530 - Clean AvailableIn, CheckAnyPermissions and CheckAllPermissions from WebIDL r=bz,fabrice
...
MozReview-Commit-ID: 6EQfBM09xUE
--HG--
rename : dom/contacts/tests/test_contacts_cache.xul => dom/contacts/tests/test_contacts_a_cache.xul
rename : dom/contacts/tests/test_contacts_shutdown.xul => dom/contacts/tests/test_contacts_a_shutdown.xul
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_a_upgrade.xul
rename : dom/mobilemessage/tests/mochitest/mochitest.ini => dom/mobilemessage/tests/mochitest/chrome.ini
extra : rebase_source : 5f708f2a927fafff66626367ef07080785ba9f55
2016-04-21 15:48:59 +02:00
Kershaw Chang
4ccd60aace
Bug 1268758 - Part2: Test case, r=smaug
2016-07-14 02:44:00 +02:00
Kershaw Chang
baf1057b0d
Bug 1268758 - Part1: Implement allow-presentation sandboxing flag, r=smaug
2016-07-14 02:44:00 +02:00
Kershaw Chang
284538d08c
Bug 1210340 - Replace onterminate with onclose in test cases, r=smaug
2016-07-13 00:19:00 +02:00
Kershaw Chang
ccba465014
Bug 1210340 - Implement PresentationConnection.close(), r=smaug
2016-07-13 00:18:00 +02: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
0d76940df2
Bug 1272197 - Part 4, fix naming in test cases. r=junior
...
MozReview-Commit-ID: DfKVKA9YWyN
2016-07-11 20:27:55 +08:00
Shih-Chiang Chien
004be13dbc
Bug 1272197 - Part 3, backward compatibility for connecting TV 2.5 devices. r=junior
...
MozReview-Commit-ID: 1znjwuoO27b
--HG--
rename : dom/presentation/provider/MulticastDNSDeviceProvider.cpp => dom/presentation/provider/LegacyMDNSDeviceProvider.cpp
rename : dom/presentation/provider/MulticastDNSDeviceProvider.h => dom/presentation/provider/LegacyMDNSDeviceProvider.h
2016-07-04 18:27:09 +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
Shih-Chiang Chien
a4ba4d12cf
Bug 1272197 - Part 1 - broadcast new service type and protocol version on mDNS. r=junior
...
MozReview-Commit-ID: LIQmwVAz7gJ
2016-05-26 16:22:27 -07:00
Shih-Chiang Chien
91436f625e
Bug 1272197 - Part 0 - introduce jshint in PresentationControlService. r=junior
...
MozReview-Commit-ID: IGobNOtSL3Z
2016-07-04 17:58:51 +08:00
Kershaw Chang
a31a51a625
Bug 1268810 - Test case, r=smaug
2016-06-21 20:32:00 +02:00
Thomas Zimmermann
3ceab62a95
Bug 1276927: Fix DOM code to build with Android NDK, r=fabrice
...
MozReview-Commit-ID: KwW9O9DLFuy
2016-06-16 08:43:51 +01:00
Sebastian Hengst
9556f6c3b2
Backed out changeset 0086e164a0d6 (bug 1276927)
2016-06-15 12:24:11 +02:00
Thomas Zimmermann
56695984b0
Bug 1276927: Fix DOM code to build with Android NDK, r=fabrice
...
MozReview-Commit-ID: KwW9O9DLFuy
2016-06-15 10:59:48 +01:00
Ralph Giles
d8b5bb25d4
Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
...
NSPR_LOG_MODULES is deprecated.
MozReview-Commit-ID: GgJTpEHyZqJ
--HG--
extra : rebase_source : dea80975ee6281aff1476f99f1807f3093af82c9
2016-05-26 11:08:47 -07:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Junior Hsu
fa39bdbd67
Bug 1264513 - Part 3: new test cases for oop data channel scenario, r=smaug
2016-06-03 14:48:26 +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
Nicholas Nethercote
ec7b5a5b2b
No bug. Fix typo in name of mDiscveryTimeoutMs. r=me.
2016-06-01 11:45:16 +10:00
Kershaw Chang
17aef34672
Bug 1258600 - Part3: Modify tests, r=smaug
2016-05-30 08:48:00 +02: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
Kershaw Chang
fd61adc7d7
Bug 1258602 - Part2: Test case changes, r=smaug
2016-05-29 20:00:00 +02:00
Kershaw Chang
70abe8c5e3
Bug 1258602 - Part1: Add PresentationConnectionList, r=smaug
2016-05-29 19:59:00 +02:00
Kershaw Chang
c37e2410db
Bug 1254477 - Return null for defaultRequest at receiver side. r=smaug
2016-05-26 08:27:00 -04:00
Kershaw Chang
cd414072f6
Bug 1267965 - Part3: Call NotifySessionConnect when registering listener and when receiver is ready. r=smaug
2016-05-25 02:21:00 +02:00
Kershaw Chang
e68a87244e
Bug 1267965 - Part2: Store responding window ID and session ID in parent process. r=smaug
2016-05-25 02:20:00 +02:00
Kershaw Chang
230ae97e0a
Bug 1267965 - Part1: Move duplicate code into PresentationServiceBase. r=smaug
2016-05-25 02:19:00 +02:00
Shih-Chiang Chien
ef7fdfc03a
Bug 1234128 - Part 3, update test cases. r=smaug.
...
MozReview-Commit-ID: I5CoLpcXxXz
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:19:22 +08:00
Shih-Chiang Chien
427d2ea1b5
Bug 1234128 - Part 2, use mozpresentation to identify presented content. r=smaug.
2016-05-24 14:19:22 +08:00
Shih-Chiang Chien
c6b56100ad
Bug 1228266 - rename TCPPresentationServer to PresentationControlService. r=junior.
...
MozReview-Commit-ID: 2kHZ0XUG2ew
--HG--
rename : dom/presentation/interfaces/nsITCPPresentationServer.idl => dom/presentation/interfaces/nsIPresentationControlService.idl
rename : dom/presentation/provider/TCPPresentationServer.js => dom/presentation/provider/PresentationControlService.js
extra : rebase_source : adc621d185c91e74c1abbef8cc2d519f5bbaed3a
2016-05-20 14:53:30 +08:00
Ryan VanderMeulen
9d4120d4eb
Backed out 3 changesets (bug 1234128) for Android crashtest failures.
...
Backed out changeset 11db59507360 (bug 1234128)
Backed out changeset 8a0848fb59ac (bug 1234128)
Backed out changeset 7cf300dda85a (bug 1234128)
CLOSED TREE
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html
2016-05-19 10:32:02 -04:00
Shih-Chiang Chien
92912142fb
Bug 1234128 - Part 3: Update test cases. r=smaug
...
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
extra : rebase_source : 19a0c34b1f99beb9c722550f3e8dff9e9a4870e2
2016-05-17 11:22:41 +08:00
Shih-Chiang Chien
ec8b96d49f
Bug 1234128 - Part 2: Use mozpresentation to identify presented content. r=smaug
...
--HG--
extra : rebase_source : 0006f94fb02ef8bfa64d2f56a0d0a918b2691ac1
2016-05-17 11:18:16 +08:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07: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
96422f51d2
Bug 1235123 - Part 3 - Update interfaces and implantations of nsIPresentationDevice and nsIPresentationUIGlue to support 1-UA use case, r=schien
2016-04-28 15:18:21 +08:00
KuoE0
924d24f058
Bug 1208417 - Part 3 - Leverage socket-based session transport to establish presentation connection, r=schien, r=smaug
2016-04-28 15:05:53 +08:00
KuoE0
f6da5068fb
Bug 1208417 - Part 2 - Add DisplayDeviceProvider to Presentation API, r=schien, r=smaug
2016-04-28 15:05:25 +08: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
253cb47534
Bug 1234492 - Part 3 - Test case, r=smaug
...
--HG--
extra : rebase_source : adc59deab0c27b58b41b6abae944acb187e56409
2016-04-26 20:25:00 +02: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
Junior Hsu
55052e066a
Bug 1263878 - Randomize presentation session ID in test. r=schien
...
--HG--
extra : histedit_source : ecd3cc5d33e9d99e3c003e041f2931a08c34ccac
2016-04-24 23:21:00 -04: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
fce8602ee4
Bug 1234492 - Part 3: Add test case. r=smaug
...
--HG--
extra : rebase_source : fdd973e8d68d8d23b57967e5c074247991653c07
extra : histedit_source : 70aaf5ba5fb504238c2e8c91e546a60f7185e4fa
2016-03-04 12:01:09 +08: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
926d8aa917
Bug 1148307 - Part 3, implement session transport with DataChannel. r=jib.
...
--HG--
extra : rebase_source : 821a3fae4c6146d77d2e714e14e5eb9316f39e67
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
c8b30f409e
Backed out changeset 820f92f08f69 (bug 1148307)
2016-04-11 13:12:20 +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
fee05caf8c
Bug 1148307 - Part 3 - implement session transport with DataChannel. r=jib.
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
Mantaroh Yoshinaga
cf62a854b6
Bug 1254888 - Part 1: Add logging macro to dom/presentation. r=schien
2016-03-11 00:16:00 -05:00
Michelangelo De Simone
3eb888db23
Bug 1250109 - Change DOMEventTargetHelper subclasses to not assume that GetOwner() is non-null, since it can be nulled out by navigation. r=bzbarsky
...
MozReview-Commit-ID: 8EGB58FWLi2
--HG--
extra : rebase_source : f8d190021ad92f707cfce554ced5c525cc528f4d
2016-03-04 13:37:50 -08:00
Mantaroh Yoshinaga
3f7a5888a9
Bug 1253181 - Fix the variable name in TCPPresentationServer.js. r=schien
2016-03-03 07:10:00 -05:00
Sean Lin
92a150b47f
Bug 1245031 - [Presentation WebAPI] Add missing test receiver files. r=schien
2016-02-02 17:08:07 +08:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade
Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm)
2016-01-28 20:56:37 -08:00
Shih-Chiang Chien
8d4c9a3ae8
Bug 1239242 - support PresentationRequest.startWithDevice(). r=smaug.
2016-01-13 19:21:25 +08:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Shih-Chiang Chien
f786b78629
Bug 1224113 - fix ref count issue during channel close. r=jdm
2015-12-22 19:30:08 +08:00
Bogdan Postelnicu
9cf016e410
Bug 1231677 - verify the return of mDiscoveryTimer->Init, if it faild exit function with error code. r=jst
2015-12-10 07:56:00 +01: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
chunminchang
53f35290b7
Bug 1226144 - Free sessionId after using it. r=selin
2015-11-26 02:39:00 +01:00
Shih-Chiang Chien
215c71de0b
Bug 1225726 - enable nsDNSServiceDiscovery on OS X. r=mcmanus.
2015-11-18 14:02:31 +08:00
Birunthan Mohanathas
399934f259
Bug 1217307
- Remove some unnecessary null checks in rest of dom/. r=njn
2015-11-19 09:13:49 +02:00
Liang-Heng Chen
f644955620
Bug 1217807 - Part 2: Handle network online/offline event in TCPPresentationServer; r=junior
...
--HG--
extra : rebase_source : ca37f6102d65a7820d502f71d998eb33cf68f47c
2015-11-03 01:04:00 +01:00
Carsten "Tomcat" Book
d22b2c9770
Merge mozilla-central to b2g-inbound
2015-11-02 12:06:26 +01:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Sean Lin
4264e83883
Bug 1217373 - [Presentation WebAPI] Avoid B2G crash due to potential excessive releases in PresentationSessionTransport. r=jdm
2015-10-22 18:33:52 +08: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
Wes Kocher
5ba2dcfe5c
Merge b2ginbound to central, a=merge
2015-10-22 16:50:22 -07:00
Carsten "Tomcat" Book
a58c789859
Merge m-c to b2g-inbound
2015-10-22 12:00:41 +02:00
Sean Lin
4dce1c7f21
Bug 1215426 - [Presentation WebAPI] Grant access to browser receiving pages. r=smaug
2015-10-21 14:01:08 +08:00
Shih-Chiang Chien
c57dc9bed7
Bug 1214179 - Provide device Id for non-discoverable controller. r=xeonchen
2015-10-21 01:09:00 -04:00
Kershaw Chang
dbc1c386c9
Bug 1200132 - Use adderss to create socketTransport, r=schien, junior
2015-10-21 02:54:00 +02:00
Shih-Chiang Chien
f2b18d2885
Bug 1216398 - support non-discoverable controlling device. r=junior,xeonchen.
...
--HG--
extra : rebase_source : 7f840bba8e86746a372dd429c3cf4358ad86cb23
2015-10-20 16:47:56 +08: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
Liang-Heng Chen
9f41e090ae
Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien
2015-10-18 23:06:00 +02:00
Carsten "Tomcat" Book
f7cf52bdc6
Backed out changeset 2c0b212a2879 (bug 1205237)
2015-10-21 11:14:49 +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
Liang-Heng Chen
2611240343
Bug 1205237 - Part 2: add PresentationNetworkHelper; r=schien
...
--HG--
extra : rebase_source : 7e5e6f1dd260cf530b2da33b4025ecbeda793c15
2015-10-18 23:06:00 +02:00
Shih-Chiang Chien
990453f6e9
Bug 1136565 - report session request from device provider. r=xeonchen,junior,seanlin.
2015-10-19 10:44:59 +08: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
Shih-Chiang Chien
c281dbf704
Bug 1214176 - fix typo in _onOffer. r=junior.
...
--HG--
extra : rebase_source : 170c791f0b16fcc4dd49faea4301813c51c834d3
2015-10-13 05:23:00 +02:00
Sean Lin
871f8e8820
Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 2 - Tests. r=smaug
...
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_receiver_start_session_error.html => dom/presentation/tests/mochitest/file_presentation_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_start_session_error.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_error.html
rename : dom/presentation/tests/mochitest/test_presentation_receiver_start_session_timeout.html => dom/presentation/tests/mochitest/test_presentation_receiver_establish_connection_timeout.html
rename : dom/presentation/tests/mochitest/test_presentation_sender_start_session_error.html => dom/presentation/tests/mochitest/test_presentation_sender_establish_connection_error.html
2015-10-12 10:39:20 +08:00
Sean Lin
734f22b0e0
Bug 1212702 - [Presentation WebAPI] Rename to PresentationConnection. Part 1 - WebIDL bindings. r=smaug
...
--HG--
rename : dom/presentation/PresentationSession.cpp => dom/presentation/PresentationConnection.cpp
rename : dom/presentation/PresentationSession.h => dom/presentation/PresentationConnection.h
rename : dom/webidl/PresentationSession.webidl => dom/webidl/PresentationConnection.webidl
rename : dom/webidl/PresentationSessionConnectEvent.webidl => dom/webidl/PresentationConnectionAvailableEvent.webidl
2015-10-12 10:36:31 +08:00
Sean Lin
b4479e705d
Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 2 - Tests. r=smaug
2015-10-08 10:54:25 +08:00
Sean Lin
fb882d073c
Bug 1205219 - [Presentation WebAPI] Support terminate semantics. Part 1 - WebIDL & implementation changes. r=smaug
2015-10-08 18:11:10 +08:00
Liang-Heng Chen
6e929f6435
Bug 1194049 - Part 4: clear discovered devices when re-discover; r=schien
2015-09-30 01:48:00 +02:00
Liang-Heng Chen
84640eeee7
Bug 1194049 - Part 3: support device update; r=fabrice
2015-09-17 00:43:00 +02:00
Liang-Heng Chen
63cdeef8d2
Bug 1194049 - Part 2: add discovery timeout support; r=schien
2015-09-30 23:55:00 +02:00
Liang-Heng Chen
2437eeb9b2
Bug 1194049 - Part 1: add thread assertion; r=schien
2015-09-08 23:42:00 +02:00
Sean Lin
ca5474513a
Bug 1204709 - Disable some presentation mochitests on certain platforms to avoid intermittent issues. r=kwierso
2015-10-01 11:42:27 +08:00
Ehsan Akhgari
72953e5810
Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
...
Found by Viva64.
2015-09-28 09:08:42 -04:00
Sean Lin
3ddd640b1b
Bug 1205222
- [Presentation WebAPI] Add PresentationReceiver and navigator.presentation.receiver. r=smaug
2015-09-22 18:36:47 +08:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Sean Lin
cc9dd45d70
Bug 1205233 - Make Presentation API available for browser chrome code. r=smaug r=fabrice
2015-09-21 10:27:19 +08:00
Shu-yu Guo
64db2267cf
Bug 1202902
- Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Sean Lin
7535f5146c
Bug 1192101 - Part 5 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 5 - Tests. r=smaug
2015-09-09 17:49:32 +08:00
Sean Lin
258942501c
Bug 1192101 - Part 4 -Support PresentationRequest / PresentationAvailability / getSession(s). Part 4 - Rename PresentationSessionInfo relevant classes. r=smaug
2015-09-09 17:41:55 +08:00
Sean Lin
2484876e88
Bug 1192101 - Part 3 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 3 - Adjust errors. r=smaug
2015-09-09 16:38:26 +08:00
Sean Lin
97f0121975
Bug 1192101 - Part 2 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 2 - Change notification & event dispatching. r=smaug
2015-09-10 16:29:08 +08:00
Sean Lin
702df0ae17
Bug 1192101 - Part 1 - Support PresentationRequest / PresentationAvailability / getSession(s). Part 1 - WebIDL Bindings. r=smaug
2015-09-14 10:39:57 +08:00
Phil Ringnalda
b164dfe263
Merge m-c to f-t
2015-09-11 22:10:22 -07:00