cache-storage.html 188 B

12345678
  1. <script>
  2. const ipcRenderer = require('electron').ipcRenderer;
  3. caches.open('foo').then(
  4. () => ipcRenderer.send('success'),
  5. err => ipcRenderer.send('failure', err)
  6. )
  7. </script>