Bug 188801

Summary: Web Inspector: `console.inspect(sessionStorage)` first time does not show Session Storage content view if Storage tab was previously unvisited
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Joseph Pecoraro 2018-08-21 11:52:06 PDT
`console.inspect(sessionStorage)` first time does not show Session Storage content view if Storage tab was previously unvisited

Steps to Reproduce:
1. Inspect this page
2. Show Elements Tab (having not shown Storage Tab)
3. js> inspect(sessionStorage)
  => Expected Storage Tab to be shown with the Session Storage selected

Regression:
Probably a long ago one. Maybe lazy tab construction?
Comment 1 Devin Rousso 2018-08-23 11:00:25 PDT
Created attachment 347937 [details]
Patch
Comment 2 Matt Baker 2018-08-23 11:22:48 PDT
Comment on attachment 347937 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2018-08-23 13:20:23 PDT
Comment on attachment 347937 [details]
Patch

Clearing flags on attachment: 347937

Committed r235242: <https://trac.webkit.org/changeset/235242>
Comment 4 WebKit Commit Bot 2018-08-23 13:20:24 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-08-23 13:21:48 PDT
<rdar://problem/43655286>