Title: [203168] trunk/Source/WebCore
Revision
203168
Author
[email protected]
Date
2016-07-13 11:36:02 -0700 (Wed, 13 Jul 2016)

Log Message

"requiredShippingAddressFields" has been deprecated error thrown when using "requiredBillingAddressFields"
https://bugs.webkit.org/show_bug.cgi?id=159729
rdar://problem/27314974

Reviewed by Tim Horton.

Fix a paste-o.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (203167 => 203168)


--- trunk/Source/WebCore/ChangeLog	2016-07-13 17:49:01 UTC (rev 203167)
+++ trunk/Source/WebCore/ChangeLog	2016-07-13 18:36:02 UTC (rev 203168)
@@ -1,3 +1,16 @@
+2016-07-13  Anders Carlsson  <[email protected]>
+
+        "requiredShippingAddressFields" has been deprecated error thrown when using "requiredBillingAddressFields"
+        https://bugs.webkit.org/show_bug.cgi?id=159729
+        rdar://problem/27314974
+
+        Reviewed by Tim Horton.
+
+        Fix a paste-o.
+
+        * Modules/applepay/ApplePaySession.cpp:
+        (WebCore::createPaymentRequest):
+
 2016-07-13  Brent Fulgham  <[email protected]>
 
         [WK1][iOS] Crash when WebSocket attempts to dispatch a mixed content blocker event

Modified: trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp (203167 => 203168)


--- trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp	2016-07-13 17:49:01 UTC (rev 203167)
+++ trunk/Source/WebCore/Modules/applepay/ApplePaySession.cpp	2016-07-13 18:36:02 UTC (rev 203168)
@@ -530,7 +530,7 @@
         paymentRequest.setRequiredBillingContactFields(*requiredBillingContactFields);
     } else if (auto requiredBillingAddressFieldsArray = dictionary.get<ArrayValue>("requiredBillingAddressFields")) {
         if (PageConsoleClient* pageConsole = window.console())
-            pageConsole->addMessage(MessageSource::JS, MessageLevel::Warning, "\"requiredShippingAddressFields\" has been deprecated and will stop working shortly. Please switch to \"requiredShippingContactFields\" instead.");
+            pageConsole->addMessage(MessageSource::JS, MessageLevel::Warning, "\"requiredBillingAddressFields\" has been deprecated and will stop working shortly. Please switch to \"requiredBillingContactFields\" instead.");
 
         auto requiredBillingAddressFields = createContactFields(window, *requiredBillingAddressFieldsArray);
         if (!requiredBillingAddressFields)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to