mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
9a4520d5ff
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. |
||
---|---|---|
.. | ||
moz.build | ||
nsIDOMNetworkStatsManager.idl | ||
nsIDOMTCPServerSocket.idl | ||
nsIDOMTCPSocket.idl | ||
nsIMozNavigatorNetwork.idl | ||
nsINetworkStatsServiceProxy.idl | ||
nsITCPServerSocketChild.idl | ||
nsITCPServerSocketParent.idl | ||
nsITCPSocketChild.idl | ||
nsITCPSocketParent.idl | ||
nsIUDPSocketChild.idl |