Error in Safari 4 Beta and Chrome 2
<p>I have popup window that is opened through a button click.  If the user searches for a particular item in the child window, I attempt to switch the parent windows location by using window.opener.location in the child window.  The parent window will always stay within the same website.  This works fine in FireFox 3.07 &amp; 3.1 b3, and IE 7&amp;8.  But in Chrome 2.0b (dev branch) and Safari 4 Beta (for Windows) i get this strange error:</p>

<blockquote>
  <p>Unsafe JavaScript attempt to initiate a navigation change for frame with URL</p>
</blockquote>

<p>Here is the weird thing, in Safari it never works, but in Chrome it works if:  </p>

<blockquote>
  <p>*Child window is same protocol(HTTP/HTTPS) as the text i am using setting window.opener.location<br />
  *Parent window and child window are the same protocol(HTTP/HTTPS)</p>
</blockquote>

<p>edit: In Opera it only works if both the parent and child window are HTTPS...</p>
