Bug 260001 - Safari Technology Preview won't remove service worker website data
Summary: Safari Technology Preview won't remove service worker website data
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) macOS 13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-09 17:34 PDT by Jeff Johnson
Modified: 2023-08-10 14:38 PDT (History)
2 users (show)

See Also:


Attachments
Screen recording of bug (7.51 MB, video/quicktime)
2023-08-09 17:34 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-08-09 17:34:10 PDT
Created attachment 467234 [details]
Screen recording of bug

Steps to reproduce:
1) Open Safari Technology Preview
2) Open Settings window, Privacy pane
3) Manage Website Data...
4) Remove twitter.com cache
5) Quit Safari Technology Preview
6) Repeat steps 1 - 3

Expected results: twitter.com cache is gone

Actual results: twitter.com cache returns

See attached screen recording.

I've determined that the issue is ServiceWorkers inside the folder ~/Library/Containers/com.apple.SafariTechnologyPreview/Data/Library/WebKit/WebsiteData/Default/

If I delete the folder for origin twitter.com, then the twitter.com cache is gone. If I restore the folder, then the twitter.com cache returns.

I'm testing with Safari Technology Preview 176 (Safari 17.0, WebKit 18617.1.3.2), but the issue may have started earlier, perhaps with version 175.
Comment 1 Radar WebKit Bug Importer 2023-08-10 14:38:58 PDT
<rdar://problem/113714766>