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

Issue 2406713002: PaymentRequest: Ignore shipping options if there are duplicated IDs. (Closed)

Created:
4 years, 2 months ago by zino
Modified:
4 years, 2 months ago
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PaymentRequest: Ignore shipping options if there are duplicated IDs. Related spec change: https://github.com/w3c/browser-payment-api/pull/249 BUG=587995 Committed: https://crrev.com/d9cf4f407c7bc31ade2d59490b9db23781191ec9 Cr-Commit-Position: refs/heads/master@{#425116}

Patch Set 1 #

Patch Set 2 : test #

Total comments: 10

Patch Set 3 : addressed comment #

Patch Set 4 : presubmit #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -16 lines) Patch
M third_party/WebKit/LayoutTests/payments/payment-request-interface.html View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 2 3 7 chunks +15 lines, -12 lines 2 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 1 2 1 chunk +41 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
zino
Please review when you have spare time.
4 years, 2 months ago (2016-10-10 17:53:44 UTC) #5
please use gerrit instead
Thank you for the patch! https://codereview.chromium.org/2406713002/diff/20001/third_party/WebKit/LayoutTests/payments/payment-request-interface.html File third_party/WebKit/LayoutTests/payments/payment-request-interface.html (left): https://codereview.chromium.org/2406713002/diff/20001/third_party/WebKit/LayoutTests/payments/payment-request-interface.html#oldcode270 third_party/WebKit/LayoutTests/payments/payment-request-interface.html:270: new PaymentRequest([{'supportedMethods': ['foo']}], {'total': ...
4 years, 2 months ago (2016-10-12 01:28:02 UTC) #6
zino
Thank you for review! https://codereview.chromium.org/2406713002/diff/20001/third_party/WebKit/LayoutTests/payments/payment-request-interface.html File third_party/WebKit/LayoutTests/payments/payment-request-interface.html (left): https://codereview.chromium.org/2406713002/diff/20001/third_party/WebKit/LayoutTests/payments/payment-request-interface.html#oldcode270 third_party/WebKit/LayoutTests/payments/payment-request-interface.html:270: new PaymentRequest([{'supportedMethods': ['foo']}], {'total': buildItem(), ...
4 years, 2 months ago (2016-10-12 18:05:24 UTC) #7
please use gerrit instead
LGTM after the comment is addressed. https://codereview.chromium.org/2406713002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequest.cpp (right): https://codereview.chromium.org/2406713002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp#newcode316 third_party/WebKit/Source/modules/payments/PaymentRequest.cpp:316: HeapVector<PaymentShippingOption> fixedShippingOptions = ...
4 years, 2 months ago (2016-10-12 23:19:11 UTC) #8
zino
Thank you for review. https://codereview.chromium.org/2406713002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequest.cpp (right): https://codereview.chromium.org/2406713002/diff/60001/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp#newcode316 third_party/WebKit/Source/modules/payments/PaymentRequest.cpp:316: HeapVector<PaymentShippingOption> fixedShippingOptions = On 2016/10/12 ...
4 years, 2 months ago (2016-10-13 01:46:25 UTC) #9
please use gerrit instead
On 2016/10/13 01:46:25, zino wrote: > But there *was* no character limit in Blink. > ...
4 years, 2 months ago (2016-10-13 17:38:44 UTC) #10
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/2406713002/60001
4 years, 2 months ago (2016-10-13 17:39:56 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-13 19:05:01 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 19:08:59 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d9cf4f407c7bc31ade2d59490b9db23781191ec9
Cr-Commit-Position: refs/heads/master@{#425116}

Powered by Google App Engine
This is Rietveld 408576698