gecko/dom/network/interfaces
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
..
moz.build
nsIDOMNetworkStatsManager.idl
nsIDOMTCPServerSocket.idl
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
nsINetworkStatsServiceProxy.idl
nsITCPServerSocketChild.idl
nsITCPServerSocketParent.idl
nsITCPSocketChild.idl
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