Bug 254948 - Web Inspector: Network tab cleared items reappear with Preserve Log enabled
Summary: Web Inspector: Network tab cleared items reappear with Preserve Log enabled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari 16
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-03 15:34 PDT by Jeff Johnson
Modified: 2023-04-04 18:11 PDT (History)
2 users (show)

See Also:


Attachments
Screenshot 1 (904.40 KB, image/jpeg)
2023-04-03 15:34 PDT, Jeff Johnson
no flags Details
Screenshot 2 (639.96 KB, image/jpeg)
2023-04-03 15:35 PDT, Jeff Johnson
no flags Details
Screenshot 3 (944.38 KB, image/jpeg)
2023-04-03 15:35 PDT, Jeff Johnson
no flags Details
Screenshot 4 (909.57 KB, image/jpeg)
2023-04-03 15:35 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-04-03 15:34:44 PDT
Created attachment 465751 [details]
Screenshot 1

Steps to reproduce:
1) Open the Safari web inspector to the Network tab
2) Enable Preserve Log
3) Open https://www.apple.com
4) Press the Clear Network Items button
5) Open https://webkit.org in the same Safari tab

Expected results: The Network tab contains only the webkit.org items

Actual results: The Network tab contains both the new webkit.org items and the old apple.com items

I've tested with Safari 16.4 and Safari Technology Preview 166 on macOS 12.6.4.

This bug does not occur with the Console tab, where Preserve Log and Clear behave as expected.
Comment 1 Jeff Johnson 2023-04-03 15:35:07 PDT
Created attachment 465752 [details]
Screenshot 2
Comment 2 Jeff Johnson 2023-04-03 15:35:24 PDT
Created attachment 465753 [details]
Screenshot 3
Comment 3 Jeff Johnson 2023-04-03 15:35:39 PDT
Created attachment 465754 [details]
Screenshot 4
Comment 4 Devin Rousso 2023-04-04 01:01:23 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12369
Comment 5 EWS 2023-04-04 18:10:50 PDT
Committed 262603@main (7ef99649a919): <https://commits.webkit.org/262603@main>

Reviewed commits have been landed. Closing PR #12369 and removing active labels.
Comment 6 Radar WebKit Bug Importer 2023-04-04 18:11:15 PDT
<rdar://problem/107639797>