⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 282794 in webkit


Ignore:
Timestamp:
Sep 20, 2021, 5:14:38 PM (5 years ago)
Author:
Chris Dumez
Message:

Avoid doing a second server pre-connect after a process-swap
https://bugs.webkit.org/show_bug.cgi?id=230517

Reviewed by Geoffrey Garen.

Avoid doing a second server pre-connect after a process-swap. It is unnecessary as we've already
asked the network process to do so before process-swapping.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::loadRequestWithNavigationShared):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r282792 r282794  
     12021-09-20  Chris Dumez  <cdumez@apple.com>
     2
     3        Avoid doing a second server pre-connect after a process-swap
     4        https://bugs.webkit.org/show_bug.cgi?id=230517
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        Avoid doing a second server pre-connect after a process-swap. It is unnecessary as we've already
     9        asked the network process to do so before process-swapping.
     10
     11        * UIProcess/WebPageProxy.cpp:
     12        (WebKit::WebPageProxy::loadRequestWithNavigationShared):
     13
    1142021-09-20  Megan Gardner  <megan_gardner@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/WebPageProxy.cpp

    r282788 r282794  
    14101410    addPlatformLoadParameters(process, loadParameters);
    14111411
    1412     preconnectTo(url);
     1412    if (shouldTreatAsContinuingLoad == ShouldTreatAsContinuingLoad::No)
     1413        preconnectTo(url);
    14131414
    14141415    navigation.setIsLoadedWithNavigationShared(true);
Note: See TracChangeset for help on using the changeset viewer.