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

Changeset 202967 in webkit


Ignore:
Timestamp:
Jul 7, 2016, 11:28:58 PM (10 years ago)
Author:
pvollan@apple.com
Message:

[Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
https://bugs.webkit.org/show_bug.cgi?id=159510

Reviewed by Brent Fulgham.

Source/WebCore:

On Windows, validate certificate chain even when any https certificate is allowed.

  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::ResourceHandle::createCFURLConnection):

Tools:

Allow any https certificate when running tests.

  • DumpRenderTree/win/DumpRenderTree.cpp:

(runTest):

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202962 r202967  
     12016-07-07  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
     4        https://bugs.webkit.org/show_bug.cgi?id=159510
     5
     6        Reviewed by Brent Fulgham.
     7
     8        On Windows, validate certificate chain even when any https certificate is allowed.
     9
     10        * platform/network/cf/ResourceHandleCFNet.cpp:
     11        (WebCore::ResourceHandle::createCFURLConnection):
     12
    1132016-07-07  Frederic Wang  <fwang@igalia.com>
    214
  • trunk/Source/WebCore/platform/network/cf/ResourceHandleCFNet.cpp

    r201708 r202967  
    174174        CFDictionaryAddValue(sslProps.get(), kCFStreamSSLAllowsExpiredRoots, kCFBooleanTrue);
    175175        CFDictionaryAddValue(sslProps.get(), kCFStreamSSLAllowsExpiredCertificates, kCFBooleanTrue);
     176#if !PLATFORM(WIN) // Remove platform #ifdef when <rdar://problem/26768077> is fixed.
    176177        CFDictionaryAddValue(sslProps.get(), kCFStreamSSLValidatesCertificateChain, kCFBooleanFalse);
     178#endif
    177179    }
    178180
  • trunk/Tools/ChangeLog

    r202957 r202967  
     12016-07-07  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] The test http/tests/security/contentSecurityPolicy/upgrade-insecure-requests/basic-upgrade.https.html is failing.
     4        https://bugs.webkit.org/show_bug.cgi?id=159510
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Allow any https certificate when running tests.
     9
     10        * DumpRenderTree/win/DumpRenderTree.cpp:
     11        (runTest):
     12
    1132016-07-07  Beth Dakin  <bdakin@apple.com>
    214
  • trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp

    r202728 r202967  
    11391139    request->initWithURL(urlBStr, WebURLRequestUseProtocolCachePolicy, 60);
    11401140    request->setHTTPMethod(methodBStr);
     1141    request->setAllowsAnyHTTPSCertificate();
    11411142    frame->loadRequest(request.get());
    11421143
Note: See TracChangeset for help on using the changeset viewer.