Skip to content
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

[Bug]: Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data. #1557

Open
1 task done
Inchill opened this issue Aug 14, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Inchill
Copy link

Inchill commented Aug 14, 2024

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

v1.1.3

Expected Behavior

I used rrweb to record the page where the error occurred. There was a canvas lucky draw wheel on the page. I introduced the sdk in the head tag of the page and started recording, hoping that there would be no error.

Actual Behavior

In fact, rrweb keeps reporting this error. I checked that all the images on the page support CORS. Why are they polluted by cross-domain data?

Steps to Reproduce

First load the screen recording SDK, then start rrweb recording after initialization. Next, the canvas lottery wheel module is lazy loaded. After waiting for a while, this error appears and keeps appearing.

Testcase Gist URL

No response

Additional Information

No response

@Inchill Inchill added the bug Something isn't working label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant