Preflight Checklist
What package is this bug report for?
rrweb
Version
2.0.1
Expected Behavior
Hello
I am not certainly sure because for me its quite big project and its hard to read the code but during my tests i stumbled upon bug with canvas. Rrweb handle same-origin iframes only partially and do not listen for canvas mutations. It use MutationObserver which listen only for DOM changes.
Actual Behavior
No canvas updates
Steps to Reproduce
- Create a page with a same-origin <iframe> that draws on a canvas (e.g. an animation or drag-and-drop canvas captcha puzzle)
- Record with record({ recordCanvas: true, ... }) in the parent frame
- Replay — the initial canvas state appears correctly, but all subsequent canvas mutations are missing
Testcase Gist URL
No response
Additional Information
No response
Preflight Checklist
What package is this bug report for?
rrweb
Version
2.0.1
Expected Behavior
Hello
I am not certainly sure because for me its quite big project and its hard to read the code but during my tests i stumbled upon bug with canvas. Rrweb handle same-origin iframes only partially and do not listen for canvas mutations. It use MutationObserver which listen only for DOM changes.
Actual Behavior
No canvas updates
Steps to Reproduce
Testcase Gist URL
No response
Additional Information
No response