title: Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document. Cookie error with subdomains
body: <p>I have an Angular Application running on a subdomain <code>abc.domain.com</code> which calls a page in an iframe from <code>xyz.domain.com</code>. It was working all fine until a recent chrome update started to block third party cookies by default.</p>
  <p>I am getting this error:</p>
  <p><code>Failed to read the 'sessionStorage' property from 'Window': Access is denied for this document.</code></p>
  <p>I can't load the contents of <code>xyz.domain.com</code> without cookies and that is possible only when I go to my chrome settings and select &quot;Allow all cookies&quot;.</p>
  <p>This will break the app for all my users and I can't expect them all to &quot;Allow all cookies&quot; as that in itself is a security risk from the user's point of view.</p>
  <p>Is there a workaround for this? What can I do from my end to ensure the application runs fine? Since the domains are children of the same root domain, I hope there must be something to whitelist <code>xyz.domain.com</code> to read from <code>abc.domain.com</code>.</p>
  <p>I am using ngx-cookie-service to manage cookies.</p>