ElectronWebFrame.setIsolatedWorldInfo method
ElectronWebFrame › setIsolatedWorldInfo
Unofficial
Sets the security origin, content security policy and name of the isolated world. If thecsp is specified, then the securityOrigin also has to be specified. Signature:
setIsolatedWorldInfo(worldId: number, info: ElectronInfo): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| worldId | number | The id of the isolated world to configure. |
| info | ElectronInfo | The isolated world info. |
Returns: void