ResourcesPanel should support adding subtitle to any BaseStorageTreeElement.
Created attachment 114139 [details] Patch
We will need that to create tree elements for frames with particular application cache manifest.
Created attachment 114146 [details] Patch
Created attachment 114147 [details] Patch
Comment on attachment 114147 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=114147&action=review > Source/WebCore/inspector/front-end/ResourcesPanel.js:870 > + this._updateTitles(); I know why you are setting titles when element is in the tree, but you could 'force' it and do it before. > Source/WebCore/inspector/front-end/ResourcesPanel.js:929 > + this._updateTitles(); So the common sequence below is at risk of creating title element twice?: treeElement.titleText = "foo"; treeElement.subtitleText = "bar"; I would manage title setters separately: title setter only changes its text, while preserving the subtitle + subtitle lazily creates / updates subtitle element. And you have to force both on attach.
Created attachment 114227 [details] Patch
Committed r99686: <http://trac.webkit.org/changeset/99686>