Edit

Share via


DefaultJavaScriptJitSetting

Control use of JavaScript JIT

Supported versions

  • On Windows and macOS since 93 or later

Description

Allows you to set whether Microsoft Edge will run the v8 JavaScript engine with JIT (Just In Time) compiler enabled or not.

Disabling the JavaScript JIT will mean that Microsoft Edge may render web content more slowly, and may also disable parts of JavaScript including WebAssembly. Disabling the JavaScript JIT may allow Microsoft Edge to render web content in a more secure configuration.

This policy can be overridden for specific URL patterns using the JavaScriptJitAllowedForSites and JavaScriptJitBlockedForSites policies.

If you don't configure this policy, JavaScript JIT is enabled.

Policy options mapping:

  • AllowJavaScriptJit (1) = Allow any site to run JavaScript JIT

  • BlockJavaScriptJit (2) = Do not allow any site to run JavaScript JIT

Use the preceding information when configuring this policy.

Policy options mapping:

Use this information when configuring this policy.

  • AllowJavaScriptJit (1) = Allow any site to run JavaScript JIT
  • BlockJavaScriptJit (2) = Do not allow any site to run JavaScript JIT

Supported features

  • Can be mandatory: Yes
  • Can be recommended: No
  • Dynamic Policy Refresh: Yes
  • Per Profile: Yes
  • Applies to a profile that is signed in with a Microsoft account: No

Data type

  • Integer

Windows information and settings

Group Policy (ADMX) info

  • GP unique name: DefaultJavaScriptJitSetting
  • GP name: Control use of JavaScript JIT
  • GP path (Mandatory): Administrative Templates/Microsoft Edge/Content settings
  • GP path (Recommended): N/A
  • GP ADMX file name: MSEdge.admx

Example value

Allow any site to run JavaScript JIT

Registry settings

  • Path (Mandatory): SOFTWARE\Policies\Microsoft\Edge
  • Path (Recommended): N/A
  • Value name: DefaultJavaScriptJitSetting
  • Value type: REG_DWORD

Example registry value

0x00000001

Mac information and settings

  • Preference Key name: DefaultJavaScriptJitSetting
  • Example value:
<integer>1</integer>

See also