New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for iframes in Canvas Replay #10758
Comments
Thanks for raising and sorry this fell through the cracks. Request makes sense and canvas is a project we're currently pushing but not GA yet. Not sure this can land before GA given other priorities. Any chance you can help us with a PR? |
@bruno-garcia it looks like the limitation is coming from Note that I was able to find the key reason of the limitation and I have a fix locally. |
Awesome, thanks! It's probably best to submit PRs to both repos. That's what we usually do: First fix it in our fork and then submit the fix upstream. |
I ended up opening both getsentry/rrweb#168 and rrweb-io/rrweb#1428 |
Canvas replays are not shown in Sentry for canvas elements located inside iframe of the same origin.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
7.102.0
Link to Sentry event
https://p-mazhnik.sentry.io/replays/44d8116f8b714865a288222de0c7f760
SDK Setup
Main html
Steps to Reproduce
index.html
page contains two parts: it has canvas element with dynamic changes on the left, and iframe element on the right, containing another canvas element with dynamic changes.dsn
python3 -m http.server 8080 --bind 0.0.0.0
in the directory withindex.html
http://0.0.0.0:8080/
in Chromevideo
canvases.mov
Expected Result
In Sentry Replay, both canvases – from the main page and from the same origin iframe – should be visible.
Actual Result
Canvas from iframe is not visible in Replay.
Replay
sentry-canvases.mov
Note that result is the same when canvas from the main page does not exist.
The text was updated successfully, but these errors were encountered: