1 This directory contains resources used by WebSocket server for testing.
2 Multiple tests may share one resource, or URI handler.
4 - connect_check.html : A page provides simple WebSocket connectivity check.
5 This page changes page title to "PASS" to notify content::TitleWatcher.
6 Used by ProxyBrowserTest.BasicAuthWSConnect,
7 SSLUITest.TestWSSInvalidCertAndGoForward, SSLUITest.TestWSSClientCert,
8 and SSLUITestIgnoreCertErrors.TestWSS.
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
12 WebSocket. This page changes the title to "PASS" to notify
13 content::TitleWatcher.
14 Used by WebSocketBrowserTest.WebSocketSplitSegments and
15 WebSocketBrowserTest.SecureWebSocketSplitRecords.
17 - websocket_shared_worker.html : A page provides simple WebSocket test in
18 shared worker. This page changes page title to "PASS" to notify
19 content::TitleWatcher.
20 Used by WorkerTest.WebSocketSharedWorker.
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.
27 - counted_connection.html : A page that creates a WebSocket connection
28 to count-connection_wsh.
29 This file does NOT close the established connection.
30 Used by SendCloseFrameWhenTabIsClosed.
32 - count_connection.html : A page that creates a WebSocket connection
33 to count-connection_wsh and checks the number of open and closed
34 websocket connections to the handler.
35 Used by SendCloseFrameWhenTabIsClosed.
37 - multiple-connections.html : Verify that HTTP connection limits are not applied
38 to WebSockets. Used by WebSocketBrowserTest.SSLConnectionLimit.
40 - websocket_worker_simple.js : A JavaScript runs on Workers created from the
41 websocket_shared_worker.html.
42 Used by WorkerTest.WebSocketSharedWorker.
44 - echo-with-no-extension_wsh.py : A WebSocket URL handler for echo testing.
45 This handler disables all WebSocket extension so that we can perform
46 frame data dependent tests.
47 Used by kinds of PPAPI tests for WebSocket, ExtensionApiTest.WebSocket,
48 and WorkerTest.WebSocketSharedWorker.
50 - close_wsh.py : A WebSocket URL handler for testing outgoing close code and
52 Used by kinds of PPAPI tests for WebSocket.
54 - close-code-and-reason_wsh.py : A WebSocket URL handler for testing server
55 initiated closing handshake. A client can ask server to close the
56 connection with arbitrary code and reason.
57 Used by kinds of PPAPI tests for WebSocket.
59 - close-with-split-packet_wsh.py : A WebSocket URL handler for testing split
60 packet handling. Here, packets mean TCP segments for WebSocket, or SSL
61 records for secure WebSocket.
62 Used by WebSocketBrowserTest.WebSocketSplitSegments and
63 WebSocketBrowserTest.SecureWebSocketSplitRecords.
65 - count-connection_wsh.py : counts the number of open and closed websocket
66 connections to this handler.
67 It sends the numbers after each connection establishment.
68 Used by SendCloseFrameWhenTabIsClosed.
70 - protocol-test_wsh.py : A WebSocket URL handler for testing outgoing opening
72 Used by kinds of PPAPI tests for WebSocket.