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

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

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Aug 15, 2024

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, which means the replay will continue to play, but the replay mirror will be incomplete.

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

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](https://github.com/rrweb-io/rrweb/blob/62093d4385a09eb0980c2ac02d97eea5ce2882be/packages/rrweb/src/replay/index.ts#L270-L279), which means the replay will continue to play, but the replay mirror will be incomplete.
@billyvg billyvg marked this pull request as ready for review August 15, 2024 17:38
@billyvg billyvg requested a review from a team August 16, 2024 15:31
@billyvg billyvg merged commit ae2ab5d into sentry-v2 Aug 26, 2024
16 checks passed
@billyvg billyvg deleted the fix-rrdom-setAttribute-invalid-name branch August 26, 2024 15:34
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Aug 27, 2024
* [fix(rrdom): Ignore invalid DOM attributes when diffing](getsentry/rrweb#213)
* [fix: manual snapshot in rAF loop](getsentry/rrweb#210) (thanks @ShinyChang)
* [feat: Fix blocking dynamically added iframes](getsentry/rrweb#212)
billyvg added a commit that referenced this pull request Aug 27, 2024
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](https://github.com/rrweb-io/rrweb/blob/62093d4385a09eb0980c2ac02d97eea5ce2882be/packages/rrweb/src/replay/index.ts#L270-L279),
which means the replay will continue to play, but the replay mirror will
be incomplete.

Closes getsentry/team-replay#458
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Aug 27, 2024
* [fix(rrdom): Ignore invalid DOM attributes when
diffing](getsentry/rrweb#213)
* [fix: manual snapshot in rAF
loop](getsentry/rrweb#210) (thanks @ShinyChang)
* [feat: Fix blocking dynamically added
iframes](getsentry/rrweb#212)
billyvg added a commit that referenced this pull request Sep 17, 2024
* 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](https://github.com/rrweb-io/rrweb/blob/62093d4385a09eb0980c2ac02d97eea5ce2882be/packages/rrweb/src/replay/index.ts#L270-L279),
which means the replay will continue to play, but the replay mirror will
be incomplete.

Closes getsentry/team-replay#458

* add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants