mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
546c79ec45
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 |