Affects Version/s: Master
Component/s: ~ [Archived] Frontend Infrastructure
1) Open the browser console on a page of Liferay DXP 7.1 Portal with the classic theme.
2) Paste the following code in the console and run:
After the embedded page in modal is partially loaded in the background, although the loader animation stays in the foreground and 'freeze' the window. Also, an error appears in the console:
Uncaught DOMException: Blocked a frame with origin "http://localhost:8080" from accessing a cross-origin frame.
If the modal can not be loaded for some error it shold be informed with the user.
Additional resources for this issue:
DXP 7.1 SP1
7.1.x @ f8ab24806156c81f7db9a7ccb6ff7345c55bcf77
master-private @ ae556a3047d963040004456b0c58d2eb6d15381d
In this case the browser is blocking the frame with cross-origin and the loader icon i still visible and a DOMException happens in the console.
However the user will expect an notice about this behaviour without any JS error.