Changeset 220254 in webkit
- Timestamp:
- Aug 3, 2017 11:38:20 PM (7 years ago)
- Location:
- branches/safari-604.1-branch
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-604.1-branch/LayoutTests/ChangeLog
r220171 r220254 1 2017-08-03 Jason Marcell <jmarcell@apple.com> 2 3 Cherry-pick r219896. rdar://problem/33711000 4 5 2017-07-25 Andy Estes <aestes@apple.com> 6 7 [Apple Pay] Add "carteBancaire" as a supported payment network 8 https://bugs.webkit.org/show_bug.cgi?id=174841 9 <rdar://problem/31935596> 10 11 Reviewed by Alex Christensen. 12 13 * http/tests/ssl/applepay/ApplePaySession-expected.txt: 14 * http/tests/ssl/applepay/ApplePaySession.html: 15 * http/tests/ssl/applepay/ApplePaySessionV3.html: 16 1 17 2017-08-02 Jason Marcell <jmarcell@apple.com> 2 18 -
branches/safari-604.1-branch/LayoutTests/http/tests/ssl/applepay/ApplePaySession-expected.txt
r217086 r220254 77 77 PASS new ApplePaySession(2, request) threw exception TypeError: "invalidNetwork" is not a valid payment network.. 78 78 79 SETUP: request = validRequest(); request.supportedNetworks = ['carteBancaire']; 80 PASS new ApplePaySession(2, request) threw exception TypeError: "carteBancaire" is not a valid payment network.. 81 79 82 SETUP: request = validRequest(); request.supportedNetworks = ['visa', 'visa']; 80 83 PASS new ApplePaySession(2, request) did not throw exception. -
branches/safari-604.1-branch/LayoutTests/http/tests/ssl/applepay/ApplePaySession.html
r217086 r220254 73 73 logAndShouldThrow("request = validRequest(); request.supportedNetworks = ['invalidNetwork'];", "new ApplePaySession(2, request)") 74 74 logAndShouldThrow("request = validRequest(); request.supportedNetworks = ['invalidNetwork', 'visa'];", "new ApplePaySession(2, request)") 75 logAndShouldThrow("request = validRequest(); request.supportedNetworks = ['carteBancaire'];", "new ApplePaySession(2, request)") 75 76 // FIXME: Should duplicate supportedNetworks be allowed? 76 77 logAndShouldNotThrow("request = validRequest(); request.supportedNetworks = ['visa', 'visa'];", "new ApplePaySession(2, request)") -
branches/safari-604.1-branch/LayoutTests/http/tests/ssl/applepay/ApplePaySessionV3.html
r217723 r220254 16 16 countryCode: 'US', 17 17 currencyCode: 'USD', 18 supportedNetworks: ['visa', 'masterCard' ],18 supportedNetworks: ['visa', 'masterCard', 'carteBancaire'], 19 19 merchantCapabilities: ['supports3DS'], 20 20 total: { label: 'Your Label', amount: '10.00' }, -
branches/safari-604.1-branch/Source/WebCore/ChangeLog
r220171 r220254 1 2017-08-03 Jason Marcell <jmarcell@apple.com> 2 3 Cherry-pick r219896. rdar://problem/33711000 4 5 2017-07-25 Andy Estes <aestes@apple.com> 6 7 [Apple Pay] Add "carteBancaire" as a supported payment network 8 https://bugs.webkit.org/show_bug.cgi?id=174841 9 <rdar://problem/31935596> 10 11 Reviewed by Alex Christensen. 12 13 Tests: http/tests/ssl/applepay/ApplePaySession.html 14 http/tests/ssl/applepay/ApplePaySessionV3.html 15 16 * Modules/applepay/PaymentRequest.cpp: 17 (WebCore::PaymentRequest::isValidSupportedNetwork): 18 1 19 2017-08-02 Jason Marcell <jmarcell@apple.com> 2 20 -
branches/safari-604.1-branch/Source/WebCore/Modules/applepay/PaymentRequest.cpp
r219191 r220254 60 60 if (version >= 2 && supportedNetwork == "jcb") 61 61 return true; 62 if (version >= 3 && supportedNetwork == "carteBancaire") 63 return true; 62 64 63 65 return false; -
branches/safari-604.1-branch/Source/WebKit/ChangeLog
r220064 r220254 1 2017-08-03 Jason Marcell <jmarcell@apple.com> 2 3 Cherry-pick r219896. rdar://problem/33711000 4 5 2017-07-25 Andy Estes <aestes@apple.com> 6 7 [Apple Pay] Add "carteBancaire" as a supported payment network 8 https://bugs.webkit.org/show_bug.cgi?id=174841 9 <rdar://problem/31935596> 10 11 Reviewed by Alex Christensen. 12 13 * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: 14 (WebKit::toSupportedNetwork): 15 1 16 2017-07-31 Jason Marcell <jmarcell@apple.com> 2 17 -
branches/safari-604.1-branch/Source/WebKit/UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm
r219191 r220254 52 52 SOFT_LINK_CLASS(PassKit, PKShippingMethod); 53 53 SOFT_LINK_CONSTANT(PassKit, PKPaymentNetworkAmex, NSString *); 54 SOFT_LINK_CONSTANT(PassKit, PKPaymentNetworkCarteBancaire, NSString *); 54 55 SOFT_LINK_CONSTANT(PassKit, PKPaymentNetworkChinaUnionPay, NSString *); 55 56 SOFT_LINK_CONSTANT(PassKit, PKPaymentNetworkDiscover, NSString *); … … 437 438 if (supportedNetwork == "amex") 438 439 return getPKPaymentNetworkAmex(); 440 if (supportedNetwork == "carteBancaire") 441 return getPKPaymentNetworkCarteBancaire(); 439 442 if (supportedNetwork == "chinaUnionPay") 440 443 return getPKPaymentNetworkChinaUnionPay();
Note: See TracChangeset
for help on using the changeset viewer.