Security error with matching origins in android chrome
<p>I am opening popup and call <code>window.opener.someFunc();</code> from it.</p>

<p>In some android devices I have such error:</p>

<blockquote>
  <p>SecurityError: Blocked a frame with origin "<a href="https://xDomain" rel="nofollow noreferrer">https://xDomain</a>" from
  accessing a frame with origin "<a href="https://xDomain" rel="nofollow noreferrer">https://xDomain</a>". Protocols, domains,
  and ports must match.</p>
</blockquote>

<p>As you can see origins match but anyway I get this error. What is wrong?</p>