<- Chrome Settings Library

SetTimeoutWithout1MsClampEnabled

Control Javascript setTimeout() function minimum timeout.
Last updated October 8, 2024
Deprecated

When the policy is set to Enabled, the Javascript setTimeout() with a timeout of 0ms will not clamp to 1ms. When the policy is set to 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.

Supported On:
Platform Start End
Android 101 109
Chrome (Windows, Mac, Linux) 101 109
ChromeOS 101 109
Example value:

true

Features: