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

dataset override: add check for property being a string, fixes #132 #135

Merged
merged 2 commits into from
Feb 18, 2024

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Feb 18, 2024

Ensure property on .dataset is a string before calling startsWithOneOf, otherwise just return default property.
Fixes #132

The .dataset is a DOMStringMap so only strings should be unrewritten

@ikreymer ikreymer merged commit 2a279ad into main Feb 18, 2024
4 checks passed
@ikreymer ikreymer deleted the issue-132-fix-dataset-override branch June 17, 2024 20:49
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.

Wombat proxy error: hasOwnProperty function is called, leading to an error.
1 participant