chore: remove awkward semi-documented preloadURL WebPreference (#33228)

This commit is contained in:
Jeremy Rose 2022-03-16 16:23:41 -07:00 committed by GitHub
parent e904486076
commit 4342b7ff55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 16 additions and 23 deletions

View file

@ -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: