docs: fix typos in security.md (#21665)
This commit is contained in:
parent
70029aa069
commit
8dc4a20069
1 changed files with 1 additions and 3 deletions
|
@ -241,7 +241,7 @@ prevent the use of Node primitives, `contextIsolation` must also be used.
|
||||||
|
|
||||||
### Why?
|
### Why?
|
||||||
|
|
||||||
Context isolation allows each the scripts on running in the renderer to make
|
Context isolation allows each of the scripts running in the renderer to make
|
||||||
changes to its JavaScript environment without worrying about conflicting with
|
changes to its JavaScript environment without worrying about conflicting with
|
||||||
the scripts in the Electron API or the preload script.
|
the scripts in the Electron API or the preload script.
|
||||||
|
|
||||||
|
@ -422,8 +422,6 @@ on a page directly in the markup using a `<meta>` tag:
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'none'">
|
<meta http-equiv="Content-Security-Policy" content="default-src 'none'">
|
||||||
```
|
```
|
||||||
|
|
||||||
#### `webRequest.onHeadersReceived([filter, ]listener)`
|
|
||||||
|
|
||||||
|
|
||||||
## 7) Do Not Set `allowRunningInsecureContent` to `true`
|
## 7) Do Not Set `allowRunningInsecureContent` to `true`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue