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

7 lines
188 B
HTML

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