I am using Window.postMessage()
to call a method from an iframe.
Parent page url is http://uir.glassbeam.com, iframe src is http://gbdashboards.glassbeam.com.
When I try to postMessage from iframe, get error on console
Blocked a frame with origin "http://gbdashboards.glassbeam.com" from accessing a frame with origin "http://uir.glassbeam.com". Protocols, domains, and ports must match.
Both url have same Protocols, domains and port,but Error??