Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3170735ecff6976d07ce447c8d2300dd1b9607e1
https://github.com/WebKit/WebKit/commit/3170735ecff6976d07ce447c8d2300dd1b9607e1
Author: Brent Fulgham <[email protected]>
Date: 2026-05-06 (Wed, 06 May 2026)
Changed paths:
M LayoutTests/http/tests/inspector/network/copy-as-fetch.html
Log Message:
-----------
http/tests/inspector/network/copy-as-fetch.html cannot be run repeatedly
https://bugs.webkit.org/show_bug.cgi?id=313831
rdar://176037138
Reviewed by Qianlang Chen.
The copy-as-fetch inspector test fails when run multiple times in succession
because
WebKit's memory cache serves responses from the first run. When a cached
response is
used, the inspector doesn't capture full request details (headers, integrity,
referrer),
causing generateFetchCode to produce incomplete output.
This change adds cache: "no-store" to the four fetch() calls in the test so the
browser
bypasses caches entirely. This ensures the inspector always sees fresh network
requests
with complete details, making the test repeatable. The test is exercising
generateFetchCode
serialization, not caching behavior.
It also removes the Cache-Control and Pragma headers which are not relevant to
the
feature being tested, and confound attempts to run this test in multiple
iterations.
* LayoutTests/http/tests/inspector/network/copy-as-fetch.html:
Canonical link: https://commits.webkit.org/312754@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications