title: Refused to display iframe
body: <p>I have 2 pages with urls:</p>
  
  <ul>
  <li><p>www.domain.com</p></li>
  <li><p>sub.domain.com</p></li>
  </ul>
  
  <p>I set the "document.domain" for both pages to "domain.com".</p>
  
  <pre><code>document.domain = "domain.com"
  </code></pre>
  
  <p>When I try to use  with src "sub.domain.com" in "www.domain.com" I get this error:</p>
  
  <pre><code>Refused to display 'https://sub.domain.com' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
  </code></pre>