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. |
||
---|---|---|
.. | ||
unit | ||
unit_ipc | ||
unit_stats | ||
add_task.js | ||
file_udpsocket_iframe.html | ||
mochitest.ini | ||
test_network_basics.html | ||
test_networkstats_alarms.html | ||
test_networkstats_basics.html | ||
test_networkstats_disabled.html | ||
test_networkstats_enabled_no_perm.html | ||
test_networkstats_enabled_perm.html | ||
test_tcpsocket_client_and_server_basics.html | ||
test_tcpsocket_client_and_server_basics.js | ||
test_tcpsocket_default_permissions.html | ||
test_tcpsocket_enabled_no_perm.html | ||
test_tcpsocket_enabled_with_perm.html | ||
test_udpsocket.html |