Control Javascript setTimeout() function minimum timeout (obsolete)

Policy ID
SetTimeoutWithout1MsClampEnabled
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 101-109, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

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.

Registry

ComputerHKEY_LOCAL_MACHINE
  • SetTimeoutWithout1MsClampEnabledREG_DWORD
UserHKEY_CURRENT_USER
  • SetTimeoutWithout1MsClampEnabledREG_DWORD

Other policies in the same category

View all policies in this category (438)