Bug 239902 - GPUUncapturedErrorEvent implementation seems wrong
Summary: GPUUncapturedErrorEvent implementation seems wrong
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-29 09:11 PDT by Chris Dumez
Modified: 2022-05-06 09:12 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>