Open damacisaac opened 3 weeks ago
Auto-routing to @getsentry/product-owners-replays for triage ⏲️
Are all iframes on the same domain? If so, initializing Sentry once, on the parent page, should be enough. it should record the inner iframes
@bruno-garcia The iframes are on the same domain but the parent is on a separate one.
@bruno-garcia The iframes are on the same domain but the parent is on a separate one.
I see. That's not a use case we've directly worked to support at this time. Quite frankly it's the first time it comes up. Are they separated/not related sessions? Would it help if they had different session-ids basically?
Definitely an unusual scenario. They're the same session. The use-case is that we're building a Google Sheets extension. The extension runs primarily in an iframe on the right side of your sheet, but you can open up dialogs that are in a separate iframe but are really the same session. Probably best would be to assign different session IDs, like you said. Is it possible to force a new ID?
Would it make more sense to have them in separate projects?
No I don't think. It's the same app running in both places and it's a single workflow so I think same project makes sense.
This may be possible if we allow the session storage key to be configurable - we'll have to discuss with the team
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Expected Result
Unsure what would be the best expected result, but the current behaviour seems random. Potential solutions:
Actual Result
It seems to randomly pick which iframe the replay session will use for its DOM. It will randomly switch between the two as the replay plays. You will, however, get breadcrumbs from both iframes within the one replay session. So both iframe sessions are being bundled together, but the replay UI is not able to show both and/or pick a single iframe to focus on.
Product Area
Replays
Link
https://coefficient.sentry.io/replays/88270d71a41c4facad571f909326d3f6/
DSN
No response
Version
No response