title: The location of the iframe is about:blank
body: <p>Here is the example code:</p>
  
  <pre><code>&lt;iframe src="http://www.w3schools.com/js/"&gt;&lt;/iframe&gt;
  &lt;script type="text/javascript"&gt;
  var xwin = window.frames[0];
  console.log(xwin.location);
  &lt;/script&gt;
  </code></pre>
  
  <p>Even if the link "http://www.w3schools.com/js/" has been opened, the output log message is 'about:blank' instead of 'http://www.w3schools.com/js'.
  What is the problem?</p>