mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* feat: promisify contents.hasServiceWorker() * spec: add initial test for hasServiceWorker()
6 lines
133 B
JavaScript
6 lines
133 B
JavaScript
console.log('Service worker startups.')
|
|
|
|
self.addEventListener('install', (event) => {
|
|
console.log('Service worker installed.')
|
|
})
|