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 possible bug on event handler #36561

Merged
merged 1 commit into from
Jun 14, 2022
Merged

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Jun 13, 2022

Based on a bug was caused on #35857, some browsers validate the empty object as true, so it is safer to use an explicit check

some browsers validate the empty object as `true`, so is safer to use an explicit check
@GeoSot GeoSot requested a review from a team as a code owner June 13, 2022 22:52
@XhmikosR XhmikosR merged commit ec8166a into main Jun 14, 2022
@XhmikosR XhmikosR deleted the gs/fix-possible-issue-event-handler branch June 14, 2022 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants