Open anoakie opened 7 years ago
More information. It's triggered by a MouseEvent in Chrome (removed unrelated data)
MouseEvent
currentTarget: document
eventPhase: 2
fromElement: null
isTrusted: true
path:(2) [document, Window]
relatedTarget: null
srcElement: document
target: document
toElement: document
type: "mouseover"
In the context of the exception:
matches = "matches"
selector = "a, a *"
Any update on this, @khloke? That error is really annoying when developing on websites, and it's preventable with this commit by @JohnyGemityg.
What about the second occurrance of the event.target[matches)()
call in the document.addEventListener('mouseout')
event handling? Maybe this one should be also checked before calling?
I randomly see this in my error console: