Changeset 171599 in webkit


Ignore:
Timestamp:
Jul 25, 2014, 9:39:59 AM (11 years ago)
Author:
mitz@apple.com
Message:

[Cocoa] WebProtectionSpace::receivesCredentialSecurely incorrectly returns false in some cases
https://bugs.webkit.org/show_bug.cgi?id=135241

Reviewed by Alexey Proskuryakov.

  • WebCore.exp.in: Export ProtectionSpace::receivesCredentialSecurely.
  • platform/network/cocoa/ProtectionSpaceCocoa.h: Declare override of receivesCredentialSecurely.
  • platform/network/cocoa/ProtectionSpaceCocoa.mm:

(WebCore::ProtectionSpace::receivesCredentialSecurely): Use -[NSURLProtectionSpace receivesCredentialSecurely].

Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r171593 r171599  
     12014-07-25  Dan Bernstein  <mitz@apple.com>
     2
     3        [Cocoa] WebProtectionSpace::receivesCredentialSecurely incorrectly returns false in some cases
     4        https://bugs.webkit.org/show_bug.cgi?id=135241
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        * WebCore.exp.in: Export ProtectionSpace::receivesCredentialSecurely.
     9
     10        * platform/network/cocoa/ProtectionSpaceCocoa.h: Declare override of receivesCredentialSecurely.
     11        * platform/network/cocoa/ProtectionSpaceCocoa.mm:
     12        (WebCore::ProtectionSpace::receivesCredentialSecurely): Use -[NSURLProtectionSpace receivesCredentialSecurely].
     13
    1142014-07-25  Zalan Bujtas  <zalan@apple.com>
    215
  • trunk/Source/WebCore/WebCore.exp.in

    r171574 r171599  
    17431743__ZNK7WebCore15GraphicsLayerCA49platformCALayerShouldTemporarilyRetainTileCohortsEPNS_15PlatformCALayerE
    17441744__ZNK7WebCore15ProgressTracker17estimatedProgressEv
     1745__ZNK7WebCore15ProtectionSpace26receivesCredentialSecurelyEv
    17451746__ZNK7WebCore15ProtectionSpace7nsSpaceEv
    17461747__ZNK7WebCore15ResourceRequest12cfURLRequestENS_20HTTPBodyUpdatePolicyE
     
    18041805__ZNK7WebCore19ProtectionSpaceBase10serverTypeEv
    18051806__ZNK7WebCore19ProtectionSpaceBase20authenticationSchemeEv
    1806 __ZNK7WebCore19ProtectionSpaceBase26receivesCredentialSecurelyEv
    18071807__ZNK7WebCore19ProtectionSpaceBase4hostEv
    18081808__ZNK7WebCore19ProtectionSpaceBase4portEv
  • trunk/Source/WebCore/platform/network/cocoa/ProtectionSpaceCocoa.h

    r171540 r171599  
    5959#endif
    6060
     61    bool receivesCredentialSecurely() const;
     62
    6163#if USE(CFNETWORK)
    6264    CFURLProtectionSpaceRef cfSpace() const;
  • trunk/Source/WebCore/platform/network/cocoa/ProtectionSpaceCocoa.mm

    r171540 r171599  
    196196}
    197197
     198bool ProtectionSpace::receivesCredentialSecurely() const
     199{
     200    return nsSpace().receivesCredentialSecurely;
     201}
     202
    198203#if PLATFORM(IOS) || __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
    199204bool ProtectionSpace::encodingRequiresPlatformData(NSURLProtectionSpace *space)
Note: See TracChangeset for help on using the changeset viewer.