I was trying to refresh a page from an embedded VF page. Since it is an iframe in the big page, so I have tried:



parent.location.href = parent.location.href;

For both of them, I got the same error message:

Uncaught DOMException: Blocked a frame with origin "https://c.cs81.visual.force.com" from accessing a cross-origin frame.

It seems weird to me that I am getting a CORS error here. Is there a way I can walkaround this issue?

Browse other questions tagged or ask your own question.