Bug 262069 - Web Inspector: Network Tab - Show meta http-equiv="refresh" indicator
Summary: Web Inspector: Network Tab - Show meta http-equiv="refresh" indicator
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-25 14:11 PDT by Jeff Johnson
Modified: 2023-10-02 14:12 PDT (History)
2 users (show)

See Also:


Attachments
index.html preview in Network tab (99.42 KB, image/png)
2023-09-25 14:11 PDT, Jeff Johnson
no flags Details
redirected.html headers in Network tab (207.95 KB, image/png)
2023-09-25 14:12 PDT, Jeff Johnson
no flags Details
index.html with meta refresh (162 bytes, text/html)
2023-09-25 14:12 PDT, Jeff Johnson
no flags Details
redirected.html (105 bytes, text/html)
2023-09-25 14:13 PDT, Jeff Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>