0

I have dynamically created iframe that opens HTML url with the same domain.

For e.g. main website is https://hello.world/ and I insert iframe with src="https://hello.world/xxx.html" but sometimes get this error in Sentry dashboard (client error logging service)

bijoy26
  • 133
  • 9
Mike Grh
  • 1
  • 1
  • not sure how you can get a "cross origin" error if the frame is actually "same origin" - perhaps you're doing something wrong somewhere in some code - also not sure why it would "sometimes" work and "sometimes" fail – Jaromanda X Aug 02 '22 at 08:23
  • You can check the examples from [this answer](https://stackoverflow.com/a/25098153/8568965) and may try the workaround as well. – bijoy26 Aug 02 '22 at 08:40

0 Answers0