GPUUncapturedErrorEvent looks wrong. It is an Event subclass but it doesn't pass any information to its Base class constructor. At the very least, it should be passing the event type instead of storing it as its own data member. Pretty sure event.type would be wrong for such event on JS side. Please other Event subclasses for examples.
<rdar://problem/92863573>