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: CORS proxy plugin style element handling #19396

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

pauldambra
Copy link
Member

We were still seeing failed mutation removal at playback after fixing the plugin to replace textContent not innerText in #19373

Turned out this was because textContent changes apply to all children. So, if a style element had three lines of text separated by
then we'd replace them with one line of text

rrweb mutations then couldn't remove the individual lines of text because they weren't matchable

TODO - can rrweb mutations remove a node where we've changed the URL 🤔

@pauldambra pauldambra requested a review from a team December 18, 2023 15:41
Copy link
Contributor

Size Change: 0 B

Total Size: 1.99 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.99 MB

compressed-size-action

@pauldambra pauldambra merged commit 5ed1520 into master Dec 18, 2023
79 checks passed
@pauldambra pauldambra deleted the fix/cors-proxy-plugin-style-elements branch December 18, 2023 16:03
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