Skip to content

ElectronWebFrame.setIsolatedWorldInfo method

ElectronWebFrame › setIsolatedWorldInfo

Unofficial

Sets the security origin, content security policy and name of the isolated world. If the csp is specified, then the securityOrigin also has to be specified.

Signature:

setIsolatedWorldInfo(worldId: number, info: ElectronInfo): void

Parameters:

Parameter Type Description
worldId number The id of the isolated world to configure.
info ElectronInfo The isolated world info.

Returns: void