Skip to content

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
@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.

3 participants