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

Issue 2602213002: [PaymentApp] Fix a crash when enabledMethods called. (Closed)

Created:
3 years, 11 months ago by Hwanseung Lee
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews, haraken, sebsg+paymentswatch_chromium.org, gogerald+paymentswatch_chromium.org, rouslan+payments_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[PaymentApp] Fix a crash when enabledMethods called. The spec says enabled_methods in PaymentOptions is not required, but if we skip the field, a crash occurs in the current implementation. So, add a check logic whether the field is omitted or not. Spec: https://w3c.github.io/webpayments-payment-apps-api/#idl-def-paymentappoption BUG=661608 Committed: https://crrev.com/42a9f508444a30bde35c51a4d3854cde070febb3 Cr-Commit-Position: refs/heads/master@{#441556}

Patch Set 1 #

Patch Set 2 : [Payment] fix a crash when enabledMethods called. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/http/tests/payments/payment-app-manager.html View 1 1 chunk +26 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentAppManager.cpp View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 27 (19 generated)
Hwanseung Lee
@zino PTAL. thank you.
3 years, 11 months ago (2017-01-01 07:31:32 UTC) #6
zino
Please add a test to reproduce the issue.
3 years, 11 months ago (2017-01-02 12:21:14 UTC) #7
Hwanseung Lee
On 2017/01/02 12:21:14, zino wrote: > Please add a test to reproduce the issue. @zino ...
3 years, 11 months ago (2017-01-04 13:40:16 UTC) #13
zino
lgtm but the CL description and test description looks confusing to me. Could you please ...
3 years, 11 months ago (2017-01-04 14:22:45 UTC) #15
please use gerrit instead
lgtm
3 years, 11 months ago (2017-01-04 16:00:21 UTC) #19
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/2602213002/20001
3 years, 11 months ago (2017-01-04 23:43:40 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-05 02:04:03 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 02:06:38 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/42a9f508444a30bde35c51a4d3854cde070febb3
Cr-Commit-Position: refs/heads/master@{#441556}

Powered by Google App Engine
This is Rietveld 408576698