diff --git a/spec/static/main.js b/spec/static/main.js index 1e81ddc8cf..cfc21249b5 100644 --- a/spec/static/main.js +++ b/spec/static/main.js @@ -307,18 +307,7 @@ ipcMain.on('handle-unhandled-rejection', (event, message) => { ipcMain.on('navigate-with-pending-entry', (event, id) => { const w = BrowserWindow.fromId(id) - const source = ` - - Link - - - ` - - w.webContents.on('did-fail-load', () => { + w.webContents.on('did-start-loading', () => { w.loadURL('about:blank') }) @@ -329,7 +318,7 @@ ipcMain.on('navigate-with-pending-entry', (event, id) => { }) w.webContents.session.clearHostResolverCache(() => { - w.loadURL(`data:text/html,${source}`) + w.loadURL('http://host') }) })