chromium/components/policy/resources/templates/policy_definitions/ContentSettings/DefaultJavaScriptJitSetting.yaml

caption: Control use of JavaScript JIT
default: 1
desc: |-
  Allows you to set whether <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> will run the v8 JavaScript engine with JIT (Just In Time) compiler enabled or not.

            Disabling the JavaScript JIT will mean that <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> may render web content more slowly, and may also disable parts of JavaScript including WebAssembly. Disabling the JavaScript JIT may allow <ph name="PRODUCT_NAME">$1<ex>Google Chrome</ex></ph> to render web content in a more secure configuration.

            This policy can be overridden for specific URL patterns using the <ph name="JAVA_SCRIPT_JIT_ALLOWED_FOR_SITES_POLICY_NAME">JavaScriptJitAllowedForSites</ph> and <ph name="JAVA_SCRIPT_JIT_BLOCKED_FOR_SITES_POLICY_NAME">JavaScriptJitBlockedForSites</ph> policies.

            If this policy is left not set, JavaScript JIT is enabled.
example_value: 1
features:
  dynamic_refresh: true
  per_profile: true
future_on:
- fuchsia
items:
- caption: Allow any site to run JavaScript JIT
  name: AllowJavaScriptJit
  value: 1
- caption: Do not allow any site to run JavaScript JIT
  name: BlockJavaScriptJit
  value: 2
owners:
- [email protected]
- [email protected]
schema:
  enum:
  - 1
  - 2
  type: integer
supported_on:
- chrome.*:93-
- chrome_os:93-
- android:93-
tags: []
type: int-enum