RESOLVED INVALID 72304
Web Inspector: InspectorBackend's concept of "dispatcher" is poorly named
https://bugs.webkit.org/show_bug.cgi?id=72304
Summary Web Inspector: InspectorBackend's concept of "dispatcher" is poorly named
Timothy Hatcher
Reported 2011-11-14 13:40:42 PST
When I think of dispatcher, I think of something that is the source of events, not someone that is the listener. When you call registerInspectorDispatcher for example, that is asking InspectorBackend to notify your object about Inspector domain events, but it sounds more like you are regestering an event generator more than an observer. I think register*Dispatcher should be renamed register*Observer or register*EventListener.
Attachments
Timothy Hatcher
Comment 1 2011-11-14 13:51:28 PST
I do understand the concept here — these dispatchers are called for events and *dispatch* them internally to front-end code. Though I think the dispatch name was the wrong concept to latch on to here — they are more fundamentally *listeners* or *observers*.
Brian Burg
Comment 2 2014-12-12 14:08:29 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests. Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.
Note You need to log in before you can comment on or make changes to this bug.