-
-
Notifications
You must be signed in to change notification settings - Fork 237
Description
After I activate the Vue Devtools by opening the Vue tab once, I sometimes get JS crashes because Devtools code tries to dereference a null object.
Here's what I so far, hopefully you'll be able to take an educated guess on what the condition that triggers the bug is.
From my experience so far, it could be linked to @intlify/unplugin-vue-i18n but I am not 100% sure. Maybe just a coincidence.
The problem occurs in a hook for timelineEventAdded. Here's the call stack (obfuscated though).

Here's the crashing code, with a little bit of context so hopefully you can locate the un-minified source:

The problem is that e is a plain object. You can see its fields in the screenshot above, but it has no constructor. So e.constructor.name fails with Cannot read properties of undefined (reading: 'name').