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

8 lines
180 B
HTML

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