Bug 308310

Summary: Web Inspector: Network: Request / Response menu ignores user’s previous setting
Product: WebKit Reporter: Razvan Caliman <rcaliman>
Component: Web InspectorAssignee: Razvan Caliman <rcaliman>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 308642    

Razvan Caliman
Reported 2026-02-20 08:43:41 PST
There is logic in `WI.ResourceClusterContentView` to remember the last used content view type per-resource. But if it's a custom content view that hasn't yet loaded for that resource, the "Request" content view is used as a fallback. And due to a timing bug, the custom content views are always loaded after the fallback is used. We've received multiple requests from users over time to adopt a _per-resource type_ memoization of the last used content view. For example, for SVG files to remember and use the "Response (DOM Tree)" content view instead of the image preview: https://bugs.webkit.org/show_bug.cgi?id=307330#c2
Attachments
Razvan Caliman
Comment 1 2026-02-20 08:44:00 PST
Razvan Caliman
Comment 2 2026-02-20 08:44:18 PST
Razvan Caliman
Comment 3 2026-02-20 09:00:14 PST
EWS
Comment 4 2026-02-24 11:07:53 PST
Committed 308142@main (f01b6d195b0b): <https://commits.webkit.org/308142@main> Reviewed commits have been landed. Closing PR #59096 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.