Closed TimvdLippe closed 4 years ago
@TimvdLippe Do you know if this element is being actively developed anymore? No real correspondence on tickets since April and PRs left uncommented upon.
I am experiencing similar behavior. Customer has requested site be deployed within an Iframe. This is causing CORS errors and very inconsistent behavior.
I am created a local copy of this component and changed all window.top references to window.self.
Description
Including the app-local-storage-document in a website which is then included using a iframe, crashes the website.
Expected outcome
The element does not crash the iframe
Actual outcome
Because
app-local-storage-document
useswindow.top
in theattached
, the following error is thrown:Live Demo
Steps to reproduce
app-local-storage-document
element in the website X.window.top
is used.Browsers Affected