Summary: | Web Inspector: use initialLayout for NetworkSidebarPanel | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||||||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | commit-queue, inspector-bugzilla-changes, joepeck | ||||||||||
Priority: | P2 | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 172303 | ||||||||||||
Attachments: |
|
Description
Devin Rousso
2017-05-22 13:42:14 PDT
Created attachment 310910 [details]
Patch
Created attachment 310912 [details]
[Image] Timeline Before
Created attachment 310913 [details]
[Image] Timeline After
Comment on attachment 310910 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=310910&action=review r=me, but with concerns > Source/WebInspectorUI/UserInterface/Views/NetworkSidebarPanel.js:41 > this.contentBrowser.addEventListener(WebInspector.ContentBrowser.Event.CurrentContentViewDidChange, this._contentBrowserCurrentContentViewDidChange, this); As was mentioned previously, it doesn't make sense to me why this is not in initialLayout. It seems potentially problematic keeping it separate. It is quite small right now but I do worry about future changes adding code in there that is unsafe unless performed after initial layout. > Source/WebInspectorUI/UserInterface/Views/NetworkSidebarPanel.js:82 > + var scopeItemPrefix = "network-sidebar-"; Style: Lets upgrade these to `let` now. Created attachment 311042 [details]
Patch
Comment on attachment 311042 [details] Patch Clearing flags on attachment: 311042 Committed r217295: <http://trac.webkit.org/changeset/217295> All reviewed patches have been landed. Closing bug. |