gecko-dev/dom/network/interfaces
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
..
moz.build Backed out changeset 78ba6f47a5a7 (bug 1000040) for causing bug 1035172 2014-07-10 13:28:51 +08:00
nsIDOMNetworkStatsManager.idl Bug 986837 - Part 3: Port MozNetworkStatsAlarm to WebIDL. r=bzbarsky 2014-05-05 15:38:06 +08:00
nsIDOMTCPServerSocket.idl Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
nsIDOMTCPSocket.idl Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
nsIMozNavigatorNetwork.idl Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
nsINetworkStatsServiceProxy.idl Bug 922926 - Part 1: IDL modifications. r=gene 2013-11-22 11:00:16 +08:00
nsITCPServerSocketChild.idl Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
nsITCPServerSocketParent.idl Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
nsITCPSocketChild.idl Bug 937528 - Initialize port and host for the tcp server accepted socket. r=jduell 2013-12-19 11:21:12 +08:00
nsITCPSocketParent.idl Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
nsIUDPSocketChild.idl Bug 745283 - rev UUID again r=me a=kwierso 2014-08-26 18:05:26 -07:00