OLD | NEW |
1 This directory contains resources used by WebSocket server for testing. | 1 This directory contains resources used by WebSocket server for testing. |
2 Multiple tests may share one resource, or URI handler. | 2 Multiple tests may share one resource, or URI handler. |
3 | 3 |
4 - connect_check.html : A page provides simple WebSocket connectivity check. | 4 - connect_check.html : A page provides simple WebSocket connectivity check. |
5 This page changes page title to "PASS" to notify content::TitleWatcher. | 5 This page changes page title to "PASS" to notify content::TitleWatcher. |
6 Used by ProxyBrowserTest.BasicAuthWSConnect, | 6 Used by ProxyBrowserTest.BasicAuthWSConnect, |
7 SSLUITest.TestWSSInvalidCertAndGoForward, SSLUITest.TestWSSClientCert, | 7 SSLUITest.TestWSSInvalidCertAndGoForward, SSLUITest.TestWSSClientCert, |
8 and SSLUITestIgnoreCertErrors.TestWSS. | 8 and SSLUITestIgnoreCertErrors.TestWSS. |
9 | 9 |
10 - split_packet_check.html : A page for testing split packet handling. Here, | 10 - split_packet_check.html : A page for testing split packet handling. Here, |
11 packets mean TCP segments for WebSocket, or SSL records for secure | 11 packets mean TCP segments for WebSocket, or SSL records for secure |
12 WebSocket. This page changes the title to "PASS" to notify | 12 WebSocket. This page changes the title to "PASS" to notify |
13 content::TitleWatcher. | 13 content::TitleWatcher. |
14 Used by WebSocketBrowserTest.WebSocketSplitSegments and | 14 Used by WebSocketBrowserTest.WebSocketSplitSegments and |
15 WebSocketBrowserTest.SecureWebSocketSplitRecords. | 15 WebSocketBrowserTest.SecureWebSocketSplitRecords. |
16 | 16 |
17 - websocket_shared_worker.html : A page provides simple WebSocket test in | 17 - websocket_shared_worker.html : A page provides simple WebSocket test in |
18 shared worker. This page changes page title to "PASS" to notify | 18 shared worker. This page changes page title to "PASS" to notify |
19 content::TitleWatcher. | 19 content::TitleWatcher. |
20 Used by WorkerTest.WebSocketSharedWorker. | 20 Used by WorkerTest.WebSocketSharedWorker. |
21 | 21 |
| 22 - connect_to.html : A page which makes a connection to the WebSocket server |
| 23 specified in the "url" parameter, |
| 24 eg. connect_to.html?url=ws://localhost/echo Sets the title to "PASS" if |
| 25 connection succeeds and "FAIL" otherwise. |
| 26 |
22 - websocket_worker_simple.js : A JavaScript runs on Workers created from the | 27 - websocket_worker_simple.js : A JavaScript runs on Workers created from the |
23 websocket_shared_worker.html. | 28 websocket_shared_worker.html. |
24 Used by WorkerTest.WebSocketSharedWorker. | 29 Used by WorkerTest.WebSocketSharedWorker. |
25 | 30 |
26 - echo-with-no-extension_wsh.py : A WebSocket URL handler for echo testing. | 31 - echo-with-no-extension_wsh.py : A WebSocket URL handler for echo testing. |
27 This handler disables all WebSocket extension so that we can perform | 32 This handler disables all WebSocket extension so that we can perform |
28 frame data dependent tests. | 33 frame data dependent tests. |
29 Used by kinds of PPAPI tests for WebSocket, ExtensionApiTest.WebSocket, | 34 Used by kinds of PPAPI tests for WebSocket, ExtensionApiTest.WebSocket, |
30 and WorkerTest.WebSocketSharedWorker. | 35 and WorkerTest.WebSocketSharedWorker. |
31 | 36 |
32 - close_wsh.py : A WebSocket URL handler for testing outgoing close code and | 37 - close_wsh.py : A WebSocket URL handler for testing outgoing close code and |
33 reason. | 38 reason. |
34 Used by kinds of PPAPI tests for WebSocket. | 39 Used by kinds of PPAPI tests for WebSocket. |
35 | 40 |
36 - close-code-and-reason_wsh.py : A WebSocket URL handler for testing server | 41 - close-code-and-reason_wsh.py : A WebSocket URL handler for testing server |
37 initiated closing handshake. A client can ask server to close the | 42 initiated closing handshake. A client can ask server to close the |
38 connection with arbitrary code and reason. | 43 connection with arbitrary code and reason. |
39 Used by kinds of PPAPI tests for WebSocket. | 44 Used by kinds of PPAPI tests for WebSocket. |
40 | 45 |
41 - close-with-split-packet_wsh.py : A WebSocket URL handler for testing split | 46 - close-with-split-packet_wsh.py : A WebSocket URL handler for testing split |
42 packet handling. Here, packets mean TCP segments for WebSocket, or SSL | 47 packet handling. Here, packets mean TCP segments for WebSocket, or SSL |
43 records for secure WebSocket. | 48 records for secure WebSocket. |
44 Used by WebSocketBrowserTest.WebSocketSplitSegments and | 49 Used by WebSocketBrowserTest.WebSocketSplitSegments and |
45 WebSocketBrowserTest.SecureWebSocketSplitRecords. | 50 WebSocketBrowserTest.SecureWebSocketSplitRecords. |
46 | 51 |
47 - protocol-test_wsh.py : A WebSocket URL handler for testing outgoing opening | 52 - protocol-test_wsh.py : A WebSocket URL handler for testing outgoing opening |
48 handshake protocol. | 53 handshake protocol. |
49 Used by kinds of PPAPI tests for WebSocket. | 54 Used by kinds of PPAPI tests for WebSocket. |
OLD | NEW |