Commit Graph

172 Commits

Author SHA1 Message Date
Ryan VanderMeulen
314718f75b Backed out changeset a1d51e3fea63 (bug 935838) for B2G test_udpsocket.html timeouts.
CLOSED TREE
2015-03-09 16:35:06 -04:00
Dragana Damjanovic
beab056b04 Bug 935838 - Add per app network traffic statistics to the UDP socket. r=sicking, r=mayhemer 2015-03-06 06:38:00 -05:00
Ethan Tseng
c940ba7846 Bug 1070944 - Part 2: Implementation of saving statistics. r=albert 2015-01-27 17:15:44 +08:00
Phil Ringnalda
823e1db1a5 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
ae4c52e049 Bug 885982 - Add missing IDL on a CLOSED TREE. 2015-01-17 12:17:26 -05:00
Josh Matthews
994d86067c Bug 885982 - Convert MozTCPSocket to WebIDL. r=baku 2013-06-24 16:50:00 -04:00
Josh Matthews
918cdf2fc9 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
502311ce61 Bug 1115502 - Expose inBrowser information to TCPSocket. r=honzab 2014-12-29 16:12:17 +08:00
Ryan VanderMeulen
cf749cfe47 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
546c79ec45 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
cb8766e5a7 Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00
Shih-Chiang Chien
33f79972b1 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
98851f79ce 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
d731e8e068 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
67f8cf1dac Backed out changeset 78ba6f47a5a7 (bug 1000040) for causing bug 1035172 2014-07-10 13:28:51 +08:00
John Shih
40281243e1 Bug 1000040 - Part 2: Implement EthernetManager.js. r=vchange,vyang 2014-05-29 16:35:06 +08:00
Henry Chang
73aad21522 Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
John Shih
9fafba436b Bug 986837 - Part 4: Port MozNetworkStats to WebIDL. r=bzbarsky 2014-05-05 14:54:23 +08:00
John Shih
c90e1619d9 Bug 986837 - Part 3: Port MozNetworkStatsAlarm to WebIDL. r=bzbarsky 2014-05-05 15:38:06 +08:00
John Shih
be30dbebed Bug 986837 - Part 2: Port MozNetworkStatsInterface to WebIDL. r=bzbarsky 2014-05-05 11:55:01 +08:00
John Shih
7fbce92192 Bug 986837 - Part 1: Port MozNetworkStatsData to WebIDL. r=bzbarsky 2014-05-05 16:40:11 +08:00
John Shih
6aa0595d71 Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
Masatoshi Kimura
24d07e5da7 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
5284ea1427 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
972f9a3c01 Backed out changeset 10348da2438a (Bug 956655) 2014-01-17 13:08:59 +08:00
Edgar Chen
713b19196f 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
826b2527bb Bug 952084 - Porting nsIDOMMozConnection to WebIDL, r=ehsan, r=bz 2014-01-16 11:53:48 +01:00
Edgar Chen
6fca404cb5 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
2428dee844 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
c21937d32d 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
9354fc6879 Bug 922926 - Part 1: IDL modifications. r=gene 2013-11-22 11:00:16 +08:00
Jessica Jong
b781062958 Bug 944225 - Part 1: Add set/getPreferredNetworkType() API (idl). r=hsinyi 2013-12-11 11:14:20 +08:00
Albert Crespell
2d64fee4fc Bug 858005 - Part 1: IDL definition. r=jonas 2013-05-24 11:27:02 +02:00
Patrick Wang
1ee49af721 Bug 870660: Part 1: Add packat filter to UDPSocketParent/Child. r=jduell 2013-11-30 00:13:44 +08:00
Szu-Yu Chen [:aknow]
0eda72a2f2 Bug 856553 - Part 1: Add setRadioEnabled API (idl). r=hsinyi 2013-11-21 09:08:36 -05:00
Albert Crespell
8dcbf7b96b 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
ca7389aa8a Bug 932183: Part 2: Update child's bufferedAmount more frequently. r=honzeb 2013-11-14 16:00:28 +08:00
Patrick Wang
55493da3eb 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
480eb00837 Bug 814629 - Part 2: nsIDOMMobileConnection changes (idl). f=edgar r=hsinyi 2013-11-13 16:50:46 +08:00
Shih-Chiang Chien
e4ec4aa825 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
306862180d Bug 869869 - Part 2, add PUDPSocket IPDL interface, r=jdm. 2013-05-10 20:00:28 +08:00
Jessica Jong
a56803adff Bug 818353 - Part 1: idl changes. f=edgar r=hsinyi 2013-10-30 12:01:51 +08:00
Vicamo Yang
3eb62fc290 Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey 2013-10-29 16:12:45 +08:00
Vicamo Yang
466c463b7c Bug 920551 - 2.e/2: fix MobileConnection. r=hsinyi,khuey 2013-10-29 16:12:41 +08:00
Albert Crespell
1a770989a9 Bug 887699 - Part 1/4 IDL definition. r=jonas,hsinyi 2013-10-15 12:01:16 +02:00
Dave Hylands
e6c78fd10b Backout 32307c4a20bc (Bug 818353) due to causing bug 929815. 2013-10-22 21:12:04 -07:00
Jessica Jong
5f7d738be2 Bug 818353 - Part 1: idl changes. f=edgar r=hsinyi 2013-10-18 15:01:03 +08:00
Ryan VanderMeulen
82ababf330 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
1999531b78 Bug 887699 - Part 1: IDL definition. r=jonas, r=hsinyi 2013-10-15 12:01:16 +02:00
Wes Kocher
3d4714451c Merge b2g-inbound to m-c 2013-09-18 17:09:39 -07:00