[webkit-changes] [WebKit/WebKit] c04223: Fix early hints preconnect on some OS versions

bnham noreply at github.com
Fri Apr 14 11:52:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c04223d4378362ab92352237cd7df482627d381a
      https://github.com/WebKit/WebKit/commit/c04223d4378362ab92352237cd7df482627d381a
  Author: Ben Nham <nham at apple.com>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

  Log Message:
  -----------
  Fix early hints preconnect on some OS versions
https://bugs.webkit.org/show_bug.cgi?id=255406
rdar://107879504

Reviewed by Alex Christensen.

Early hints preconnect (261079 at main) does not work with certain macOS versions since different
versions utilize different delegate methods to communicate the 103 Early Hints response. Fix this by
implementing the appropriate methods.

* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(-[WKNetworkSessionDelegate URLSession:task:_didReceiveInformationalResponse:]):

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




More information about the webkit-changes mailing list