Changeset 246025 in webkit
- Timestamp:
- Jun 2, 2019 4:34:36 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r245991 r246025 1 2019-06-02 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: propagate whether to show prototype information to subobject views 4 https://bugs.webkit.org/show_bug.cgi?id=194929 5 6 Reviewed by Matt Baker. 7 8 Add a way to mark the `ObjectTreeView` as holding a JSON value, which extends 9 `showOnlyProperties` to also hide the prototype of all held values (e.g. children). 10 11 * UserInterface/Views/ObjectTreeView.js: 12 (WI.ObjectTreeView.prototype.showOnlyJSON): Added. 13 * UserInterface/Views/ObjectTreeView.css: 14 (.object-tree.properties-only.json-only .object-tree-property .prototype-property): Added. 15 16 * UserInterface/Views/AuditTestCaseContentView.js: 17 (WI.AuditTestCaseContentView.prototype.layout): 18 * UserInterface/Views/DOMNodeDetailsSidebarPanel.js: 19 (WI.DOMNodeDetailsSidebarPanel.prototype._refreshAssociatedData): 20 * UserInterface/Views/JSONResourceContentView.css: 21 (.content-view.resource.json .object-tree .prototype-property): Deleted. 22 * UserInterface/Views/JSONResourceContentView.js: 23 (WI.JSONResourceContentView.prototype.contentAvailable): 24 1 25 2019-05-31 Nikita Vasilyev <nvasilyev@apple.com> 2 26 -
trunk/Source/WebInspectorUI/UserInterface/Views/AuditTestCaseContentView.js
r245914 r246025 162 162 let objectTree = element.__objectTree; 163 163 if (objectTree) { 164 objectTree.showOnly Properties();164 objectTree.showOnlyJSON(); 165 165 objectTree.expand(); 166 166 } -
trunk/Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js
r243244 r246025 522 522 let objectTree = element.__objectTree; 523 523 if (objectTree) { 524 objectTree.showOnly Properties();524 objectTree.showOnlyJSON(); 525 525 objectTree.expand(); 526 526 } -
trunk/Source/WebInspectorUI/UserInterface/Views/JSONResourceContentView.css
r223806 r246025 28 28 overflow: scroll; 29 29 } 30 31 .content-view.resource.json .object-tree .prototype-property {32 display: none;33 } -
trunk/Source/WebInspectorUI/UserInterface/Views/JSONResourceContentView.js
r235873 r246025 70 70 71 71 let objectTree = new WI.ObjectTreeView(this._remoteObject); 72 objectTree.showOnlyJSON(); 72 73 objectTree.expand(); 73 74 -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css
r238711 r246025 108 108 } 109 109 110 .object-tree.properties-only.json-only .object-tree-property .prototype-property { 111 display: none; 112 } 113 110 114 .tree-outline.object li { 111 115 white-space: nowrap; -
trunk/Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.js
r242386 r246025 223 223 } 224 224 225 showOnlyJSON() 226 { 227 this.showOnlyProperties(); 228 229 this._element.classList.add("json-only"); 230 } 231 225 232 appendTitleSuffix(suffixElement) 226 233 {
Note: See TracChangeset
for help on using the changeset viewer.