Title: [217641] trunk/Source/WebKit2
Revision
217641
Author
[email protected]
Date
2017-05-31 17:01:38 -0700 (Wed, 31 May 2017)

Log Message

[Cocoa] "administrativeArea" contact field maps to the wrong CNPostalAddress key when creating NSErrors
https://bugs.webkit.org/show_bug.cgi?id=172784
<rdar://problem/32414416>

Reviewed by Beth Dakin.

* UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toNSError): Used CNPostalAddressStateKey instead of CNPostalAddressCityKey.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (217640 => 217641)


--- trunk/Source/WebKit2/ChangeLog	2017-05-31 23:42:27 UTC (rev 217640)
+++ trunk/Source/WebKit2/ChangeLog	2017-06-01 00:01:38 UTC (rev 217641)
@@ -1,5 +1,16 @@
 2017-05-31  Andy Estes  <[email protected]>
 
+        [Cocoa] "administrativeArea" contact field maps to the wrong CNPostalAddress key when creating NSErrors
+        https://bugs.webkit.org/show_bug.cgi?id=172784
+        <rdar://problem/32414416>
+
+        Reviewed by Beth Dakin.
+
+        * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
+        (WebKit::toNSError): Used CNPostalAddressStateKey instead of CNPostalAddressCityKey.
+
+2017-05-31  Andy Estes  <[email protected]>
+
         Rename ENABLE_APPLE_PAY_DELEGATE to ENABLE_APPLE_PAY_SESSION_V3 and bump the supported version number
         https://bugs.webkit.org/show_bug.cgi?id=172366
 

Modified: trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm (217640 => 217641)


--- trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm	2017-05-31 23:42:27 UTC (rev 217640)
+++ trunk/Source/WebKit2/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm	2017-06-01 00:01:38 UTC (rev 217641)
@@ -629,7 +629,7 @@
 
         case WebCore::PaymentError::ContactField::AdministrativeArea:
             pkContactField = getPKContactFieldPostalAddress();
-            postalAddressKey = getCNPostalAddressCityKey();
+            postalAddressKey = getCNPostalAddressStateKey();
             break;
 
         case WebCore::PaymentError::ContactField::Country:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to