Control Javascript setTimeout() function minimum timeout (obsolete)
Jump to overview

Policy overview

Key metadata and intent for this policy.

Category
Microsoft Edge
Supported on
Microsoft Edge version 101-109, Windows 7 or later

Supported OS tags: Windows7

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.

Internal name
SetTimeoutWithout1MsClampEnabled
Policy ID
44288a5d6caf
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Path
Software\Policies\Microsoft\Edge
Value name
SetTimeoutWithout1MsClampEnabled
REG_DWORD
HKLM
1
HKCU
1
HKLM
0
HKCU
0
Registry location
Type REG_DWORD · Both
Path
Software\Policies\Microsoft\Edge
Value name
SetTimeoutWithout1MsClampEnabled
Hive
HKLM
Enabled value
1
Disabled value
0
Hive
HKCU
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.