caption: Control use of the Direct Sockets API
default: null
desc: |-
The Direct Sockets API allows communication with arbitrary endpoints using TCP and UDP.
Please see https://github.com/WICG/direct-sockets for details.
Setting the policy to 1 allows qualifying origins to use Direct Sockets.
These include Chrome Apps, Isolated Web Apps and Web Kiosks; the API is never available on the open web.
Setting the policy to 2 blocks origins from using Direct Sockets.
Leaving it unset allows Direct Sockets.
example_value: 1
features:
dynamic_refresh: true
per_profile: true
future_on:
- chrome.*
- chrome_os
items:
- caption: Allow qualifying origins to use Direct Sockets
name: AllowDirectSockets
value: 1
- caption: Do not allow origins to use Direct Sockets
name: BlockDirectSockets
value: 2
owners:
- file://content/browser/direct_sockets/OWNERS
schema:
enum:
- 1
- 2
type: integer
tags: []
type: int-enum