docs: security.md/session.md incorporated review feedback

This commit is contained in:
LeUser111
2025-02-13 09:35:03 +01:00
parent 685412e1be
commit 1029bd1057
2 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ The `session` module has the following properties:
### `session.defaultSession`
A `Session` object, the default session object of the app, available once app is ready.
A `Session` object, the default session object of the app, available after `app.whenReady` is called.
## Class: Session

View File

@@ -301,7 +301,7 @@ session
})
```
Note: `session.defaultSession` is only available when app is ready.
Note: `session.defaultSession` is only available after `app.whenReady` is called.
### 6. Do not disable `webSecurity`
@@ -395,7 +395,7 @@ session.defaultSession.webRequest.onHeadersReceived((details, callback) => {
})
```
Note: `session.defaultSession` is only available when app is ready.
Note: `session.defaultSession` is only available after `app.whenReady` is called.
#### CSP meta tag