title: Understanding Cross-Domain issue in Iframes
body: <p>This question might seem silly but I need to understand this for clarity.</p>
  
  <p>According to my understanding, cross-domain problem is when the domain of the webpage which contains the IFRAME is different from the domain of the web-page opened in IFRAME.</p>
  
  <p>Going by that logic, nothing should open in IFRAME ever.</p>
  
  <p>When I embed a web-page "bottom:10700" in the IFRAME of my web-page "top:9700", it gives error.I am not able to see the contents in IFRAME. Error is <code>Access denied in accessing property 'constructor'</code></p>
  
  <p>I am getting the error while accessing the contructor (_1.contructor)</p>
  
  <pre><code>isc.A.Function=function isc_isA_Function(_1){
    if(_1==null) return false;
    if(isc.Browser.isIE&amp;&amp;typeof _1==this.$a7) return true;
    var _2=_1.constructor;
    if(_2&amp;&amp;_2.$k!=null){
      if(_2.$k!=1)return false;
      if(_2===Function)return true
    }
  </code></pre>
  
  <p>This script is run when home page of bottom is opened in an iframe contained in top.</p>
  
  <p>Is there any way, I can make this work. I mean can I set both the domains to be same. I don't have access to remote site's script.</p>
  
  <p>Is resizing the frame after redering it once a cross-domain scenario. If not, then certainly remote site is trying to access the IFRAME element..How can I debug this??</p>