2025-01-23 21:12:23 -05:00
|
|
|
# PreloadScriptRegistration Object
|
|
|
|
|
|
|
|
* `type` string - Context type where the preload script will be executed.
|
2025-01-31 09:32:45 -05:00
|
|
|
Possible values include `frame` or `service-worker`.
|
2025-01-23 21:12:23 -05:00
|
|
|
* `id` string (optional) - Unique ID of preload script. Defaults to a random UUID.
|
|
|
|
* `filePath` string - Path of the script file. Must be an absolute path.
|