Report an error when the component event name is once
Vue version
latest
Link to minimal reproduction
Steps to reproduce
open the link
What is expected?
no error
What is actually happening?
get error:
Cannot read properties of undefined (reading 'toLowerCase')
System Info
No response
Any additional comments?
Issue exposed by #8334 and doesn't seem to be fixed by #8338