Skip to content

Conversation

zawata
Copy link

@zawata zawata commented Jul 2, 2024

path is a non-standard property that was removed in chromium 110 causing this code to throw errors when encountered. the whatwg dom spec lists it's replacement, composedPath(), as having the first element always be currentTarget so just use that instead.

https://groups.google.com/a/chromium.org/g/blink-dev/c/UYY2TRSL8_k
https://dom.spec.whatwg.org/#dom-event-composedpath

path is a non-standard property that was removed in chromium 110 causing this code to throw errors when encountered. the whatwg dom spec lists it's replacement, composedPath(), as having the first element alwasy be currentTarget so just use that instead.
@zawata zawata requested a review from avi-gitkraken July 2, 2024 19:53
@zawata zawata changed the base branch from master to gitkraken July 2, 2024 19:54
Copy link

@avi-gitkraken avi-gitkraken left a comment

Choose a reason for hiding this comment

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

Looks like we're failing a few tests.

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