32158ca5dd
* spec: refactor BrowserWindow module contextIsolation option * spec: check for serialzation in isolated renderers separately
6 lines
198 B
JavaScript
6 lines
198 B
JavaScript
const {ipcRenderer} = require('electron')
|
|
|
|
// Ensure fetch works from isolated world origin
|
|
fetch('https://localhost:1234').catch(err => {
|
|
ipcRenderer.send('isolated-fetch-error', err.message)
|
|
})
|