Changeset 196275 in webkit


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

Web Inspector: Extract a few common unicode characters into global variables
https://bugs.webkit.org/show_bug.cgi?id=154008

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

  • UserInterface/Base/Utilities.js:

Create global variables for emDash and ellipsis to use all over the tools.

  • UserInterface/Views/ConsoleMessageView.js:

(WebInspector.ConsoleMessageView.prototype._formatParameterAsTable): Deleted.

  • UserInterface/Views/DefaultDashboardView.js:

(WebInspector.DefaultDashboardView.prototype._updateDisplay):

  • UserInterface/Views/HierarchicalPathComponent.js:

(WebInspector.HierarchicalPathComponent.prototype._updateElementTitleAndText):
(WebInspector.HierarchicalPathComponent.prototype._updateSelectElement.createOption):
(WebInspector.HierarchicalPathComponent.prototype._updateSelectElement):

  • UserInterface/Views/HierarchicalPathNavigationItem.js:

(WebInspector.HierarchicalPathNavigationItem.prototype.updateLayout):

  • UserInterface/Views/LayerTreeDataGridNode.js:

(WebInspector.LayerTreeDataGridNode.prototype.set layer):

  • UserInterface/Views/LayoutTimelineDataGridNode.js:

(WebInspector.LayoutTimelineDataGridNode.prototype.createCellContent):
(WebInspector.LayoutTimelineDataGridNode):

  • UserInterface/Views/MemoryCategoryView.js:

(WebInspector.MemoryCategoryView.prototype._updateDetails): Deleted.
(WebInspector.MemoryCategoryView): Deleted.

  • UserInterface/Views/MemoryTimelineView.js:

(WebInspector.MemoryTimelineView.prototype._clearUsageLegend):
(WebInspector.MemoryTimelineView.prototype._updateUsageLegend):
(WebInspector.MemoryTimelineView.prototype._clearMaxComparisonLegend):
(WebInspector.MemoryTimelineView.prototype._updateMaxComparisonLegend):

  • UserInterface/Views/MultipleScopeBarItem.js:

(WebInspector.MultipleScopeBarItem.set scopeBarItems.createOption):
(WebInspector.MultipleScopeBarItem.prototype.set scopeBarItems):

  • UserInterface/Views/ObjectPreviewView.js:

(WebInspector.ObjectPreviewView.prototype._appendEntryPreviews):
(WebInspector.ObjectPreviewView.prototype._appendPropertyPreviews):

  • UserInterface/Views/ProfileNodeDataGridNode.js:

(WebInspector.ProfileNodeDataGridNode.prototype.createCellContent):
(WebInspector.ProfileNodeDataGridNode):

  • UserInterface/Views/RenderingFrameTimelineDataGridNode.js:

(WebInspector.RenderingFrameTimelineDataGridNode.prototype.createCellContent):
(WebInspector.RenderingFrameTimelineDataGridNode):

  • UserInterface/Views/ResourceDetailsSidebarPanel.js:

(WebInspector.ResourceDetailsSidebarPanel.prototype._refreshRequestAndResponse): Deleted.
(WebInspector.ResourceDetailsSidebarPanel.prototype._valueForSize): Deleted.

  • UserInterface/Views/ResourceTimelineDataGridNode.js:

(WebInspector.ResourceTimelineDataGridNode.prototype.createCellContent):

  • UserInterface/Views/ScriptTimelineDataGridNode.js:

(WebInspector.ScriptTimelineDataGridNode.prototype.createCellContent):
(WebInspector.ScriptTimelineDataGridNode):

  • UserInterface/Views/SearchResultTreeElement.js:

(WebInspector.SearchResultTreeElement.truncateAndHighlightTitle):

  • UserInterface/Views/TimelineDataGridNode.js:

(WebInspector.TimelineDataGridNode.prototype.createCellContent):

  • UserInterface/Views/TypeTreeElement.js:

(WebInspector.TypeTreeElement.prototype.onpopulate):

  • UserInterface/Views/TypeTreeView.js:

(WebInspector.TypeTreeView.prototype._populate):
(WebInspector.TypeTreeView):

Location:
trunk/Source/WebInspectorUI
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r196271 r196275  
     12016-02-08  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Extract a few common unicode characters into global variables
     4        https://bugs.webkit.org/show_bug.cgi?id=154008
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Base/Utilities.js:
     9        Create global variables for `emDash` and `ellipsis` to use all over the tools.
     10
     11        * UserInterface/Views/ConsoleMessageView.js:
     12        (WebInspector.ConsoleMessageView.prototype._formatParameterAsTable): Deleted.
     13        * UserInterface/Views/DefaultDashboardView.js:
     14        (WebInspector.DefaultDashboardView.prototype._updateDisplay):
     15        * UserInterface/Views/HierarchicalPathComponent.js:
     16        (WebInspector.HierarchicalPathComponent.prototype._updateElementTitleAndText):
     17        (WebInspector.HierarchicalPathComponent.prototype._updateSelectElement.createOption):
     18        (WebInspector.HierarchicalPathComponent.prototype._updateSelectElement):
     19        * UserInterface/Views/HierarchicalPathNavigationItem.js:
     20        (WebInspector.HierarchicalPathNavigationItem.prototype.updateLayout):
     21        * UserInterface/Views/LayerTreeDataGridNode.js:
     22        (WebInspector.LayerTreeDataGridNode.prototype.set layer):
     23        * UserInterface/Views/LayoutTimelineDataGridNode.js:
     24        (WebInspector.LayoutTimelineDataGridNode.prototype.createCellContent):
     25        (WebInspector.LayoutTimelineDataGridNode):
     26        * UserInterface/Views/MemoryCategoryView.js:
     27        (WebInspector.MemoryCategoryView.prototype._updateDetails): Deleted.
     28        (WebInspector.MemoryCategoryView): Deleted.
     29        * UserInterface/Views/MemoryTimelineView.js:
     30        (WebInspector.MemoryTimelineView.prototype._clearUsageLegend):
     31        (WebInspector.MemoryTimelineView.prototype._updateUsageLegend):
     32        (WebInspector.MemoryTimelineView.prototype._clearMaxComparisonLegend):
     33        (WebInspector.MemoryTimelineView.prototype._updateMaxComparisonLegend):
     34        * UserInterface/Views/MultipleScopeBarItem.js:
     35        (WebInspector.MultipleScopeBarItem.set scopeBarItems.createOption):
     36        (WebInspector.MultipleScopeBarItem.prototype.set scopeBarItems):
     37        * UserInterface/Views/ObjectPreviewView.js:
     38        (WebInspector.ObjectPreviewView.prototype._appendEntryPreviews):
     39        (WebInspector.ObjectPreviewView.prototype._appendPropertyPreviews):
     40        * UserInterface/Views/ProfileNodeDataGridNode.js:
     41        (WebInspector.ProfileNodeDataGridNode.prototype.createCellContent):
     42        (WebInspector.ProfileNodeDataGridNode):
     43        * UserInterface/Views/RenderingFrameTimelineDataGridNode.js:
     44        (WebInspector.RenderingFrameTimelineDataGridNode.prototype.createCellContent):
     45        (WebInspector.RenderingFrameTimelineDataGridNode):
     46        * UserInterface/Views/ResourceDetailsSidebarPanel.js:
     47        (WebInspector.ResourceDetailsSidebarPanel.prototype._refreshRequestAndResponse): Deleted.
     48        (WebInspector.ResourceDetailsSidebarPanel.prototype._valueForSize): Deleted.
     49        * UserInterface/Views/ResourceTimelineDataGridNode.js:
     50        (WebInspector.ResourceTimelineDataGridNode.prototype.createCellContent):
     51        * UserInterface/Views/ScriptTimelineDataGridNode.js:
     52        (WebInspector.ScriptTimelineDataGridNode.prototype.createCellContent):
     53        (WebInspector.ScriptTimelineDataGridNode):
     54        * UserInterface/Views/SearchResultTreeElement.js:
     55        (WebInspector.SearchResultTreeElement.truncateAndHighlightTitle):
     56        * UserInterface/Views/TimelineDataGridNode.js:
     57        (WebInspector.TimelineDataGridNode.prototype.createCellContent):
     58        * UserInterface/Views/TypeTreeElement.js:
     59        (WebInspector.TypeTreeElement.prototype.onpopulate):
     60        * UserInterface/Views/TypeTreeView.js:
     61        (WebInspector.TypeTreeView.prototype._populate):
     62        (WebInspector.TypeTreeView):
     63
    1642016-02-08  Joseph Pecoraro  <pecoraro@apple.com>
    265
  • trunk/Source/WebInspectorUI/UserInterface/Base/Utilities.js

    r196187 r196275  
    2424 */
    2525
     26var emDash = "\u2014";
     27var ellipsis = "\u2026";
     28
    2629Object.defineProperty(Object, "shallowCopy",
    2730{
     
    478481        var leftHalf = maxLength >> 1;
    479482        var rightHalf = maxLength - leftHalf - 1;
    480         return this.substr(0, leftHalf) + "\u2026" + this.substr(this.length - rightHalf, rightHalf);
     483        return this.substr(0, leftHalf) + ellipsis + this.substr(this.length - rightHalf, rightHalf);
    481484    }
    482485});
     
    488491        if (this.length <= maxLength)
    489492            return this;
    490         return this.substr(0, maxLength - 1) + "\u2026";
     493        return this.substr(0, maxLength - 1) + ellipsis;
    491494    }
    492495});
     
    506509            clipped = clipped.slice(0, indexOfLastWhitespace - 1);
    507510
    508         return clipped + "\u2026";
     511        return clipped + ellipsis;
    509512    }
    510513});
  • trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js

    r194877 r196275  
    768768        // If there were valuePreviews, convert to a flat list.
    769769        if (rows.length) {
    770             var emDash = "\u2014";
    771770            columnNames.unshift(WebInspector.UIString("(Index)"));
    772771            for (var i = 0; i < rows.length; ++i) {
  • trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeElement.js

    r194723 r196275  
    12341234                    if (this.hasChildren) {
    12351235                        var textNodeElement = info.titleDOM.createChild("span", "html-text-node");
    1236                         textNodeElement.textContent = "\u2026";
     1236                        textNodeElement.textContent = ellipsis;
    12371237                        info.titleDOM.append("\u200B");
    12381238                    }
  • trunk/Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.js

    r189142 r196275  
    7373
    7474        var timeItem = this._items.time;
    75         timeItem.text = dashboard.time ? Number.secondsToString(dashboard.time) : "\u2014";
     75        timeItem.text = dashboard.time ? Number.secondsToString(dashboard.time) : emDash;
    7676        this._setItemEnabled(timeItem, dashboard.time > 0);
    7777
     
    8181
    8282        var sizeItem = this._items.resourcesSize;
    83         sizeItem.text = dashboard.resourcesSize ? Number.bytesToString(dashboard.resourcesSize, false) : "\u2014";
     83        sizeItem.text = dashboard.resourcesSize ? Number.bytesToString(dashboard.resourcesSize, false) : emDash;
    8484        this._setItemEnabled(sizeItem, dashboard.resourcesSize > 0);
    8585    }
  • trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.js

    r185800 r196275  
    245245        var truncatedDisplayName = this._displayName;
    246246        if (this._truncatedDisplayNameLength && truncatedDisplayName.length > this._truncatedDisplayNameLength)
    247             truncatedDisplayName = truncatedDisplayName.substring(0, this._truncatedDisplayNameLength) + "\u2026";
     247            truncatedDisplayName = truncatedDisplayName.substring(0, this._truncatedDisplayNameLength) + ellipsis;
    248248
    249249        this._element.title = this._displayName;
     
    259259            var optionElement = document.createElement("option");
    260260            var maxPopupMenuLength = 130; // <rdar://problem/13445374> <select> with very long option has clipped text and popup menu is still very wide
    261             optionElement.textContent = component.displayName.length <= maxPopupMenuLength ? component.displayName : component.displayName.substring(0, maxPopupMenuLength) + "\u2026";
     261            optionElement.textContent = component.displayName.length <= maxPopupMenuLength ? component.displayName : component.displayName.substring(0, maxPopupMenuLength) + ellipsis;
    262262            optionElement._pathComponent = component;
    263263            return optionElement;
  • trunk/Source/WebInspectorUI/UserInterface/Views/HierarchicalPathNavigationItem.js

    r191976 r196275  
    171171
    172172        // Create a component that will represent the hidden components with a ellipse as the display name.
    173         this._collapsedComponent = new WebInspector.HierarchicalPathComponent("\u2026", []);
     173        this._collapsedComponent = new WebInspector.HierarchicalPathComponent(ellipsis, []);
    174174        this._collapsedComponent.collapsed = true;
    175175
  • trunk/Source/WebInspectorUI/UserInterface/Views/LayerTreeDataGridNode.js

    r187873 r196275  
    6565        this.data = {
    6666            name: domNode ? WebInspector.displayNameForNode(domNode) : WebInspector.UIString("Unknown node"),
    67             paintCount: layer.paintCount || "\u2014",
     67            paintCount: layer.paintCount || emDash,
    6868            memory: Number.bytesToString(layer.memory || 0)
    6969        };
  • trunk/Source/WebInspectorUI/UserInterface/Views/LayoutTimelineDataGridNode.js

    r195779 r196275  
    6565    createCellContent(columnIdentifier, cell)
    6666    {
    67         const emptyValuePlaceholderString = "\u2014";
    6867        var value = this.data[columnIdentifier];
    6968
     
    7473        case "width":
    7574        case "height":
    76             return isNaN(value) ? emptyValuePlaceholderString : WebInspector.UIString("%fpx").format(value);
     75            return isNaN(value) ? emDash : WebInspector.UIString("%fpx").format(value);
    7776
    7877        case "area":
    79             return isNaN(value) ? emptyValuePlaceholderString : WebInspector.UIString("%fpx²").format(value);
     78            return isNaN(value) ? emDash : WebInspector.UIString("%fpx²").format(value);
    8079
    8180        case "startTime":
    82             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value - this._baseStartTime, true);
     81            return isNaN(value) ? emDash : Number.secondsToString(value - this._baseStartTime, true);
    8382
    8483        case "totalTime":
    85             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value, true);
     84            return isNaN(value) ? emDash : Number.secondsToString(value, true);
    8685        }
    8786
  • trunk/Source/WebInspectorUI/UserInterface/Views/MemoryCategoryView.js

    r195999 r196275  
    110110    _updateDetails(minSize, maxSize)
    111111    {
    112         const emDash = "\u2014";
    113112        this._detailsMaxElement.textContent = WebInspector.UIString("Highest: %s").format(Number.isFinite(maxSize) ? Number.bytesToString(maxSize) : emDash);
    114113        this._detailsMinElement.textContent = WebInspector.UIString("Lowest: %s").format(Number.isFinite(minSize) ? Number.bytesToString(minSize) : emDash);
  • trunk/Source/WebInspectorUI/UserInterface/Views/MemoryTimelineView.js

    r196074 r196275  
    244244    {
    245245        for (let sizeElement of this._usageLegendSizeElementMap.values())
    246             sizeElement.textContent = "\u2014";
     246            sizeElement.textContent = emDash;
    247247
    248248        let totalElement = this._usageCircleChart.centerElement.firstChild;
     
    257257        for (let {type, size} of record.categories) {
    258258            let sizeElement = this._usageLegendSizeElementMap.get(type);
    259             sizeElement.textContent = Number.isFinite(size) ? Number.bytesToString(size) : "\u2014";
     259            sizeElement.textContent = Number.isFinite(size) ? Number.bytesToString(size) : emDash;
    260260        }
    261261
     
    277277    _clearMaxComparisonLegend()
    278278    {
    279         this._maxComparisonMaximumSizeElement.textContent = "\u2014";
    280         this._maxComparisonCurrentSizeElement.textContent = "\u2014";
     279        this._maxComparisonMaximumSizeElement.textContent = emDash;
     280        this._maxComparisonCurrentSizeElement.textContent = emDash;
    281281
    282282        let totalElement = this._maxComparisonCircleChart.centerElement.firstChild;
     
    287287    _updateMaxComparisonLegend(currentSize)
    288288    {
    289         this._maxComparisonMaximumSizeElement.textContent = Number.isFinite(this._maxSize) ? Number.bytesToString(this._maxSize) : "\u2014";
    290         this._maxComparisonCurrentSizeElement.textContent = Number.isFinite(currentSize) ? Number.bytesToString(currentSize) : "\u2014";
     289        this._maxComparisonMaximumSizeElement.textContent = Number.isFinite(this._maxSize) ? Number.bytesToString(this._maxSize) : emDash;
     290        this._maxComparisonCurrentSizeElement.textContent = Number.isFinite(currentSize) ? Number.bytesToString(currentSize) : emDash;
    291291
    292292        let centerElement = this._maxComparisonCircleChart.centerElement;
  • trunk/Source/WebInspectorUI/UserInterface/Views/MultipleScopeBarItem.js

    r194903 r196275  
    7979            var optionElement = document.createElement("option");
    8080            var maxPopupMenuLength = 130; // <rdar://problem/13445374> <select> with very long option has clipped text and popup menu is still very wide
    81             optionElement.textContent = scopeBarItem.label.length <= maxPopupMenuLength ? scopeBarItem.label : scopeBarItem.label.substring(0, maxPopupMenuLength) + "\u2026";
     81            optionElement.textContent = scopeBarItem.label.length <= maxPopupMenuLength ? scopeBarItem.label : scopeBarItem.label.substring(0, maxPopupMenuLength) + ellipsis;
    8282            return optionElement;
    8383        }
  • trunk/Source/WebInspectorUI/UserInterface/Views/ObjectPreviewView.js

    r192789 r196275  
    181181            if (limit > 0)
    182182                element.append(", ");
    183             element.append("\u2026");
     183            element.append(ellipsis);
    184184        }
    185185
     
    246246            if (limit > 0)
    247247                element.append(", ");
    248             element.append("\u2026");
     248            element.append(ellipsis);
    249249        }
    250250
  • trunk/Source/WebInspectorUI/UserInterface/Views/ProfileNodeDataGridNode.js

    r188360 r196275  
    106106    createCellContent(columnIdentifier, cell)
    107107    {
    108         const emptyValuePlaceholderString = "\u2014";
    109108        var value = this.data[columnIdentifier];
    110109
    111110        switch (columnIdentifier) {
    112111        case "startTime":
    113             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value - this._baseStartTime, true);
     112            return isNaN(value) ? emDash : Number.secondsToString(value - this._baseStartTime, true);
    114113
    115114        case "selfTime":
    116115        case "totalTime":
    117116        case "averageTime":
    118             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value, true);
     117            return isNaN(value) ? emDash : Number.secondsToString(value, true);
    119118        }
    120119
  • trunk/Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineDataGridNode.js

    r195779 r196275  
    6868    createCellContent(columnIdentifier, cell)
    6969    {
    70         const emptyValuePlaceholderString = "\u2014";
    7170        var value = this.data[columnIdentifier];
    7271
    7372        switch (columnIdentifier) {
    7473        case "startTime":
    75             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value - this._baseStartTime, true);
     74            return isNaN(value) ? emDash : Number.secondsToString(value - this._baseStartTime, true);
    7675
    7776        case "scriptTime":
     
    8079        case "otherTime":
    8180        case "totalTime":
    82             return (isNaN(value) || value === 0) ? emptyValuePlaceholderString : Number.secondsToString(value, true);
     81            return (isNaN(value) || value === 0) ? emDash : Number.secondsToString(value, true);
    8382        }
    8483
  • trunk/Source/WebInspectorUI/UserInterface/Views/ResourceDetailsSidebarPanel.js

    r194920 r196275  
    288288        // If we don't have a value, we set an em-dash to keep the row from hiding.
    289289        // This keeps the UI from shifting around as data comes in.
    290         var emDash = "\u2014";
    291290
    292291        this._requestMethodRow.value = resource.requestMethod || emDash;
     
    305304        // If we don't have a value, we set an em-dash to keep the row from hiding.
    306305        // This keeps the UI from shifting around as data comes in.
    307         var emDash = "\u2014";
    308306        return size > 0 ? Number.bytesToString(size) : emDash;
    309307    }
  • trunk/Source/WebInspectorUI/UserInterface/Views/ResourceTimelineDataGridNode.js

    r190376 r196275  
    9494            cell.classList.add("error");
    9595
    96         const emptyValuePlaceholderString = "\u2014";
    9796        var value = this.data[columnIdentifier];
    9897
     
    103102        case "statusCode":
    104103            cell.title = resource.statusText || "";
    105             return value || emptyValuePlaceholderString;
     104            return value || emDash;
    106105
    107106        case "cached":
     
    109108
    110109        case "domain":
    111             return value || emptyValuePlaceholderString;
     110            return value || emDash;
    112111
    113112        case "size":
    114113        case "transferSize":
    115             return isNaN(value) ? emptyValuePlaceholderString : Number.bytesToString(value, true);
     114            return isNaN(value) ? emDash : Number.bytesToString(value, true);
    116115
    117116        case "requestSent":
    118117        case "latency":
    119118        case "duration":
    120             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value, true);
     119            return isNaN(value) ? emDash : Number.secondsToString(value, true);
    121120        }
    122121
  • trunk/Source/WebInspectorUI/UserInterface/Views/ScriptTimelineDataGridNode.js

    r195779 r196275  
    122122    createCellContent(columnIdentifier, cell)
    123123    {
    124         const emptyValuePlaceholderString = "\u2014";
    125124        var value = this.data[columnIdentifier];
    126125
     
    130129
    131130        case "startTime":
    132             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value - this._baseStartTime, true);
     131            return isNaN(value) ? emDash : Number.secondsToString(value - this._baseStartTime, true);
    133132
    134133        case "selfTime":
    135134        case "totalTime":
    136135        case "averageTime":
    137             return isNaN(value) ? emptyValuePlaceholderString : Number.secondsToString(value, true);
     136            return isNaN(value) ? emDash : Number.secondsToString(value, true);
    138137
    139138        case "callCount":
    140             return isNaN(value) ? emptyValuePlaceholderString : value;
     139            return isNaN(value) ? emDash : value;
    141140        }
    142141
  • trunk/Source/WebInspectorUI/UserInterface/Views/SearchResultTreeElement.js

    r195303 r196275  
    5151        var modifiedTitle = null;
    5252        if (searchTermIndex > WebInspector.SearchResultTreeElement.CharactersToShowBeforeSearchMatch) {
    53             modifiedTitle = "\u2026" + title.substring(searchTermIndex - WebInspector.SearchResultTreeElement.CharactersToShowBeforeSearchMatch);
     53            modifiedTitle = ellipsis + title.substring(searchTermIndex - WebInspector.SearchResultTreeElement.CharactersToShowBeforeSearchMatch);
    5454            searchTermIndex = WebInspector.SearchResultTreeElement.CharactersToShowBeforeSearchMatch + 1;
    5555        } else
  • trunk/Source/WebInspectorUI/UserInterface/Views/TimelineDataGridNode.js

    r189238 r196275  
    102102        var value = this.data[columnIdentifier];
    103103        if (!value)
    104             return "\u2014";
     104            return emDash;
    105105
    106106        if (value instanceof WebInspector.SourceCodeLocation) {
  • trunk/Source/WebInspectorUI/UserInterface/Views/TypeTreeElement.js

    r195303 r196275  
    100100
    101101        if (this._structureDescription.imprecise) {
    102             var truncatedMessageElement = WebInspector.ObjectTreeView.createEmptyMessageElement("\u2026");
     102            var truncatedMessageElement = WebInspector.ObjectTreeView.createEmptyMessageElement(ellipsis);
    103103            this.appendChild(new WebInspector.TreeElement(truncatedMessageElement, null, false));
    104104        }
  • trunk/Source/WebInspectorUI/UserInterface/Views/TypeTreeView.js

    r195303 r196275  
    8080
    8181        if (this._typeDescription.truncated) {
    82             var truncatedMessageElement = WebInspector.ObjectTreeView.createEmptyMessageElement("\u2026");
     82            var truncatedMessageElement = WebInspector.ObjectTreeView.createEmptyMessageElement(ellipsis);
    8383            this._outline.appendChild(new WebInspector.TreeElement(truncatedMessageElement, null, false));
    8484        }
Note: See TracChangeset for help on using the changeset viewer.