Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 180d195db748d57ddb8af4b3f1686dc17ce07a5d
      
https://github.com/WebKit/WebKit/commit/180d195db748d57ddb8af4b3f1686dc17ce07a5d
  Author: Ben Nham <[email protected]>
  Date:   2025-04-10 (Thu, 10 Apr 2025)

  Changed paths:
    M Source/WebCore/platform/network/cf/DNSResolveQueueCFNet.cpp

  Log Message:
  -----------
  Attribute prefetched DNS requests to host app
https://bugs.webkit.org/show_bug.cgi?id=291333
rdar://146158222

Reviewed by Alex Christensen.

In 290327@main we enabled `<link rel="dns-prefetch">` on iOS. This caused 
regressions on some power
benchmarks that measure how much networking is attributed to each process, 
because we don't
currently attribute prefetched DNS requests to the host app. This adds the 
appropriate attribution
so that those requests are attributed to the app rather than to NetworkProcess.

* Source/WebCore/platform/network/cf/DNSResolveQueueCFNet.cpp:
(WebCore::DNSResolveQueueCFNet::performDNSLookup):

Canonical link: https://commits.webkit.org/293525@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to