[Webkit-unassigned] [Bug 122125] Web Inspector: restore navigation panel state across page reloads and reopens
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 3 09:27:55 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=122125
--- Comment #9 from Timothy Hatcher <timothy at apple.com> 2013-12-03 09:26:16 PST ---
(From update of attachment 218246)
View in context: https://bugs.webkit.org/attachment.cgi?id=218246&action=review
>>> Source/WebInspectorUI/UserInterface/NavigationSidebarPanel.js:557
>>> + workList.splice(0, this._visibleContentTreeOutlines.size);
>>
>> I think this can be simplified (and likely in a performant way). Can this just iterate over the TreeOutlines and then use traverseNextTreeElement to append to workList?
>
> I couldn't figure out traverseNextTreeElement or find an example where it seems to iterate the entire tree. If it works, it would definitely be faster.
http://pastie.org/private/iqgn2kypobwj5eapfk1za is an example from NavigationSidebarPanel.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list