Microsoft.Policies.Edge• Both
Allow ServiceWorker to control srcdoc iframes
https://github.com/w3c/ServiceWorker/issues/765 asks srcdoc iframe with the "allow-same-origin" sandbox attribute to be under ServiceWorker control. By default (if left unset) or when set to Enabled, Microsoft Edge makes srcdoc iframes with "allow-same-origin" sandbox attributes to be under ServiceWorker control. Setting the policy to Disabled prevents ServiceWorker control over srcdoc iframes. This policy is temporary and planned for deprecation in 2026.
Policy Details
- Policy Name
- ServiceWorkerToControlSrcdocIframeEnabled
- Registry Key
- Software\Policies\Microsoft\Edge
- Value Name
- ServiceWorkerToControlSrcdocIframeEnabled
- Supported On
- Microsoft Edge version 134, Windows 7 or later
- Policy State Values
- Enabled: 1Disabled: 0
- Available Languages
- en-us