Closed billyvg closed 3 weeks ago
Do not attempt to access contentDocument of iframe if element is blocked, otherwise it will trigger a browser warning. e.g.
contentDocument
Blocked a frame with origin "<foo>" from accessing a frame with origin "<bar>". Protocols, domains, and ports must match.
Fixes https://github.com/getsentry/sentry-javascript/issues/6560
Do not attempt to access
contentDocument
of iframe if element is blocked, otherwise it will trigger a browser warning. e.g.Blocked a frame with origin "<foo>" from accessing a frame with origin "<bar>". Protocols, domains, and ports must match.
Fixes https://github.com/getsentry/sentry-javascript/issues/6560