title: Javascript passing data from child window to parent window, IE bug?
body: <p>I've got a popup window that gives data back to its parent. Using <code>window.opener.document.data = data_from_popup;</code></p>
  
  <p>This work well in FF, but in IE (6/7) the data can be accessed for the time the popup is still displayed. When I close the popup it looks like the data gets garbage collected.</p>
  
  <p>I've tried to use a clone() function for the data received from the popup : </p>
  
  <pre><code>window.opener.add_data(data_from_popup);
  </code></pre>
  
  <p>and in the parent : </p>
  
  <pre><code>function add_data(data_from_popup) {
   data = clone(data_from_popup); 
  }
  </code></pre>
  
  <p>It somewhat works, but in certain conditions the <code>clone()</code> function seems to recurse infinitely.</p>
  
  <p>Have you ever experienced the same thing, and is there a way to prevent that without using a clone function?</p>