Changeset 255466 in webkit


Ignore:
Timestamp:
Jan 30, 2020, 3:59:33 PM (6 years ago)
Author:
jiewen_tan@apple.com
Message:

Unreviewed, another speculative test fix after r255041

Source/WebKit:

  • UIProcess/WebAuthentication/Mock/MockLocalConnection.mm:

(WebKit::MockLocalConnection::getAttestation const):
Adds kSecAttrAccessible: kSecAttrAccessibleAfterFirstUnlock to secItem to bypass
potential error due to screen locks.

Tools:

  • WebKitTestRunner/cocoa/TestControllerCocoa.mm:

(WTR::TestController::addTestKeyToKeychain):
Adds kSecAttrAccessible: kSecAttrAccessibleAfterFirstUnlock to secItem to bypass
potential error due to screen locks.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r255461 r255466  
     12020-01-30  Jiewen Tan  <jiewen_tan@apple.com>
     2
     3        Unreviewed, another speculative test fix after r255041
     4
     5        * UIProcess/WebAuthentication/Mock/MockLocalConnection.mm:
     6        (WebKit::MockLocalConnection::getAttestation const):
     7        Adds kSecAttrAccessible: kSecAttrAccessibleAfterFirstUnlock to secItem to bypass
     8        potential error due to screen locks.
     9
    1102020-01-30  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.mm

    r255188 r255466  
    103103            (id)kSecClass: (id)kSecClassKey,
    104104            (id)kSecAttrLabel: (id)label,
     105            (id)kSecAttrAccessible: (id)kSecAttrAccessibleAfterFirstUnlock,
    105106#if HAVE(DATA_PROTECTION_KEYCHAIN)
    106107            (id)kSecUseDataProtectionKeychain: @YES
  • trunk/Tools/ChangeLog

    r255461 r255466  
     12020-01-30  Jiewen Tan  <jiewen_tan@apple.com>
     2
     3        Unreviewed, another speculative test fix after r255041
     4
     5        * WebKitTestRunner/cocoa/TestControllerCocoa.mm:
     6        (WTR::TestController::addTestKeyToKeychain):
     7        Adds kSecAttrAccessible: kSecAttrAccessibleAfterFirstUnlock to secItem to bypass
     8        potential error due to screen locks.
     9
    1102020-01-30  Alex Christensen  <achristensen@webkit.org>
    211
  • trunk/Tools/WebKitTestRunner/cocoa/TestControllerCocoa.mm

    r255271 r255466  
    357357        (id)kSecAttrLabel: attrLabel,
    358358        (id)kSecAttrApplicationTag: adoptNS([[NSData alloc] initWithBase64EncodedString:applicationTagBase64 options:NSDataBase64DecodingIgnoreUnknownCharacters]).get(),
     359        (id)kSecAttrAccessible: (id)kSecAttrAccessibleAfterFirstUnlock,
    359360#if HAVE(DATA_PROTECTION_KEYCHAIN)
    360361        (id)kSecUseDataProtectionKeychain: @YES
Note: See TracChangeset for help on using the changeset viewer.