File: README

package info (click to toggle)
chromium 139.0.7258.127-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,068 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (76 lines) | stat: -rw-r--r-- 3,699 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
This directory contains resources used by WebSocket server for testing.
Multiple tests may share one resource, or URI handler.

- connect_check.html : A page provides simple WebSocket connectivity check.
     This page changes page title to "PASS" to notify content::TitleWatcher.
     Used by ProxyBrowserTest.BasicAuthWSConnect,
     SSLUITest.TestWSSInvalidCertAndGoForward, SSLUITest.TestWSSClientCert,
     and SSLUITestIgnoreCertErrors.TestWSS.

- split_packet_check.html : A page for testing split packet handling. Here,
     packets mean TCP segments for WebSocket, or SSL records for secure
     WebSocket. This page changes the title to "PASS" to notify
     content::TitleWatcher.
     Used by WebSocketBrowserTest.WebSocketSplitSegments and
     WebSocketBrowserTest.SecureWebSocketSplitRecords.

- websocket_shared_worker.html :  A page provides simple WebSocket test in
     shared worker. This page changes page title to "PASS" to notify
     content::TitleWatcher.
     Used by WorkerTest.WebSocketSharedWorker.

- close_observer.html : A page that creates a WebSocket connection to
     close-observer_wsh.py with role=observer and checks the contents of the
     message that is returned.
     Used by the SendCloseFrameWhenTabIsClosed browser test.

- connect_and_be_observed.html : A page that creates a WebSocket connection to
     close-observer_wsh.py with role=observed.
     This file does NOT close the established connection.
     Used by the SendCloseFrameWhenTabIsClosed browser test.

- connect_to.html : A page which makes a connection to the WebSocket server
     specified in the "url" parameter,
     eg. connect_to.html?url=ws://localhost/echo Sets the title to "PASS" if
     connection succeeds and "FAIL" otherwise.

- check-origin.html : A page which checks the origin header of the WebSocket
     opening handshake. The page is expected to be accessed via a file:// URL.

- multiple-connections.html : Verify that HTTP connection limits are not applied
     to WebSockets. Used by WebSocketBrowserTest.SSLConnectionLimit.

- websocket_worker_simple.js : A JavaScript runs on Workers created from the
     websocket_shared_worker.html.
     Used by WorkerTest.WebSocketSharedWorker.

- echo-with-no-extension_wsh.py : A WebSocket URL handler for echo testing.
     This handler disables all WebSocket extension so that we can perform
     frame data dependent tests.
     Used by kinds of PPAPI tests for WebSocket, ExtensionApiTest.WebSocket,
     and WorkerTest.WebSocketSharedWorker.

- close-immediately_wsh.py : A WebSocket URL handler that performs an immediate
     clean close as soon as the connection is established.

- close_wsh.py : A WebSocket URL handler for testing outgoing close code and
     reason.
     Used by kinds of PPAPI tests for WebSocket.

- close-code-and-reason_wsh.py : A WebSocket URL handler for testing server
     initiated closing handshake. A client can ask server to close the
     connection with arbitrary code and reason.
     Used by kinds of PPAPI tests for WebSocket.

- close-observer_wsh.py : enables observing the close of one WebSocket due to
     the tab being closed from another page.
     Used by the SendCloseFrameWhenTabIsClosed browser test.

- protocol-test_wsh.py : A WebSocket URL handler for testing outgoing opening
     handshake protocol.
     Used by kinds of PPAPI tests for WebSocket.

- send-message-every-quarter-second_wsh.py : A WebSocket URL handler to send
     a caller-specified number of messages through the port, each a quarter
     second apart. Useful when testing sustained web socket connections without
     continued client-side interaction. Used in ExtensionWebSocketApiTests.