URL failed


How can I test if loadURL() failed or succeeded ?

I try to add

mainWin.webContents.on('did-fail-load', function() {
  console.log('>>>>>>>>>>>>>>>>>>>page failed');

But it never occurs on wrong URL.



did-fail-load is only emitted on these errors from chromium. You’re url might be getting some other error.


Thanks for the alias to the source code Jeeper.:grinning: