Bug #100795
closedContent element "View" button does not reload page, when preview is hosted on different (sub-)domain
0%
Description
An Typo3 multidomain installation is hosted on typo3.domain.com, the sites are hosted for previewing on site1.domain.com, site2.domain.com,... Cookie Domain is set to *.domain.com. So all FE-previes show admin panel, etc.
When clicking on a view button a new tab/window is opened. When clicking again, while the window is still open, the backend will throw this JS error:
Uncaught (in promise) SecurityError: Blocked a frame with origin "https://typo3.domain.com" from accessing a frame with origin "https://site1.domain.com". Protocols, domains, and ports must match.
I think it's related to: https://forge.typo3.org/issues/93706
It worked fine in LTS 10, but after updating to LTS 11 editors have always to close the tab before clicking the view button.