Commit Graph

170 Commits

Author SHA1 Message Date
Ethan Tseng
dc7d20d249 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +08:00
Phil Ringnalda
53a5e2bb9c Back out 3 changesets (bug 885982, bug 1118063) for b2g mochitest-6 bustage
CLOSED TREE

Backed out changeset 865e7bc208df (bug 885982)
Backed out changeset 9ede577f5ada (bug 885982)
Backed out changeset 6ccc86f7429e (bug 1118063)

--HG--
rename : dom/network/interfaces/nsITCPServerSocketInternal.idl => dom/network/interfaces/nsIDOMTCPServerSocket.idl
2015-01-17 13:26:10 -08:00
Josh Matthews
6334294144 Bug 885982 - Add missing IDL on a CLOSED TREE. 2015-01-17 12:17:26 -05:00
Josh Matthews
2e2e3a6cef Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Josh Matthews
ce0dd27e0a Bug 1118063 - Convert TCPServerSocket to WebIDL. r=baku,smaug,mayhemer,asuth
--HG--
rename : dom/network/interfaces/nsIDOMTCPServerSocket.idl => dom/network/interfaces/nsITCPServerSocketInternal.idl
2015-01-17 11:57:41 -05:00
Ethan Tseng
141dbb394d Bug 1115502 - Expose inBrowser information to TCPSocket. r=honzab 2014-12-29 16:12:17 +08:00
Ryan VanderMeulen
b4ff41d68e Bug 1119818 - Bump various UUIDs that were missed when IDL changes landed. r=jib, r=jdm, r=gavin, r=bz, a=me 2015-01-12 10:44:18 -05:00
Andrew Sutherland
9a4520d5ff Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm
Most of the TCPSocket and TCPServerSocket coverage was implemented exclusively
in Chrome-privileged xpcshell tests.  This failed to provide coverage for the
key use case of content-privileged code using TCPSocket.

This cleans up the test implementation and migrates them to mochitests.
Coverage is improved as evidenced by two tested TCPServerSocket issues that were
addressed in this patch:
- ArrayBuffers weren't being created in the content page's context, so
  exceptions would be thrown when accessed.
- 'drain' notifications were not being hooked up.

The following fix that lacks coverage that notices the fix was implemented:
- TCPServerSocket now properly propagates the appId for network usage tracking.
2014-10-29 22:03:54 -04:00
Wes Kocher
3bf1a97537 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Shih-Chiang Chien
6fb3b1ce8f Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Wes Kocher
3975ac3d32 Backed out 4 changesets (bug 745283) for conflicting with the backout of bug 786419 a=backout
Backed out changeset a1af198d91bd (bug 745283)
Backed out changeset 9fc6f4275bbb (bug 745283)
Backed out changeset 37c10c9f2a4d (bug 745283)
Backed out changeset bc0ab47e8ac7 (bug 745283)

--HG--
rename : netwerk/test/unit/test_udpsocket.js => netwerk/test/unit/test_bug952927.js
2014-08-26 16:33:42 -07:00
Shih-Chiang Chien
f791a86a22 Bug 745283 - Part 3: Support send input stream and multicast operation via PUDPSocket.ipdl. r=jduell, r=mt 2014-05-06 18:32:25 +08:00
Vicamo Yang
9ab07f78c0 Backed out changeset 78ba6f47a5a7 (bug 1000040) for causing bug 1035172 2014-07-10 13:28:51 +08:00
John Shih
071ca45123 Bug 1000040 - Part 2: Implement EthernetManager.js. r=vchange,vyang 2014-05-29 16:35:06 +08:00
Henry Chang
f325cee3b5 Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
John Shih
367574d291 Bug 986837 - Part 4: Port MozNetworkStats to WebIDL. r=bzbarsky 2014-05-05 14:54:23 +08:00
John Shih
7cc75a029d Bug 986837 - Part 3: Port MozNetworkStatsAlarm to WebIDL. r=bzbarsky 2014-05-05 15:38:06 +08:00
John Shih
e42fa22be1 Bug 986837 - Part 2: Port MozNetworkStatsInterface to WebIDL. r=bzbarsky 2014-05-05 11:55:01 +08:00
John Shih
94ed1cdba4 Bug 986837 - Part 1: Port MozNetworkStatsData to WebIDL. r=bzbarsky 2014-05-05 16:40:11 +08:00
John Shih
697caff053 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Masatoshi Kimura
b33d71c959 Bug 978611 - Part 2: Move lagacy dictionaries to WebIDL dictionaries for B2G. r=vicamo
--HG--
rename : dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl => dom/webidl/MozMobileConnection.webidl
rename : dom/network/interfaces/nsIDOMNetworkStatsManager.idl => dom/webidl/MozNetworkStats.webidl
2014-03-07 20:51:49 +09:00
Edgar Chen
4b46b11b47 Bug 956655 - Part 1: Move MobileConnection related files to dom/mobileconnection. r=smaug,khuey
--HG--
rename : dom/network/interfaces/nsIDOMMobileConnection.idl => dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl
rename : dom/network/interfaces/nsIMobileConnectionProvider.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
rename : dom/network/tests/marionette/manifest.ini => dom/mobileconnection/tests/marionette/manifest.ini
rename : dom/network/tests/marionette/test_call_barring_change_password.js => dom/mobileconnection/tests/marionette/test_call_barring_change_password.js
rename : dom/network/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_option.js
rename : dom/network/tests/marionette/test_call_barring_set_error.js => dom/mobileconnection/tests/marionette/test_call_barring_set_error.js
rename : dom/network/tests/marionette/test_mobile_connections_array_uninitialized.js => dom/mobileconnection/tests/marionette/test_mobile_connections_array_uninitialized.js
rename : dom/network/tests/marionette/test_mobile_data_connection.js => dom/mobileconnection/tests/marionette/test_mobile_data_connection.js
rename : dom/network/tests/marionette/test_mobile_data_location.js => dom/mobileconnection/tests/marionette/test_mobile_data_location.js
rename : dom/network/tests/marionette/test_mobile_data_state.js => dom/mobileconnection/tests/marionette/test_mobile_data_state.js
rename : dom/network/tests/marionette/test_mobile_icc_change.js => dom/mobileconnection/tests/marionette/test_mobile_icc_change.js
rename : dom/network/tests/marionette/test_mobile_last_known_network.js => dom/mobileconnection/tests/marionette/test_mobile_last_known_network.js
rename : dom/network/tests/marionette/test_mobile_mmi.js => dom/mobileconnection/tests/marionette/test_mobile_mmi.js
rename : dom/network/tests/marionette/test_mobile_networks.js => dom/mobileconnection/tests/marionette/test_mobile_networks.js
rename : dom/network/tests/marionette/test_mobile_operator_names.js => dom/mobileconnection/tests/marionette/test_mobile_operator_names.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type_by_setting.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type_by_setting.js
rename : dom/network/tests/marionette/test_mobile_roaming_preference.js => dom/mobileconnection/tests/marionette/test_mobile_roaming_preference.js
rename : dom/network/tests/marionette/test_mobile_set_radio.js => dom/mobileconnection/tests/marionette/test_mobile_set_radio.js
rename : dom/network/tests/marionette/test_mobile_voice_state.js => dom/mobileconnection/tests/marionette/test_mobile_voice_state.js
2013-12-24 15:55:52 +08:00
Edgar Chen
166780baea Backed out changeset 10348da2438a (Bug 956655) 2014-01-17 13:08:59 +08:00
Edgar Chen
f7411e4668 Bug 956655 - Part 1: Move MobileConnection related files to dom/mobileconnection. r=smaug,khuey
--HG--
rename : dom/network/interfaces/nsIDOMMobileConnection.idl => dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl
rename : dom/network/interfaces/nsIMobileConnectionProvider.idl => dom/mobileconnection/interfaces/nsIMobileConnectionProvider.idl
rename : dom/network/src/MobileConnection.cpp => dom/mobileconnection/src/MobileConnection.cpp
rename : dom/network/src/MobileConnection.h => dom/mobileconnection/src/MobileConnection.h
rename : dom/network/src/MobileConnectionArray.cpp => dom/mobileconnection/src/MobileConnectionArray.cpp
rename : dom/network/src/MobileConnectionArray.h => dom/mobileconnection/src/MobileConnectionArray.h
rename : dom/network/tests/marionette/manifest.ini => dom/mobileconnection/tests/marionette/manifest.ini
rename : dom/network/tests/marionette/test_call_barring_change_password.js => dom/mobileconnection/tests/marionette/test_call_barring_change_password.js
rename : dom/network/tests/marionette/test_call_barring_get_option.js => dom/mobileconnection/tests/marionette/test_call_barring_get_option.js
rename : dom/network/tests/marionette/test_call_barring_set_error.js => dom/mobileconnection/tests/marionette/test_call_barring_set_error.js
rename : dom/network/tests/marionette/test_mobile_data_connection.js => dom/mobileconnection/tests/marionette/test_mobile_data_connection.js
rename : dom/network/tests/marionette/test_mobile_data_location.js => dom/mobileconnection/tests/marionette/test_mobile_data_location.js
rename : dom/network/tests/marionette/test_mobile_data_state.js => dom/mobileconnection/tests/marionette/test_mobile_data_state.js
rename : dom/network/tests/marionette/test_mobile_last_known_network.js => dom/mobileconnection/tests/marionette/test_mobile_last_known_network.js
rename : dom/network/tests/marionette/test_mobile_mmi.js => dom/mobileconnection/tests/marionette/test_mobile_mmi.js
rename : dom/network/tests/marionette/test_mobile_networks.js => dom/mobileconnection/tests/marionette/test_mobile_networks.js
rename : dom/network/tests/marionette/test_mobile_operator_names.js => dom/mobileconnection/tests/marionette/test_mobile_operator_names.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type.js
rename : dom/network/tests/marionette/test_mobile_preferred_network_type_by_setting.js => dom/mobileconnection/tests/marionette/test_mobile_preferred_network_type_by_setting.js
rename : dom/network/tests/marionette/test_mobile_roaming_preference.js => dom/mobileconnection/tests/marionette/test_mobile_roaming_preference.js
rename : dom/network/tests/marionette/test_mobile_set_radio.js => dom/mobileconnection/tests/marionette/test_mobile_set_radio.js
rename : dom/network/tests/marionette/test_mobile_voice_state.js => dom/mobileconnection/tests/marionette/test_mobile_voice_state.js
2013-12-24 15:55:52 +08:00
Andrea Marchesini
dd1ce74810 Bug 952084 - Porting nsIDOMMozConnection to WebIDL, r=ehsan, r=bz 2014-01-16 11:53:48 +01:00
Edgar Chen
304af91da0 Bug 952043 - Part 1: IDL changes for providing the network types supported by platform. r=smaug,hsinyi 2014-01-02 15:52:35 +08:00
Jessica Jong
871adfdf54 Bug 952371 - Part 1: idl changes - [DSDS] mozMobileconnection.lastKnownNetwork and .lastKnownHomeNetwork aren't working. r=hsinyi 2014-01-08 18:54:33 +08:00
Edgar Chen
5238d6a834 Bug 956240 - WebMobileConnection: Use webidl event generator for the event that is dispatched by mozMobileConnection. r=smaug 2014-01-03 13:55:27 +08:00
John Shih
4111397c16 Bug 922926 - Part 1: IDL modifications. r=gene 2013-11-22 11:00:16 +08:00
Jessica Jong
df07502730 Bug 944225 - Part 1: Add set/getPreferredNetworkType() API (idl). r=hsinyi 2013-12-11 11:14:20 +08:00
Albert Crespell
149c592063 Bug 858005 - Part 1: IDL definition. r=jonas 2013-05-24 11:27:02 +02:00
Patrick Wang
7c8f13cfcf Bug 870660: Part 1: Add packat filter to UDPSocketParent/Child. r=jduell 2013-11-30 00:13:44 +08:00
Szu-Yu Chen [:aknow]
0f8176fbb9 Bug 856553 - Part 1: Add setRadioEnabled API (idl). r=hsinyi 2013-11-21 09:08:36 -05:00
Albert Crespell
23ec126607 Bug 937041 - Modify availableNetworks method to return all networks having data in database. r=gene, r=jshih 2013-11-19 13:03:34 +01:00
Patrick Wang
f12e1cc973 Bug 932183: Part 2: Update child's bufferedAmount more frequently. r=honzeb 2013-11-14 16:00:28 +08:00
Patrick Wang
602e89161a Bug 932183: Part 1: Rename function and add comments in TCPSocket implementation to make it more readable. r=honzab 2013-11-14 15:59:55 +08:00
Jessica Jong
bb005be1ee Bug 814629 - Part 2: nsIDOMMobileConnection changes (idl). f=edgar r=hsinyi 2013-11-13 16:50:46 +08:00
Shih-Chiang Chien
6e2bf838f8 Bug 936801 - use forward declaration for NetAddr instead of include DNS.h. r=mcmanus. 2013-11-12 13:54:17 +01:00
Shih-Chiang Chien
4d0b41056b Bug 869869 - Part 2, add PUDPSocket IPDL interface, r=jdm. 2013-05-10 20:00:28 +08:00
Jessica Jong
b9646289f2 Bug 818353 - Part 1: idl changes. f=edgar r=hsinyi 2013-10-30 12:01:51 +08:00
Vicamo Yang
8d3ece0bda Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey 2013-10-29 16:12:45 +08:00
Vicamo Yang
812e055581 Bug 920551 - 2.e/2: fix MobileConnection. r=hsinyi,khuey 2013-10-29 16:12:41 +08:00
Albert Crespell
4d4097b3d7 Bug 887699 - Part 1/4 IDL definition. r=jonas,hsinyi 2013-10-15 12:01:16 +02:00
Dave Hylands
8a71b055ed Backout 32307c4a20bc (Bug 818353) due to causing bug 929815. 2013-10-22 21:12:04 -07:00
Jessica Jong
86859a9f9b Bug 818353 - Part 1: idl changes. f=edgar r=hsinyi 2013-10-18 15:01:03 +08:00
Ryan VanderMeulen
2a5d6a7ebf Backed out 4 changesets (bug 887699).
Backed out changeset 5c878c48d732 (bug 887699)
Backed out changeset 57b03d7055e8 (bug 887699)
Backed out changeset ea06175feb4f (bug 887699)
Backed out changeset 516d0f14f7fd (bug 887699)
2013-10-16 17:12:54 -04:00
Albert Crespell
1e74154822 Bug 887699 - Part 1: IDL definition. r=jonas, r=hsinyi 2013-10-15 12:01:16 +02:00
Wes Kocher
2360c584db Merge b2g-inbound to m-c 2013-09-18 17:09:39 -07:00
Trevor Saunders
516ec6f51b bug 915566 - rm makefiles in dom/ r=gps 2013-09-13 12:25:21 -04:00
Ethan Tseng
9ea9589875 Bug 855951 - Collect and save TX/RX traffic amounts of TCP connections per-App, r=gene, mcmanus 2013-08-29 14:15:08 +08:00