| Summary: | Web Inspector: Don't include a hidden Timeline selection in the navigation path components | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Timothy Hatcher <timothy> | ||||
| Component: | Web Inspector | Assignee: | Timothy Hatcher <timothy> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | graouts, joepeck, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Timothy Hatcher
2014-01-22 12:48:56 PST
Created attachment 221895 [details]
Patch
Comment on attachment 221895 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=221895&action=review r=me > Source/WebInspectorUI/UserInterface/GeneralTreeElementPathComponent.js:47 > + if (!previousSibling) > return null; This early return can be removed, since the loop below will check if previousSibling and do the right thing. > Source/WebInspectorUI/UserInterface/GeneralTreeElementPathComponent.js:62 > + if (!nextSibling) > return null; Ditto |