Changeset 235242 in webkit
- Timestamp:
- Aug 23, 2018, 1:20:15 PM (7 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r235240 r235242 1 2018-08-23 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: `console.inspect(sessionStorage)` first time does not show Session Storage content view if Storage tab was previously unvisited 4 https://bugs.webkit.org/show_bug.cgi?id=188801 5 6 Reviewed by Matt Baker. 7 8 * UserInterface/Base/Main.js: 9 (WI.tabContentViewClassForRepresentedObject): 10 (WI._storageWasInspected): 11 Since the `WI.StorageSidebarPanel` is not created until the `WI.StorageTabContentView` is 12 created, the `WI.StorageManager.Event.DOMStorageObjectWasInspected` and 13 `WI.StorageManager.Event.DatabaseWasInspected` events do not reach the sidebar. We should 14 follow what `WI._domNodeWasInspected` does and additionally call `WI.showRepresentedObject` 15 on the inspected object. 16 1 17 2018-08-23 Devin Rousso <drousso@apple.com> 2 18 -
trunk/Source/WebInspectorUI/UserInterface/Base/Main.js
r235147 r235242 1122 1122 return WI.ResourcesTabContentView; 1123 1123 1124 // FIXME: Move these to a Storage tab.1125 1124 if (representedObject instanceof WI.DOMStorageObject || representedObject instanceof WI.CookieStorageObject || 1126 1125 representedObject instanceof WI.DatabaseTableObject || representedObject instanceof WI.DatabaseObject || 1127 1126 representedObject instanceof WI.ApplicationCacheFrame || representedObject instanceof WI.IndexedDatabaseObjectStore || 1128 representedObject instanceof WI.IndexedDatabase ObjectStoreIndex)1129 return WI. ResourcesTabContentView;1127 representedObject instanceof WI.IndexedDatabase || representedObject instanceof WI.IndexedDatabaseObjectStoreIndex) 1128 return WI.StorageTabContentView; 1130 1129 1131 1130 if (representedObject instanceof WI.CanvasCollection) … … 1816 1815 { 1817 1816 this.showStorageTab(); 1817 this.showRepresentedObject(event.data.domStorage, null, {ignoreSearchTab: true}); 1818 1818 }; 1819 1819
Note:
See TracChangeset
for help on using the changeset viewer.