gecko/dom/network/tests
Andrew Sutherland 546c79ec45 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
..
unit Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
unit_ipc Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
unit_stats Bug 1044737 - 3/3: fix NetworkStatsService::networkStatsAvailable and test cases. r=vchang 2014-08-01 15:08:42 +08:00
add_task.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
file_udpsocket_iframe.html Bug 745283 - Part 4: WebIDL binding for UDPSocket API. r+sr=smaug, r=khuey, r=baku 2014-04-14 09:21:26 +08:00
mochitest.ini Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
test_network_basics.html Bug 960426 - Part 2: Modifications for IDL change. r=blassey 2014-03-05 11:54:55 +08:00
test_networkstats_alarms.html Bug 1023341 - Fix test_networkstats_alarm.html. r=gene 2014-06-26 16:51:45 +08:00
test_networkstats_basics.html Bug 958689 - Dump some logs for finding out the root cause of the intermittent error. r=albert 2014-06-10 11:44:36 +08:00
test_networkstats_disabled.html Bug 958689 - Dump some logs for finding out the root cause of the intermittent error. r=albert 2014-06-10 11:44:36 +08:00
test_networkstats_enabled_no_perm.html Bug 958689 - Dump some logs for finding out the root cause of the intermittent error. r=albert 2014-06-10 11:44:36 +08:00
test_networkstats_enabled_perm.html Bug 958689 - Dump some logs for finding out the root cause of the intermittent error. r=albert 2014-06-10 11:44:36 +08:00
test_tcpsocket_client_and_server_basics.html Bug 1087145 - Move mozTCPSocket/TCPSocket unit tests from xpcshell tests to mochitest-plain tests. r=jdm 2014-10-29 22:03:54 -04:00
test_tcpsocket_client_and_server_basics.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
test_tcpsocket_default_permissions.html
test_tcpsocket_enabled_no_perm.html
test_tcpsocket_enabled_with_perm.html
test_udpsocket.html Bug 745283 - Part 4: WebIDL binding for UDPSocket API. r+sr=smaug, r=khuey, r=baku 2014-04-14 09:21:26 +08:00