Bug 239902

Summary: GPUUncapturedErrorEvent implementation seems wrong
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, mmaxfield, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2022-04-29 09:11:45 PDT
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.
Comment 1 Radar WebKit Bug Importer 2022-05-06 09:12:12 PDT
<rdar://problem/92863573>