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
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