RESOLVED FIXED 165744
Web Inspector: content views are not restored on reload if its tree element is filtered out
https://bugs.webkit.org/show_bug.cgi?id=165744
Summary Web Inspector: content views are not restored on reload if its tree element i...
Blaze Burg
Reported 2016-12-11 16:05:56 PST
STEPS TO REPRODUCE: 1. Go to a website 2. Open Resources Tab 3. Select some resource tree element 4. Enter some jibberish into "Filter Resource List" at the bottom of the sidebar 5. Reload => Content view is restored as expected despite no tree element visible 6. Reload => Content view is not restored, shows the main resource My hunch is that we are unable to correctly serialize the current content view / represented object the second time because its corresponding tree element was never created. State restoration code is based on the selected tree element, so if nothing is selected then we won't restore anything either.
Attachments
Patch (6.77 KB, patch)
2017-05-03 16:46 PDT, Matt Baker
no flags
Blaze Burg
Comment 1 2016-12-11 16:07:16 PST
Matt Baker
Comment 2 2017-05-03 16:46:30 PDT
Devin Rousso
Comment 3 2017-05-23 17:09:05 PDT
Comment on attachment 308985 [details] Patch r=me
Matt Baker
Comment 4 2017-05-23 17:41:41 PDT
You can cq+ at the same time, if you don't have any feedback that needs to be addressed.
WebKit Commit Bot
Comment 5 2017-05-23 18:09:22 PDT
Comment on attachment 308985 [details] Patch Clearing flags on attachment: 308985 Committed r217317: <http://trac.webkit.org/changeset/217317>
WebKit Commit Bot
Comment 6 2017-05-23 18:09:24 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.