Skip to main content

SetTimeoutWithout1MsClampEnabled

Control Javascript setTimeout() function minimum timeout. - SetTimeoutWithout1MsClampEnabled​

When the policy is set to Enabled, the Javascript setTimeout() with a timeout of 0ms will not clamp to 1ms. Disabled, the Javascript setTimeout() with a timeout of 0ms will clamp to 1ms. When the policy is unset, use the browser's default behavior for setTimeout() function clamp.

This is a web standards compliant feature, but it may change task ordering on a web page, leading to unexpected behavior on sites that are dependent on a certain ordering in some way. It also may affect sites with a lot of setTimeout() with a timeout of 0ms usage, e.g. increasing CPU load.

For users where this policy is unset, Chrome will roll out the change gradually on the stable channel.

This policy was removed in Chrome 110.

  • true = Javascript setTimeout() with a timeout of 0ms will not clamp to 1ms.
  • false = Javascript setTimeout() with a timeout of 0ms will clamp to 1ms.
  • not set = 'Default behavior for setTimeout() function clamp.

Data Type:

Boolean

Supported features:

  • Dynamic Policy Refresh: True
  • Per Profile: True