Title: [213955] branches/safari-603.1.30.0-branch/Source/WebCore
- Revision
- 213955
- Author
- matthew_han...@apple.com
- Date
- 2017-03-14 16:34:58 -0700 (Tue, 14 Mar 2017)
Log Message
Merge r213949. rdar://problem/31049771
Modified Paths
Diff
Modified: branches/safari-603.1.30.0-branch/Source/WebCore/ChangeLog (213954 => 213955)
--- branches/safari-603.1.30.0-branch/Source/WebCore/ChangeLog 2017-03-14 23:18:55 UTC (rev 213954)
+++ branches/safari-603.1.30.0-branch/Source/WebCore/ChangeLog 2017-03-14 23:34:58 UTC (rev 213955)
@@ -1,3 +1,20 @@
+2017-03-14 Matthew Hanson <matthew_han...@apple.com>
+
+ Merge r213949. rdar://problem/31049771
+
+ 2017-03-14 Andy Estes <aes...@apple.com>
+
+ REGRESSION (r209760): Apple Pay doesn't work on sites that specify empty contact fields
+ https://bugs.webkit.org/show_bug.cgi?id=169639
+ <rdar://problem/30957789>
+
+ Reviewed by Anders Carlsson.
+
+ Shipping and billing contact fields are allowed to be empty.
+
+ * Modules/applepay/ApplePaySession.cpp:
+ (WebCore::convertAndValidate):
+
2017-03-03 Matthew Hanson <matthew_han...@apple.com>
Merge r213253. rdar://problem/30773140
Modified: branches/safari-603.1.30.0-branch/Source/WebCore/Modules/applepay/ApplePaySession.cpp (213954 => 213955)
--- branches/safari-603.1.30.0-branch/Source/WebCore/Modules/applepay/ApplePaySession.cpp 2017-03-14 23:18:55 UTC (rev 213954)
+++ branches/safari-603.1.30.0-branch/Source/WebCore/Modules/applepay/ApplePaySession.cpp 2017-03-14 23:34:58 UTC (rev 213955)
@@ -252,9 +252,6 @@
static ExceptionOr<PaymentRequest::ContactFields> convertAndValidate(Vector<ApplePayPaymentRequest::ContactField>&& contactFields)
{
- if (contactFields.isEmpty())
- return Exception { TypeError, "At least one contact field must be provided." };
-
PaymentRequest::ContactFields result;
for (auto& contactField : contactFields) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes