[🐞] Uncaught DOMException
when website is being loaded on cross-origin iframe
#617
Labels
bug
Something isn't working
Describe the bug
Hi partytown team,
We have a web page using partytown that is accessed by third-party website using iframe.
We noticed that PartyTown throws
Uncaught DOMException: Failed to read a named property 'dispatchEvent' from 'Window': Blocked a frame with origin "https://zip.co" from accessing a cross-origin frame.
:This is where the exception occured:
Unfortunately, we don't have any control over the third-party website permission that accesses our page. is there a way to use partytown for our use-case?
Reproduction
https://www.underarmour.com.au/en-au/p/tops/mens_ua_iso-chill_compression_tank/1365225.html?dwvar_1365225_color=001&start=0&breadCrumbLast=Compression%20Gear%3A%20Performance%20Baselayer
Steps to reproduce
Open the page and click this
or from $10/week with Zip
:that will open an iframe linking to a page with the partytown.
Browser Info
Chrome
Additional Information
No response
The text was updated successfully, but these errors were encountered: