• Home
Name
Date
Size
#Lines
LOC

..--

OWNERSD03-May-202460 43

READMED03-May-20242.3 KiB5040

close-code-and-reason_wsh.pyD03-May-2024626 2616

close-with-split-packet_wsh.pyD03-May-2024877 3119

close_wsh.pyD03-May-2024721 2716

connect_check.htmlD03-May-2024819 3630

echo-with-no-extension_wsh.pyD03-May-2024625 2314

protocol-test_wsh.pyD03-May-2024525 2011

split_packet_check.htmlD03-May-2024834 3832

websocket_shared_worker.htmlD03-May-2024745 3229

websocket_worker_simple.jsD03-May-20241.2 KiB4738

README

1This directory contains resources used by WebSocket server for testing.
2Multiple tests may share one resource, or URI handler.
3
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.
9
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.
16
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.
21
22- websocket_worker_simple.js : A JavaScript runs on Workers created from the
23     websocket_shared_worker.html.
24     Used by WorkerTest.WebSocketSharedWorker.
25
26- 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
28     frame data dependent tests.
29     Used by kinds of PPAPI tests for WebSocket, ExtensionApiTest.WebSocket,
30     and WorkerTest.WebSocketSharedWorker.
31
32- close_wsh.py : A WebSocket URL handler for testing outgoing close code and
33     reason.
34     Used by kinds of PPAPI tests for WebSocket.
35
36- 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
38     connection with arbitrary code and reason.
39     Used by kinds of PPAPI tests for WebSocket.
40
41- 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
43     records for secure WebSocket.
44     Used by WebSocketBrowserTest.WebSocketSplitSegments and
45     WebSocketBrowserTest.SecureWebSocketSplitRecords.
46
47- protocol-test_wsh.py : A WebSocket URL handler for testing outgoing opening
48     handshake protocol.
49     Used by kinds of PPAPI tests for WebSocket.
50