mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
feat: ServiceWorkerMain.scriptURL (#45863)
feat: serviceWorker.scriptURL
This commit is contained in:
@@ -46,6 +46,10 @@ An [`IpcMainServiceWorker`](ipc-main-service-worker.md) instance scoped to the s
|
||||
|
||||
A `string` representing the scope URL of the service worker.
|
||||
|
||||
#### `serviceWorker.scriptURL` _Readonly_ _Experimental_
|
||||
|
||||
A `string` representing the script URL of the service worker.
|
||||
|
||||
#### `serviceWorker.versionId` _Readonly_ _Experimental_
|
||||
|
||||
A `number` representing the ID of the specific version of the service worker script in its scope.
|
||||
|
||||
Reference in New Issue
Block a user