Add failing spec for fetch from isolated world

This commit is contained in:
Kevin Sawicki 2017-03-01 08:48:03 -08:00
parent d009b3267a
commit 7f6283352f

View file

@ -1,9 +1,15 @@
// Ensure fetch works from isolated world origin
fetch('http://localhost:1234')
fetch('https://localhost:1234')
fetch(`file://${__filename}`)
const {ipcRenderer, webFrame} = require('electron')
window.foo = 3
webFrame.executeJavaScript('window.preloadExecuteJavaScriptProperty = 1234;')
window.addEventListener('message', (event) => {
ipcRenderer.send('isolated-world', {
preloadContext: {