[Webkit-unassigned] [Bug 188287] New: Web Inspector: [Backend] Page.searchInResources sometimes returns duplicate results for a resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 2 16:55:21 PDT 2018


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

            Bug ID: 188287
           Summary: Web Inspector: [Backend] Page.searchInResources
                    sometimes returns duplicate results for a resource
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: inspector-bugzilla-changes at group.apple.com

Web Inspector: [Backend] Page.searchInResources sometimes returns duplicate results for a resource

Steps to Reproduce:
1. Inspect <https://www.cio.com>
2. Search for "touchMoved:"
3. May require a reload + research to trigger this issue
  => Page.searchInResources result sometimes includes select2.js multiple times

Logs:

    [Log] request: {"id":795,"method":"Page.searchInResource","params":{"frameId":"0.4","url":"https://www.cio.com/www.idge.ans/js/select2-3.5.0/select2.js","query":"touchMoved:","caseSensitive":false,"isRegex":false}} (Main.js, line 941)
    [Log] request: {"id":796,"method":"Page.searchInResource","params":{"frameId":"0.4","url":"https://www.cio.com/www.idge.ans/js/select2-3.5.0/select2.js","query":"touchMoved:","caseSensitive":false,"isRegex":false,"requestId":"0.972"}} (Main.js, line 941)

Notes:

  • PageAgent::searchInResources searches cached resources
  • NetworkAgent::searchOtherRequests searches NetworkData data, such as XHRs and Worker scripts

See also:

  Frontend workaround for this:
  <https://webkit.org/b/188270> Web Inspector: Global search sometimes returns duplicate results for a resource

Apparently we are hitting the same resource multiple times. How can the backend avoid this duplicated work?

-- 
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/73a7d115/attachment.html>


More information about the webkit-unassigned mailing list