chromium/components/policy/resources/templates/policy_definitions/Miscellaneous/SetTimeoutWithout1MsClampEnabled.yaml

caption: Control Javascript setTimeout() function minimum timeout.
default: null
deprecated: true
desc: "When the policy is set to Enabled, the Javascript setTimeout() with a timeout\
  \ of 0ms will not clamp to 1ms.\n          When the policy is set to Disabled, \
  \ the Javascript setTimeout() with a timeout of 0ms will clamp to 1ms.\n       \
  \   When the policy is unset, use the browser's default behavior for setTimeout()\
  \ function clamp.\n\n          This is a web standards compliant feature, but it\
  \ may change task ordering\n          on a web page, leading to unexpected behavior\
  \ on sites that are dependent on\n          a certain ordering in some way. It also\
  \ may affect sites with a lot of setTimeout()\n          with a timeout of 0ms usage,\
  \ e.g. increasing CPU load.\n\n          For users where this policy is unset, Chrome\
  \ will roll out the change gradually on the stable channel.\n\n          This policy\
  \ was removed in Chrome 110.\n                                        "
example_value: true
features:
  dynamic_refresh: true
  per_profile: true
items:
- caption: Javascript setTimeout() with a timeout of 0ms will not clamp to 1ms.
  value: true
- caption: Javascript setTimeout() with a timeout of 0ms will clamp to 1ms.
  value: false
- caption: '''Default behavior for setTimeout() function clamp.'
  value: null
owners:
- file://third_party/blink/renderer/core/frame/OWNERS
- [email protected]
- [email protected]
- [email protected]
- [email protected]
schema:
  type: boolean
supported_on:
- chrome_os:101-109
- chrome.*:101-109
- android:101-109
tags: []
type: main