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: Ensure unmaskTextSelector is used for masked attributes #81

Merged
merged 3 commits into from
Mar 17, 2023

Conversation

mydea
Copy link
Member

@mydea mydea commented Mar 16, 2023

Closes #79

@mydea mydea requested a review from billyvg March 16, 2023 12:59
@mydea mydea self-assigned this Mar 16, 2023
packages/rrweb-snapshot/src/snapshot.ts Outdated Show resolved Hide resolved
packages/rrweb-snapshot/src/snapshot.ts Outdated Show resolved Hide resolved
Comment on lines +4238 to +4254
{
"type": 2,
"tagName": "div",
"attributes": {
"title": "Test title",
"aria-label": "Test aria label",
"class": "rr-unmask"
},
"childNodes": [
{
"type": 3,
"textContent": "\\n Test content\\n ",
"id": 21
}
],
"id": 20
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

mydea and others added 2 commits March 17, 2023 08:37
Co-authored-by: Billy Vong <billyvg@users.noreply.github.com>
@mydea mydea merged commit 0eb738a into sentry-v1 Mar 17, 2023
@mydea mydea deleted the fn/unmask-default-attributes branch March 17, 2023 12:33
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.

Input attributes are masked for elements with "unmask" class
2 participants