mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -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.')
|
|
})
|