title: Electron webview new-window event returning `about:blank` as Url
body: <p>I have a Electron based browser like application which uses Electron's  tag to render client urls. I have my own custom tabs setup using multiple webview tags.  </p>
  
  <p>As mentioned in the electron documents, I was using the <code>new-window</code> event to handle page requests to open urls in a new tab. It could be requested by window.open or an external link like <code>&lt;a target='_blank'&gt;</code>.  </p>
  
  <p>My code which was working fine in most cases when the url is specified and not dynamically added later on.</p>
  
  <pre><code>const webview = document.querySelector('webview')
  
  webview.addEventListener('new-window', (e) =&gt; {
    const url = e.url;
    // used url to render new tabs.
  })
  </code></pre>
  
  <p>Lately i have a client login url which when loaded has a button. The button does not have an anchor tag and no predefined urls specified. When opened in chrome, the button click leads to external link opening in a completely new window. The new window briefly shows 'about:blank' in the url bar but then redirects to the actual url.<br>
  When i tried to intercept the same external url using <code>new-window</code> event in my electron webview, the event returned url which was <code>about:blank</code> and i couldn't access the redirected url. Has anybody else faced the same issue ? </p>