Bug 195646 - Web Inspector: assert unsupported events in WI.Object.addEventListener
Summary: Web Inspector: assert unsupported events in WI.Object.addEventListener
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-12 15:29 PDT by Nikita Vasilyev
Modified: 2019-03-12 15:29 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Vasilyev 2019-03-12 15:29:47 PDT
addEventListener should be smart enough to tell if eventType isn't supported on the given object.

This would require some refactoring to define supported events consistently in WI codebase.