diff --git a/docs/api/web-frame.md b/docs/api/web-frame.md index f0a55f35077d0..345ae2ff58252 100644 --- a/docs/api/web-frame.md +++ b/docs/api/web-frame.md @@ -127,21 +127,21 @@ this limitation. Work like `executeJavaScript` but evaluates `scripts` in an isolated context. -### `webFrame.setIsolatedWorldContentSecurityPolicy(worldId, csp)` +### `webFrame.setIsolatedWorldContentSecurityPolicy(worldId, csp)` _(Deprecated)_ * `worldId` Integer - The ID of the world to run the javascript in, `0` is the default world, `999` is the world used by Electrons `contextIsolation` feature. You can provide any integer here. * `csp` String Set the content security policy of the isolated world. -### `webFrame.setIsolatedWorldHumanReadableName(worldId, name)` +### `webFrame.setIsolatedWorldHumanReadableName(worldId, name)` _(Deprecated)_ * `worldId` Integer - The ID of the world to run the javascript in, `0` is the default world, `999` is the world used by Electrons `contextIsolation` feature. You can provide any integer here. * `name` String Set the name of the isolated world. Useful in devtools. -### `webFrame.setIsolatedWorldSecurityOrigin(worldId, securityOrigin)` +### `webFrame.setIsolatedWorldSecurityOrigin(worldId, securityOrigin)` _(Deprecated)_ * `worldId` Integer - The ID of the world to run the javascript in, `0` is the default world, `999` is the world used by Electrons `contextIsolation` feature. You can provide any integer here. * `securityOrigin` String