[webkit-changes] [WebKit/WebKit] e03b57: Web Inspector: expanded sections of Storage should...
Qianlang Chen
noreply at github.com
Thu Mar 7 02:25:16 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e03b5777dbef981543833275d15e5bd4b3eaddd4
https://github.com/WebKit/WebKit/commit/e03b5777dbef981543833275d15e5bd4b3eaddd4
Author: Qianlang Chen <qianlangchen at apple.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M Source/WebInspectorUI/UserInterface/Views/FolderTreeElement.js
M Source/WebInspectorUI/UserInterface/Views/StorageSidebarPanel.js
Log Message:
-----------
Web Inspector: expanded sections of Storage should not collapse
rdar://107687975
https://bugs.webkit.org/show_bug.cgi?id=255071
Reviewed by Devin Rousso.
Use WI.Setting to remember the expanded state of each FolderTreeElement
in the StorageSidebarPanel.
* Source/WebInspectorUI/UserInterface/Views/FolderTreeElement.js:
(WI.FolderTreeElement):
- Optionally create and load a WI.Setting item for this element.
(WI.FolderTreeElement.prototype.collapse):
(WI.FolderTreeElement.prototype.expand):
- Update the WI.Setting item on change.
* Source/WebInspectorUI/UserInterface/Views/StorageSidebarPanel.js:
(WI.StorageSidebarPanel.prototype._addDOMStorageObject):
(WI.StorageSidebarPanel.prototype._addDatabase):
(WI.StorageSidebarPanel.prototype._addIndexedDatabase):
(WI.StorageSidebarPanel.prototype._addCookieStorageObject):
(WI.StorageSidebarPanel.prototype._addFrameManifest):
(WI.StorageSidebarPanel.prototype._addStorageChild):
- Give each of these folder elements an ID so that they create
and use WI.Setting items.
Canonical link: https://commits.webkit.org/275783@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list