⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 197806 in webkit


Ignore:
Timestamp:
Mar 8, 2016, 3:02:55 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Miscellaneous inspector fixes for typos / stale code
​https://bugs.webkit.org/show_bug.cgi?id=155193

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2016-03-08
Reviewed by Timothy Hatcher.

  • UserInterface/Models/SourceCodeLocation.js:

(WebInspector.SourceCodeLocation.prototype._locationString):
Fix whitespace.

  • UserInterface/Views/ApplicationCacheFrameContentView.js:

(WebInspector.ApplicationCacheFrameContentView):
Remove unused class name.

  • UserInterface/Views/SourceCodeTextEditor.js:

(WebInspector.SourceCodeTextEditor.prototype._showPopoverForFunction.didGetDetails):
Remove inferredName, as that was never sent by our backend and is getting removed.

  • UserInterface/Views/TimelineRuler.js:

(WebInspector.TimelineRuler.prototype._handleMouseUp):
Fix variable name typo.

Location:
trunk/Source/WebInspectorUI
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r197802 r197806  
     12016-03-08  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Miscellaneous inspector fixes for typos / stale code
     4        https://bugs.webkit.org/show_bug.cgi?id=155193
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Models/SourceCodeLocation.js:
     9        (WebInspector.SourceCodeLocation.prototype._locationString):
     10        Fix whitespace.
     11
     12        * UserInterface/Views/ApplicationCacheFrameContentView.js:
     13        (WebInspector.ApplicationCacheFrameContentView):
     14        Remove unused class name.
     15
     16        * UserInterface/Views/SourceCodeTextEditor.js:
     17        (WebInspector.SourceCodeTextEditor.prototype._showPopoverForFunction.didGetDetails):
     18        Remove inferredName, as that was never sent by our backend and is getting removed.
     19
     20        * UserInterface/Views/TimelineRuler.js:
     21        (WebInspector.TimelineRuler.prototype._handleMouseUp):
     22        Fix variable name typo.
     23
    1242016-03-08  Joseph Pecoraro  <pecoraro@apple.com>
    225
  • trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodeLocation.js

    r197619 r197806  
    341341                return prefix + name;
    342342            let lineSuffix = displayURL ? ":" + lineString : WebInspector.UIString(" (line %s)").format(lineString);
    343             return  prefix + name + lineSuffix;
     343            return prefix + name + lineSuffix;
    344344
    345345        default:
  • trunk/Source/WebInspectorUI/UserInterface/Views/ApplicationCacheFrameContentView.js

    r194878 r197806  
    3232        super(representedObject);
    3333
    34         this.element.classList.add("application-cache-frame", "table");
     34        this.element.classList.add("application-cache-frame");
    3535
    3636        this._frame = representedObject.frame;
  • trunk/Source/WebInspectorUI/UserInterface/Views/SourceCodeTextEditor.js

    r196464 r197806  
    14761476            let title = content.appendChild(document.createElement("div"));
    14771477            title.classList.add("title");
    1478             title.textContent = response.name || response.inferredName || response.displayName || WebInspector.UIString("(anonymous function)");
     1478            title.textContent = response.name || response.displayName || WebInspector.UIString("(anonymous function)");
    14791479            title.appendChild(functionSourceCodeLink);
    14801480
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js

    r197530 r197806  
    800800        document.removeEventListener("mouseup", this._mouseUpEventListener);
    801801
    802         delete this._mouseMovedEventListener;
     802        delete this._mouseMoveEventListener;
    803803        delete this._mouseUpEventListener;
    804804        delete this._mouseDownPosition;
Note: See TracChangeset for help on using the changeset viewer.