I'm trying to assign window.location.href value to const variable as below in my application,
const currentWindowPath = existingWindowItem.window.location.href;
this getting failed with security exception of "Blocked a frame with origin http://localhost:4200 from accessing a cross origin frame.
need assistance to hold currentWindowPath to hold the href value, to further compare variables. Thanks in advance.