chore: remove awkward semi-documented preloadURL WebPreference (#33228)
This commit is contained in:
parent
e904486076
commit
4342b7ff55
11 changed files with 16 additions and 23 deletions
|
@ -820,9 +820,6 @@ This event can be used to configure `webPreferences` for the `webContents`
|
|||
of a `<webview>` before it's loaded, and provides the ability to set settings
|
||||
that can't be set via `<webview>` attributes.
|
||||
|
||||
**Note:** The specified `preload` script option will appear as `preloadURL`
|
||||
(not `preload`) in the `webPreferences` object emitted with this event.
|
||||
|
||||
#### Event: 'did-attach-webview'
|
||||
|
||||
Returns:
|
||||
|
|
|
@ -158,9 +158,6 @@ When the guest page doesn't have node integration this script will still have
|
|||
access to all Node APIs, but global objects injected by Node will be deleted
|
||||
after this script has finished executing.
|
||||
|
||||
**Note:** This option will appear as `preloadURL` (not `preload`) in
|
||||
the `webPreferences` specified to the `will-attach-webview` event.
|
||||
|
||||
### `httpreferrer`
|
||||
|
||||
```html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue