Bug 274801
| Summary: | Intelligent Tracking Prevention (ITP) rules being applied to service worker traffic | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | singhsa |
| Component: | Service Workers | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | achristensen, cdumez, m_finkel, webkit-bug-importer, wenson_hsieh, wilander, youennf |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | macOS 14 | ||
singhsa
We ran into an issue in Safari 17 where Intelligent Tracking Prevention (ITP) rules were being applied to service worker traffic, which resulted in blocked resources and a significant drop in Google Analytics traffic.
We use Akamai script manager to optimize the third-party scripts on our website. Akamai script manager uses service workers to load third-party scripts, including the Google Analytics script. After Safari 17 was released, we discovered that the script was being blocked by Safari. We then found this article, which described a similar issue: https://www.kedos.co.uk/p/news/tech-safari-17-anomaly-service-worker-and-itp-conflict.
We tested our site with service workers enabled and disabled, which helped us determine the root cause of the problem.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Matthew Finkel
Thanks for reporting this, we'll investigate.
Radar WebKit Bug Importer
<rdar://problem/128956101>