title: Blocked iframe in google chrome
body: <p>Using iframe I'm getting the following error </p>
  
  <p>Blocked a frame with origin "<a href="http://002.www2.domain.com" rel="nofollow">http://002.www2.domain.com</a>" from accessing a frame with origin "<a href="http://test.com:5050" rel="nofollow">http://test.com:5050</a>". The frame requesting access set "document.domain" to "domain.com", but the frame being accessed did not. Both must set "document.domain" to the same value to allow access.</p>
  
  <p>I already read about javascript cross domain policy, but the thing is that with other browsers this codes are working</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
    &lt;script language="JavaScript" type="text/javascript"&gt;       
      &lt;script language="JavaScript" type="text/javascript"&gt;            
              function hide_wait() {
                  &lt;? if ($gs_frame) { ?&gt;                   
                      parent.document.getElementById('container_set').rows = '78,0,*';
                  &lt;? } else { ?&gt;
                      location.href='&lt;?= $url ?&gt;';
                  &lt;? } ?&gt;    
              }
  
          &lt;/script&gt;
  
  &lt;/head&gt;
  
  &lt;frameset rows="78,*,0" framespacing="0" frameborder="0" id="container_set"&gt;        
      &lt;frame src="&lt;?= $gs_frame ?&gt;" id="container_1" marginwidth="0" marginheight="0" scrolling="no" style="height: 78px; overflow: hidden; border-bottom: 1px solid #E2E2E2"&gt;
      &lt;frame src="loading.php?hr=&lt;?= $hr ?&gt;" id="wait" marginwidth="0" marginheight="0" style="height: 100px;"&gt;
      &lt;frame src="&lt;?= $url ?&gt;" id="container_2" marginwidth="0" marginheight="0" onload="hide_wait();"&gt; 
  &lt;/frameset&gt;    
  &lt;body&gt; 
  </code></pre>