[Webkit-unassigned] [Bug 119527] New: Web Inspector: Remove stale code in ResourceContentView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 6 13:45:10 PDT 2013


           Summary: Web Inspector: Remove stale code in
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com, graouts at apple.com

The ResourceContentView type changing handling was moved to ResourceClusterContentView a while ago. In the process some code was leftover in ResourceContentView which can be removed:

    this._resource.removeEventListener(WebInspector.Resource.Event.TypeDidChange, this._resourceTypeDidChange, this);

ResourceContentView no longer adds that event listener to the resource, and doesn't have a this._resourceTypeDidChange function, so it is likely passing null and not removing anything.

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