mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: security.md use runnable examples for permissions and csp (#43248)
* docs: security.md use runnable examples for permissions and csp Signed-off-by: LeUser111 <florian.wiedenmann@grob.de> * Removed semi-colon for uniform js code style in examples Signed-off-by: LeUser111 <florian.wiedenmann@grob.de> * docs: security.md, session.md - added clarification on defaultSession, added csp example * docs: security.md/session.md incorporated review feedback * docs: security.md/session.md incorporated more review feedback * docs: security.md/session.md incorporated more review feedback * docs: tutorial/security.md - fixed linting issue * chore: empty commit for CI --------- Signed-off-by: LeUser111 <florian.wiedenmann@grob.de> Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
This commit is contained in:
@@ -66,7 +66,7 @@ The `session` module has the following properties:
|
||||
|
||||
### `session.defaultSession`
|
||||
|
||||
A `Session` object, the default session object of the app.
|
||||
A `Session` object, the default session object of the app, available after `app.whenReady` is called.
|
||||
|
||||
## Class: Session
|
||||
|
||||
|
||||
Reference in New Issue
Block a user