Title: [214430] trunk/Source/WebCore
Revision
214430
Author
[email protected]
Date
2017-03-27 14:32:17 -0700 (Mon, 27 Mar 2017)

Log Message

Propagate shipping contact update errors
https://bugs.webkit.org/show_bug.cgi?id=170141
rdar://problem/31276576

Reviewed by Tim Horton.

* Modules/applepay/ApplePaySession.cpp:
(WebCore::convertAndValidate):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (214429 => 214430)


--- trunk/Source/WebCore/ChangeLog	2017-03-27 21:20:30 UTC (rev 214429)
+++ trunk/Source/WebCore/ChangeLog	2017-03-27 21:32:17 UTC (rev 214430)
@@ -1,3 +1,14 @@
+2017-03-27  Anders Carlsson  <[email protected]>
+
+        Propagate shipping contact update errors
+        https://bugs.webkit.org/show_bug.cgi?id=170141
+        rdar://problem/31276576
+
+        Reviewed by Tim Horton.
+
+        * Modules/applepay/ApplePaySession.cpp:
+        (WebCore::convertAndValidate):
+
 2017-03-27  Ryan Haddad  <[email protected]>
 
         Unreviewed, rolling out r214411.

Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp (214429 => 214430)


--- trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp	2017-03-27 21:20:30 UTC (rev 214429)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp	2017-03-27 21:32:17 UTC (rev 214430)
@@ -476,6 +476,7 @@
     if (!authorizationStatus)
         return Exception { INVALID_ACCESS_ERR };
     convertedUpdate.status = *authorizationStatus;
+    convertedUpdate.errors = convert(update.errors);
 
     auto convertedNewShippingMethods = convertAndValidate(WTFMove(update.newShippingMethods));
     if (convertedNewShippingMethods.hasException())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to