[Webkit-unassigned] [Bug 188270] Web Inspector: Global search sometimes returns duplicate results for a resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 16:46:11 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188270

--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org> ---
(In reply to Joseph Pecoraro from comment #3)
> Page.searchInResources does two searches:
> 
>   (1) PageAgent search cached resources in frame tree
>   (2) NetworkAgent searchOtherRequests to search non-cached resources
> 
> So it would seem (2) may be searching in a resource that has a
> CachedResource that could otherwise be skipped.

Hmm, unfortunately that suggested change doesn't work for some Worker/XHR resources, which this test catches:
LayoutTests/inspector/page/searchInResources.html

Worst case the frontend can avoid duplicates. That might be an easy fix for now, I'm not sure off-hand what the backend can do to address this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180802/d8e67f95/attachment.html>


More information about the webkit-unassigned mailing list