title: Error accessing a cross-origin frame
body: <p>I have created an html file which is loading another html file using the <code>&lt;object&gt;</code> tag. When I run the code, I get the following error (from the html file loaded from the parent file):</p>
  
  <pre><code>Uncaught DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame.
  </code></pre>
  
  <p>I have added a name to the object tag. All of the files are in the same folder.</p>
  
  <p>I have looked at the cross-origin policy links, and am confused, as I don't seem to be breaching what it says.</p>
  
  <p>Can any one offer any advice about what I might do to fix it?</p>
  
  <p>Thanks</p>