Changeset 247404 in webkit


Ignore:
Timestamp:
Jul 12, 2019 3:51:47 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Enable client certificate authentication unit test
https://bugs.webkit.org/show_bug.cgi?id=199735

Patch by Alex Christensen <achristensen@webkit.org> on 2019-07-12
Reviewed by Chris Dumez.

  • TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm:

(TEST):
I originally wrote this in https://bugs.webkit.org/show_bug.cgi?id=197800 but it was disabled because it crashed.
I found what was crashing. I was reading out of bounds on my vector of 2 strings :(

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r247402 r247404  
     12019-07-12  Alex Christensen  <achristensen@webkit.org>
     2
     3        Enable client certificate authentication unit test
     4        https://bugs.webkit.org/show_bug.cgi?id=199735
     5
     6        Reviewed by Chris Dumez.
     7
     8        * TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm:
     9        (TEST):
     10        I originally wrote this in https://bugs.webkit.org/show_bug.cgi?id=197800 but it was disabled because it crashed.
     11        I found what was crashing.  I was reading out of bounds on my vector of 2 strings :(
     12
    1132019-07-12  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Tools/TestWebKitAPI/Tests/WebKitCocoa/Challenge.mm

    r247270 r247404  
    146146
    147147#if HAVE(SEC_KEY_PROXY)
    148 TEST(Challenge, DISABLED_ClientCertificate)
     148TEST(Challenge, ClientCertificate)
    149149{
    150150    using namespace TestWebKitAPI;
     
    160160    EXPECT_EQ(methods.size(), 2ull);
    161161    EXPECT_TRUE([methods[0] isEqualToString:NSURLAuthenticationMethodServerTrust]);
    162     EXPECT_TRUE([methods[2] isEqualToString:NSURLAuthenticationMethodClientCertificate]);
     162    EXPECT_TRUE([methods[1] isEqualToString:NSURLAuthenticationMethodClientCertificate]);
    163163}
    164164#endif
Note: See TracChangeset for help on using the changeset viewer.