[Webkit-unassigned] [Bug 72304] New: Web Inspector: InspectorBackend's concept of "dispatcher" is poorly named

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 14 13:40:43 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=72304

           Summary: Web Inspector: InspectorBackend's concept of
                    "dispatcher" is poorly named
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: timothy at apple.com
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list