Bug 142572

Summary: Web Inspector: Reload after Global Search results in empty Resources Sidebar.
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: commit-queue, graouts, inspector-bugzilla-changes, jonowells, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 142580    
Bug Blocks:    
Attachments:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-03-10 22:24:10 PDT
* SUMMARY
Reload after Global Search results in empty Resources Sidebar.

* STEPS TO REPRODUCE
1. Inspect webkit.org
2. Global Search "div" (Shift+Cmd+F)
3. Reload (Cmd+R)
  => Resources sidebar is empty

* NOTES
- Ideas:
  a. clear the search
  b. re-perform the search after page load
  c. keep the search term, but go back to the non-search Resource tree outline

I like (c). If the user wants to search again, they can, and their search term is saved.
Comment 1 Radar WebKit Bug Importer 2015-03-10 22:24:28 PDT
<rdar://problem/20117303>
Comment 2 Joseph Pecoraro 2015-03-10 22:45:43 PDT
Created attachment 248402 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2015-03-11 07:52:34 PDT
Comment on attachment 248402 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 248402

Committed r181388: <http://trac.webkit.org/changeset/181388>
Comment 4 WebKit Commit Bot 2015-03-11 07:52:39 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 WebKit Commit Bot 2015-03-11 08:52:41 PDT
Re-opened since this is blocked by bug 142580