Hi to all,
Can anybody please help me. I used easyXDM to communicate with
existing iframe as you advised. I received message in helper frame and
then forwarded it to the right frame by using
parent.frames['target_frame_name'].
But suddenly one day chromium sad me:
"Unsafe JavaScript attempt to access frame with URL
https://provider.mydomain.com:444/
from frame with URL
https://consumer.mydomain.com:453/easyXDM/index.html.
Domains, protocols and ports must match."
My page has the following structure
main page (
https://consumer.mydomain.com:453):
provider frame (
https://consumer.mydomain.com:453) - loaded by
myself, not by easyXDM
helper frame (
https://consumer.mydomain.com:453/easyXDM/index.html)
- helper frame loaded by easyXDM I used as proxy
So now current frame can not access to provider by calling
parent.frames['target_frame_name']. It returns undefined and browser
show me message I posted above.
What is realy strange for me: I don't want access parent itself I just
want to access same origin frame.
Thanks, Roman