Changeset 255056 in webkit


Ignore:
Timestamp:
Jan 23, 2020 10:37:35 PM (4 years ago)
Author:
jiewen_tan@apple.com
Message:

Unreviewed, a follow up on r254894

  • UIProcess/WebAuthentication/Mock/MockLocalConnection.mm:

(WebKit::MockLocalConnection::getAttestation const):
Includes the status code in the message.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r255054 r255056  
     12020-01-23  Jiewen Tan  <jiewen_tan@apple.com>
     2
     3        Unreviewed, a follow up on r254894
     4
     5        * UIProcess/WebAuthentication/Mock/MockLocalConnection.mm:
     6        (WebKit::MockLocalConnection::getAttestation const):
     7        Includes the status code in the message.
     8
    192020-01-23  Wenson Hsieh  <wenson_hsieh@apple.com>
    210
  • trunk/Source/WebKit/UIProcess/WebAuthentication/Mock/MockLocalConnection.mm

    r254894 r255056  
    104104        OSStatus status = SecItemAdd((__bridge CFDictionaryRef)addQuery, NULL);
    105105        if (status) {
    106             callback(NULL, NULL, [NSError errorWithDomain:@"WebAuthentication" code:status userInfo:@{ NSLocalizedDescriptionKey: @"Couldn't add the key to the keychain." }]);
     106            callback(NULL, NULL, [NSError errorWithDomain:@"WebAuthentication" code:status userInfo:@{ NSLocalizedDescriptionKey: adoptNS([NSString stringWithFormat:@"Couldn't add the key to the keychain. %d", status]).get() }]);
    107107            return;
    108108        }
Note: See TracChangeset for help on using the changeset viewer.