Bug 262069

Summary: Web Inspector: Network Tab - Show meta http-equiv="refresh" indicator
Product: WebKit Reporter: Jeff Johnson <opendarwin>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: All   
Attachments:
Description Flags
index.html preview in Network tab
none
redirected.html headers in Network tab
none
index.html with meta refresh
none
redirected.html none

Description Jeff Johnson 2023-09-25 14:11:42 PDT
Created attachment 467850 [details]
index.html preview in Network tab

It would be helpful to provide some kind of indicator in the Network tab that a page was loaded via a meta http-equiv="refresh" element. Otherwise, it's difficult to know.

Steps to reproduce:
1) Download attached files "index.html" and "redirected.html"
2) Open Terminal and run the command /usr/bin/python3 -m http.server'
3) Open the Network tab in the Safari web inspector
4) Enable "Preserve Log"
5) Open http://localhost:8000 in Safari

As can be seen in the "index preview.png" screenshot, the page with the meta http-equiv="refresh" element is no longer accessible after the redirect, so you can't tell how the redirected page was loaded.
Comment 1 Jeff Johnson 2023-09-25 14:12:06 PDT
Created attachment 467851 [details]
redirected.html headers in Network tab
Comment 2 Jeff Johnson 2023-09-25 14:12:43 PDT
Created attachment 467852 [details]
index.html with meta refresh
Comment 3 Jeff Johnson 2023-09-25 14:13:00 PDT
Created attachment 467853 [details]
redirected.html
Comment 4 Jeff Johnson 2023-09-25 14:20:38 PDT
On second thought, maybe the issue is that the original document no longer has a preview after the redirect?

Or maybe those are both issues worth addressing.
Comment 5 Radar WebKit Bug Importer 2023-10-02 14:12:14 PDT
<rdar://problem/116365961>