Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
9.13.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
Sentry.init({
dsn:...,
replaysSessionSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0,
integrations: [
Sentry.replayIntegration({
_experiments:{
recordCrossOriginIframes: true
}
}),
],
})
Steps to Reproduce
- Create a page with two cross-origin iframes
- configure the SDK as above in both main page and iframes
- run a test on the main page
Expected Result
The cross-origin iframes are recorded correctly by the SDK.
Actual Result
When using the setup described above there are 3 resulting replays in Sentry:
- Replay from the main page: shows the page and the contents of the two cross-origin iframes
- Replay from cross-origin iframe1: the replay is listed but not found when trying to open it
- Replay from cross-origin iframe2: same as above
When adding the replay integration only to the main page the cross-origin iframes are not recorded by Sentry.
Originally reported in this internal ticket.
Metadata
Metadata
Assignees
Type
Projects
Status
No status