Changeset 195344 in webkit
- Timestamp:
- Jan 19, 2016 10:22:19 PM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r195343 r195344 1 2016-01-19 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Uncaught exception when logging an Error object 4 https://bugs.webkit.org/show_bug.cgi?id=153258 5 <rdar://problem/24249068> 6 7 Reviewed by Timothy Hatcher. 8 9 * UserInterface/Views/ErrorObjectView.js: 10 (WebInspector.ErrorObjectView): 11 Initialize members that are used later for clarity. 12 13 (WebInspector.ErrorObjectView.prototype.collapse): 14 (WebInspector.ErrorObjectView.prototype.expand): 15 This never has a previewView, remove it. 16 17 (WebInspector.ErrorObjectView.prototype.appendTitleSuffix): 18 Add the suffix ("= $1") after the description and before the 19 content tree outline. 20 1 21 2016-01-19 Nikita Vasilyev <nvasilyev@apple.com> 2 22 -
trunk/Source/WebInspectorUI/UserInterface/Views/ErrorObjectView.js
r195303 r195344 33 33 34 34 this._object = object; 35 36 this._expanded = false; 37 this._hasStackTrace = false; 35 38 36 39 this._element = document.createElement("div"); … … 104 107 this._element.classList.add("expanded"); 105 108 106 if (this._previewView)107 this._previewView.showTitle();108 109 109 this.update(); 110 110 } … … 117 117 this._expanded = false; 118 118 this._element.classList.remove("expanded"); 119 } 119 120 120 if (this._previewView) 121 this._previewView.showPreview(); 121 appendTitleSuffix(suffixElement) 122 { 123 this._element.insertBefore(suffixElement, this._outlineElement); 122 124 } 123 125
Note: See TracChangeset
for help on using the changeset viewer.