Changeset 137631 in webkit


Ignore:
Timestamp:
Dec 13, 2012 11:46:13 AM (11 years ago)
Author:
ap@apple.com
Message:

ResourceLoader::didReceiveAuthenticationChallenge uses a wrong client
https://bugs.webkit.org/show_bug.cgi?id=104935
<rdar://problem/12870361>

Reviewed by Anders Carlsson.

  • loader/ResourceLoader.cpp: (WebCore::ResourceLoader::didReceiveAuthenticationChallenge): The handle is null when NetworkProcess is used. In any case, it should be correct to use the client carried within AuthenticationChallenge.
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r137630 r137631  
     12012-12-13  Alexey Proskuryakov  <ap@apple.com>
     2
     3        ResourceLoader::didReceiveAuthenticationChallenge uses a wrong client
     4        https://bugs.webkit.org/show_bug.cgi?id=104935
     5        <rdar://problem/12870361>
     6
     7        Reviewed by Anders Carlsson.
     8
     9        * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::didReceiveAuthenticationChallenge):
     10        The handle is null when NetworkProcess is used. In any case, it should be correct
     11        to use the client carried within AuthenticationChallenge.
     12
    1132012-12-13  Stephen White  <senorblanco@chromium.org>
    214
  • trunk/Source/WebCore/loader/ResourceLoader.cpp

    r137607 r137631  
    500500    // If we can't continue with credentials, we need to cancel the load altogether.
    501501#if PLATFORM(MAC) || USE(CFNETWORK) || USE(CURL) || PLATFORM(GTK) || PLATFORM(EFL)
    502     handle()->receivedRequestToContinueWithoutCredential(challenge);
    503     ASSERT(!handle()->hasAuthenticationChallenge());
     502    challenge.authenticationClient()->receivedRequestToContinueWithoutCredential(challenge);
     503    ASSERT(!handle() || !handle()->hasAuthenticationChallenge());
    504504#else
    505505    didFail(blockedError());
Note: See TracChangeset for help on using the changeset viewer.