feat: add preload-error
event to webContents
(#16411)
This commit is contained in:
parent
98d0daa2fd
commit
7d4a1223fd
7 changed files with 112 additions and 7 deletions
|
@ -663,6 +663,16 @@ Returns:
|
|||
Emitted when the associated window logs a console message. Will not be emitted
|
||||
for windows with *offscreen rendering* enabled.
|
||||
|
||||
#### Event: 'preload-error'
|
||||
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `preloadPath` String
|
||||
* `error` Error
|
||||
|
||||
Emitted when the preload script `preloadPath` throws an unhandled exception `error`.
|
||||
|
||||
#### Event: 'desktop-capturer-get-sources'
|
||||
|
||||
Returns:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue