-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
bugSomething isn't working rightSomething isn't working right
Description
Bug Description
here's what i know so far
this was made more obvious by rrweb-io/rrweb#1597 but i don't think caused by it
- when another library has patched (in the rrweb code "tainted") one of a set of browser functions or objects
- rrweb adds an iframe to the DOM and attempts to load an unpatched version from the window in that iframe
- this is particularly important for angular apps where zone's change detection fights rrweb's and causes performance issues
- this works in chrome
- in safari it doesn't work (or doesn't always work π€·)
- meaning a recording gets a full snapshot but no mutations
a wonderful customer created https://github.com/rugs65ducat/minimal-repro which lets me recreate this locally
in stepping through what is happening
in both chrome and safari i can load the MutationObserver from the iframe
in both i can init the observer
but if i add e.g. a console log to the callback on observed mutation i only ever see that run in chrome
Debug info
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working rightSomething isn't working right
