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 or leaving it unset allows Isolated Web App origins to use Direct Sockets.

  Setting the policy to 2 blocks Isolated Web App origins from using Direct Sockets.
example_value: 1
features:
  dynamic_refresh: true
  per_profile: true
supported_on:
- chrome_os:131-
future_on:
- chrome.*
items:
- caption: Allow Isolated Web App origins to use Direct Sockets
  name: AllowDirectSockets
  value: 1
- caption: Do not allow Isolated Web App 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
