en-US

Enable the extended lifetime option for SharedWorkers

Supported on: Microsoft Edge version 148, Windows 7 or later

Registry

HKLM Software\Policies\Microsoft\Edge
HKCU Software\Policies\Microsoft\Edge

Value name: SharedWorkerExtendedLifetimeEnabled

Enabled: SharedWorkerExtendedLifetimeEnabled = 1

Disabled: SharedWorkerExtendedLifetimeEnabled = 0

Description

Controls whether Microsoft Edge allows SharedWorkers to use the extendedLifetime option. If you enable or don't configure this policy, SharedWorkers can use the extended lifetime option in the SharedWorker constructor. If you disable this policy, the extended lifetime option is ignored, even if it is requested by the page. This policy is temporary and will be removed in a future release.