gecko-dev/dom/network
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
..
interfaces Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
tests Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
Connection.cpp Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, invert the flag for dom bindings in nsWrapperCache and add SetIsNotDOMBinding. r=bz. 2014-10-07 11:44:48 +02:00
Connection.h Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku 2014-10-10 17:28:35 -04:00
Constants.h Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
moz.build Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
NetUtils.cpp Bug 1083449 - Use a shared mutex instead of a per-instance mutex to protect ifc commands. r=vchang, r=chucklee 2014-10-29 16:23:52 +08:00
NetUtils.h Bug 1083449 - Use a shared mutex instead of a per-instance mutex to protect ifc commands. r=vchang, r=chucklee 2014-10-29 16:23:52 +08:00
NetworkStatsDB.jsm Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
NetworkStatsManager.js Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
NetworkStatsManager.manifest Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
NetworkStatsService.jsm Bug 1058550 - Data use alert isn't showed when limit is passed. r=vchang 2014-09-02 15:22:25 +02:00
NetworkStatsServiceProxy.js Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
NetworkStatsServiceProxy.manifest Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
PTCPServerSocket.ipdl Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
PTCPSocket.ipdl Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
PUDPSocket.ipdl Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
TCPServerSocket.js Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
TCPServerSocketChild.cpp Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
TCPServerSocketChild.h Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
TCPServerSocketParent.cpp Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
TCPServerSocketParent.h Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
TCPSocket.js Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
TCPSocket.manifest Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
TCPSocketChild.cpp Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
TCPSocketChild.h Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
TCPSocketParent.cpp Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
TCPSocketParent.h Bug 1070990 - Trace the IPC TCP socket's reflector. r=mccr8 2014-09-23 15:19:19 -04:00
TCPSocketParentIntermediary.js Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
Types.h Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
UDPSocket.cpp Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan 2014-10-08 17:15:23 +01:00
UDPSocket.h Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
UDPSocketChild.cpp Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
UDPSocketChild.h Bug 1058101 - Flatten dom/network/src/ into parent directory. r=mccr8 2014-08-27 10:13:39 -07:00
UDPSocketParent.cpp Bug 786419 - Part 4 - Have UDP sockets check if the app is offline r=mcmanus 2014-08-23 02:16:31 +03:00
UDPSocketParent.h Bug 786419 - Part 4 - Have UDP sockets check if the app is offline r=mcmanus 2014-08-23 02:16:31 +03:00