mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
* feat: redesign preload APIs * docs: remove service-worker mentions for now * fix lint * remove service-worker ipc code * add filename * fix: web preferences preload not included * fix: missing common init * fix: preload bundle script error
301 B
301 B
PreloadScriptRegistration Object
typestring - Context type where the preload script will be executed. Possible values includeframe.idstring (optional) - Unique ID of preload script. Defaults to a random UUID.filePathstring - Path of the script file. Must be an absolute path.