Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Issue 2865023003: Warn web developers that card networks as method names are deprecated. (Closed)

Created:
3 years, 7 months ago by please use gerrit instead
Modified:
3 years, 7 months ago
Reviewers:
Rick Byers
CC:
chromium-reviews, blink-reviews, gogerald+paymentswatch_chromium.org, haraken, rouslan+payments_chromium.org, mahmadi+paymentswatch_chromium.org, sebsg+paymentswatch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Warn web developers that card networks as method names are deprecated. Web developers should use 'basic-card' instead. Deprecated: new PaymentRequest( [{ supportedMethods: ['visa', 'amex'], }], cart); Should be used: new PaymentRequest( [{ supportedMethods: ['basic-card'], data: {supportedNetworks: ['visa', 'amex']}, }], cart); Console warning message: [Deprecation] Card issuer network ("amex", "diners", "discover", "jcb", "mastercard", "mir", "unionpay", "visa") as payment method is deprecated and will be removed in M64, around January 2018. Please use payment method name "basic-card" with issuer network in the "supportedNetworks" field instead. See https://www.chromestatus.com/features/5725727580225536 for more details. Intent to deprecate thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/1udpnrlQK4Q/ot_E-htQAQAJ BUG=719526 Review-Url: https://codereview.chromium.org/2865023003 Cr-Commit-Position: refs/heads/master@{#473997} Committed: https://chromium.googlesource.com/chromium/src/+/9e5c20b710a753c0992126b1176015849400ca31

Patch Set 1 #

Total comments: 4

Patch Set 2 : Deprecation infrastructure #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
please use gerrit instead
Rick, ptal. Is there a process to follow here? Perhaps an "intent to deprecate" is ...
3 years, 7 months ago (2017-05-08 16:37:46 UTC) #4
Rick Byers
Shoot, looks like I missed this e-mail - sorry. Do you have a timeframe for ...
3 years, 7 months ago (2017-05-16 13:46:24 UTC) #7
please use gerrit instead
On 2017/05/16 13:46:24, Rick Byers wrote: > Shoot, looks like I missed this e-mail - ...
3 years, 7 months ago (2017-05-16 13:47:30 UTC) #8
Rick Byers
https://codereview.chromium.org/2865023003/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequest.cpp (right): https://codereview.chromium.org/2865023003/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp#newcode409 third_party/WebKit/Source/modules/payments/PaymentRequest.cpp:409: kJSMessageSource, kWarningMessageLevel, Please use the "DeprecationMessageSource" - that'll get ...
3 years, 7 months ago (2017-05-16 13:48:59 UTC) #9
please use gerrit instead
Rick, ptal patch 2. https://codereview.chromium.org/2865023003/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequest.cpp (right): https://codereview.chromium.org/2865023003/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp#newcode409 third_party/WebKit/Source/modules/payments/PaymentRequest.cpp:409: kJSMessageSource, kWarningMessageLevel, On 2017/05/16 13:48:58, ...
3 years, 7 months ago (2017-05-16 18:02:55 UTC) #12
Rick Byers
LGTM, thanks!
3 years, 7 months ago (2017-05-19 20:43:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2865023003/40001
3 years, 7 months ago (2017-05-23 16:13:10 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 18:39:56 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9e5c20b710a753c0992126b11760...

Powered by Google App Engine
This is Rietveld 408576698