fix(rrdom): Ignore invalid DOM attributes when diffing (#1561)

* fix(rrdom): Ignore invalid DOM attributes when diffing (#213)

We encountered an issue where replays with invalid attributes (e.g.
`@click`) would break rendering the replay after seeking. The exception
bubbles up to
[here](62093d4385/packages/rrweb/src/replay/index.ts (L270-L279)),
which means the replay will continue to play, but the replay mirror will
be incomplete.

Closes https://github.com/getsentry/team-replay/issues/458

* add changeset
This commit is contained in:
Billy Vong
2024-09-13 05:50:46 -02:30
committed by GitHub
parent 61ab209a4f
commit 8e55c455ff
3 changed files with 41 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"rrdom": patch
---
Ignore invalid DOM attributes when diffing