Control Javascript setTimeout() function minimum timeout (obsolete)
Supported on: Microsoft Edge version 101-109, Windows 7 or later
Registry
Software\Policies\Microsoft\Edge Software\Policies\Microsoft\Edge Value name: SetTimeoutWithout1MsClampEnabled
Enabled: SetTimeoutWithout1MsClampEnabled = 1
Disabled: SetTimeoutWithout1MsClampEnabled = 0
Description
OBSOLETE: This policy is obsolete and doesn't work after Microsoft Edge 109. This policy is obsolete and doesn't work in Microsoft Edge after version 109. This policy was only provided temporarily to allow Enterprises to adapt to the new clamping behavior. If you enable this policy, the JavaScript setTimeout() with a timeout of 0 ms is no longer fixed to 1 ms to schedule timer-based callbacks. If you disable this policy, the JavaScript setTimeout() with a timeout of 0 ms is fixed to 1 ms to schedule timer-based callbacks. If you don't configure this policy, use the browser's default behavior for setTimeout() function. This is a web standards compliancy feature; however, it may change task ordering on a webpage, leading to unexpected behavior on sites that are dependent on a certain ordering. It also affects sites with many setTimeout()s with a timeout of 0-ms usage, for example, increasing CPU load. For users where this policy is unset, Microsoft Edge Stable rolls out the change gradually on the stable channel.