[Apple Pay] Update the enum traits for PaymentError::ContactField
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Nov 2017 00:16:10 +0000 (00:16 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 2 Nov 2017 00:16:10 +0000 (00:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=179145
<rdar://problem/35303108>

Reviewed by Tim Horton.

Account for the values added to PaymentError::ContactField in r220718 and r223580.

* Modules/applepay/ApplePaySessionPaymentRequest.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224308 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/ApplePaySessionPaymentRequest.h

index 59e56d7..ac490f1 100644 (file)
@@ -1,3 +1,15 @@
+2017-11-01  Andy Estes  <aestes@apple.com>
+
+        [Apple Pay] Update the enum traits for PaymentError::ContactField
+        https://bugs.webkit.org/show_bug.cgi?id=179145
+        <rdar://problem/35303108>
+
+        Reviewed by Tim Horton.
+
+        Account for the values added to PaymentError::ContactField in r220718 and r223580.
+
+        * Modules/applepay/ApplePaySessionPaymentRequest.h:
+
 2017-11-01  Daniel Bates  <dabates@apple.com>
 
         Remove unused Element::alwaysCreateUserAgentShadowRoot()
index 7171f5e..1a62c12 100644 (file)
@@ -223,10 +223,13 @@ template<> struct EnumTraits<WebCore::PaymentError::ContactField> {
         WebCore::PaymentError::ContactField::PhoneNumber,
         WebCore::PaymentError::ContactField::EmailAddress,
         WebCore::PaymentError::ContactField::Name,
+        WebCore::PaymentError::ContactField::PhoneticName,
         WebCore::PaymentError::ContactField::PostalAddress,
         WebCore::PaymentError::ContactField::AddressLines,
+        WebCore::PaymentError::ContactField::SubLocality,
         WebCore::PaymentError::ContactField::Locality,
         WebCore::PaymentError::ContactField::PostalCode,
+        WebCore::PaymentError::ContactField::SubAdministrativeArea,
         WebCore::PaymentError::ContactField::AdministrativeArea,
         WebCore::PaymentError::ContactField::Country,
         WebCore::PaymentError::ContactField::CountryCode