[Webkit-unassigned] [Bug 140898] New: Web Inspector: DebuggerSidebarPanel: _addBreakpoint function has unnecessary parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 26 13:12:24 PST 2015


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

            Bug ID: 140898
           Summary: Web Inspector: DebuggerSidebarPanel: _addBreakpoint
                    function has unnecessary parameter
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jonowells at apple.com
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Near line 310 of the DebuggerSidebarPanel.js file is this call:

    this._addBreakpoint(breakpoints[i], sourceCode);

However this function begins:

    _addBreakpoint: function(breakpoint, sourceCode)
    {
        var sourceCode = breakpoint.sourceCodeLocation.displaySourceCode;

Clearly this second parameter is unnecessary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150126/a94a991d/attachment-0002.html>


More information about the webkit-unassigned mailing list