Bug 308310
| Summary: | Web Inspector: Network: Request / Response menu ignores user’s previous setting | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Razvan Caliman <rcaliman> |
| Component: | Web Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Razvan Caliman
rdar://170467404
Razvan Caliman
rdar://108231795
Razvan Caliman
Pull request: https://github.com/WebKit/WebKit/pull/59096
EWS
Committed 308142@main (f01b6d195b0b): <https://commits.webkit.org/308142@main>
Reviewed commits have been landed. Closing PR #59096 and removing active labels.