Bug 308680
| Summary: | Web Inspector: Previewing resources in Web Inspector displays "An error occurred trying to load the resource" when Preserve Log is enabled | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Roy Reapor <rreapor> |
| Component: | Web Inspector | Assignee: | Roy Reapor <rreapor> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 26 | ||
Roy Reapor
Previewing resources in Web Inspector displays "An error occurred trying to load the resource" when Preserve Log is enabled.
Setup:
1. Open Safari.
2. Show Web Inspector in the Network tab enable "Preserve Log" by clicking on the filter icon and clicking Preserve Log
3. Quit Safari
Steps to reproduce:
1. Open Safari
2. Navigate to webkit.org
3. Open Web Inspector. Select Network tab. Filter by Document.
4. Do not click on the webkit.org document
5. Navigate to webkit.org/blog
6. In Web Inspector click on the Document `webkit.org` .
7. The Preview should not say `An error occurred trying to load the resource`
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Roy Reapor
Patch incoming. The Web Inspector UI does not synchronize "Perserve Log" to the Web Inspector backend. The resources are actually deleted in the back end when the user navigates away. You can workaround this issue by clicking on resources on the UI before navigating away. This is hard to do when you have HTML or HTTP redirects.
Radar WebKit Bug Importer
<rdar://problem/171216835>
Roy Reapor
Pull request: https://github.com/WebKit/WebKit/pull/59463
EWS
Committed 308559@main (4ec1778cf0a7): <https://commits.webkit.org/308559@main>
Reviewed commits have been landed. Closing PR #59463 and removing active labels.