* feat: preload scripts for service workers * feat: service worker IPC * test: service worker preload scripts and ipc
321 B
321 B
PreloadScriptRegistration Object
typestring - Context type where the preload script will be executed. Possible values includeframeorservice-worker.idstring (optional) - Unique ID of preload script. Defaults to a random UUID.filePathstring - Path of the script file. Must be an absolute path.