Title: [213958] branches/safari-603.1.30.1-branch/Source/WebCore
- Revision
- 213958
- Author
- matthew_han...@apple.com
- Date
- 2017-03-14 16:41:51 -0700 (Tue, 14 Mar 2017)
Log Message
Merge r213949. rdar://problem/31049877
Modified Paths
Diff
Modified: branches/safari-603.1.30.1-branch/Source/WebCore/ChangeLog (213957 => 213958)
--- branches/safari-603.1.30.1-branch/Source/WebCore/ChangeLog 2017-03-14 23:41:47 UTC (rev 213957)
+++ branches/safari-603.1.30.1-branch/Source/WebCore/ChangeLog 2017-03-14 23:41:51 UTC (rev 213958)
@@ -1,3 +1,20 @@
+2017-03-14 Matthew Hanson <matthew_han...@apple.com>
+
+ Merge r213949. rdar://problem/31049877
+
+ 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 r213385. rdar://problem/30838984
Modified: branches/safari-603.1.30.1-branch/Source/WebCore/Modules/applepay/ApplePaySession.cpp (213957 => 213958)
--- branches/safari-603.1.30.1-branch/Source/WebCore/Modules/applepay/ApplePaySession.cpp 2017-03-14 23:41:47 UTC (rev 213957)
+++ branches/safari-603.1.30.1-branch/Source/WebCore/Modules/applepay/ApplePaySession.cpp 2017-03-14 23:41:51 UTC (rev 213958)
@@ -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