Changeset 256569 in webkit


Ignore:
Timestamp:
Feb 13, 2020 3:53:37 PM (4 years ago)
Author:
Keith Rollin
Message:

Add missing call to completionHandler
https://bugs.webkit.org/show_bug.cgi?id=207720
<rdar://problem/59436915>

Reviewed by Chris Dumez.

Bug 179641 (r225702) updated
SubresourceLoader::willSendRequestInternal with a return call without
first calling the completionHandler. Address this by adding the call
to the completionHandler.

No new tests -- it's not possible to control execution into the
affected code path.

  • loader/SubresourceLoader.cpp:

(WebCore::SubresourceLoader::willSendRequestInternal):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r256564 r256569  
     12020-02-13  Keith Rollin  <krollin@apple.com>
     2
     3        Add missing call to completionHandler
     4        https://bugs.webkit.org/show_bug.cgi?id=207720
     5        <rdar://problem/59436915>
     6
     7        Reviewed by Chris Dumez.
     8
     9        Bug 179641 (r225702) updated
     10        SubresourceLoader::willSendRequestInternal with a return call without
     11        first calling the completionHandler. Address this by adding the call
     12        to the completionHandler.
     13
     14        No new tests -- it's not possible to control execution into the
     15        affected code path.
     16
     17        * loader/SubresourceLoader.cpp:
     18        (WebCore::SubresourceLoader::willSendRequestInternal):
     19
    1202020-02-13  Tim Horton  <timothy_horton@apple.com>
    221
  • trunk/Source/WebCore/loader/SubresourceLoader.cpp

    r253814 r256569  
    240240            if (reachedTerminalState()) {
    241241                RELEASE_LOG_IF_ALLOWED("willSendRequestinternal: reached terminal state (frame = %p, frameLoader = %p, resourceID = %lu)", frame(), frameLoader(), identifier());
    242                 return;
     242                return completionHandler(WTFMove(newRequest));
    243243            }
    244244
Note: See TracChangeset for help on using the changeset viewer.