electron/spec/fixtures/pages/cache-storage.html

8 lines
180 B
HTML
Raw Normal View History

<script>
const { ipcRenderer } = require('electron');
caches.open('foo').then(
() => ipcRenderer.send('success'),
err => ipcRenderer.send('failure', err)
)
</script>