Iframe in Chrome error: Failed to read 'localStorage' from 'Window': Access denied for this document Iframe in Chrome error: Failed to read 'localStorage' from 'Window': Access denied for this document google-chrome google-chrome

Iframe in Chrome error: Failed to read 'localStorage' from 'Window': Access denied for this document


Under Chrome's Settings > Privacy > Content settings, you have the cookie setting set to to "Block sites from setting any data"

This checkbox is what is causing the exception.


According to this

This exception is thrown when the "Block third-party cookies and site data" checkbox is set in Content Settings.
To find the setting, open Chrome settings, type "third" in the search box, click the Content Settings button, and view the fourth item under Cookies.

enter image description here


On the following URL: chrome://settings/content/cookies uncheck "Block third-party cookies".