ServiceWorkerToControlSrcdocIframeEnabled

Allow ServiceWorker to control srcdoc iframes

Supported on:

  • Chrome (Windows) since version 134

Description:

https://github.com/w3c/ServiceWorker/issues/765 asks srcdoc iframe with
the "allow-same-origin" sandbox attribute to be under ServiceWorker control.

Setting the policy to Enabled or leaving it unset means
Samsung Browser makes srcdoc iframes
with "allow-same-origin" sandbox attributes to be under ServiceWorker control.

Setting the policy to Disabled leaves the srcdoc iframe not controlled by
ServiceWorker.

This policy is intended to be temporary and will be removed in 2026.

true = ServiceWorker can control srcdoc iframes
false = ServiceWorker won't control srcdoc iframes

Supported features:

  • Applied to browser only after restart.
  • Applied at Samsung Browser profile level.

Data type:

Boolean
Windows:REG_DWORD

Windows registry location:

Software\Policies\Samsung\Internet\ServiceWorkerToControlSrcdocIframeEnabled

Example value:

0x00000001

More policies under Miscellaneous: