Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 348fcf25c7cc23f440152169cbc4de865e9fb0f4
https://github.com/WebKit/WebKit/commit/348fcf25c7cc23f440152169cbc4de865e9fb0f4
Author: Devin Rousso <[email protected]>
Date: 2026-08-12 (Wed, 12 Aug 2026)
Changed paths:
M Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp
M Source/WebCore/inspector/agents/InspectorNetworkAgent.h
M Source/WebCore/inspector/agents/InspectorPageAgent.cpp
Log Message:
-----------
Web Inspector: [Backend] Page.searchInResources sometimes returns duplicate
results for a resource
https://bugs.webkit.org/show_bug.cgi?id=188287
<rdar://problem/42879586>
Reviewed by Qianlang Chen.
`searchInResources` reports a result for every cached resource
Then, `searchOtherRequests` reports one for every network tracked resource.
As a result, a resource present in both the memory cache and the network store
is returned twice (once by URL and once with a request ID).
* Source/WebCore/inspector/agents/InspectorNetworkAgent.h:
* Source/WebCore/inspector/agents/InspectorNetworkAgent.cpp:
(WebCore::InspectorNetworkAgent::searchOtherRequests):
* Source/WebCore/inspector/agents/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::searchInResources):
Pass the set of URLs already reported by the cached resource search into
`searchOtherRequests`.
Canonical link: https://commits.webkit.org/319061@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications