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

Issue 2083883003: Reject PaymentResponse.complete() promise on error. (Closed)

Created:
4 years, 6 months ago by please use gerrit instead
Modified:
4 years, 6 months ago
CC:
blink-reviews, chromium-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reject PaymentResponse.complete() promise on error. If the user cancels the PaymentRequest UI by clicking on the Android "back" button while the website is processing the transaction, then website's complete() call should be rejected. BUG=621767 Committed: https://crrev.com/3897d84540af80d6f88cc5ecc0b89d722ab366ae Cr-Commit-Position: refs/heads/master@{#401110}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 chunk +4 lines, -0 lines 2 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequestTest.cpp View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
please use gerrit instead
mek@, ptal.
4 years, 6 months ago (2016-06-21 02:24:24 UTC) #2
Marijn Kruisselbrink
lgtm I think. Although I'm not sure I'm still following all the many states a ...
4 years, 6 months ago (2016-06-21 20:45:50 UTC) #3
please use gerrit instead
Sending to cq. https://codereview.chromium.org/2083883003/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp File third_party/WebKit/Source/modules/payments/PaymentRequest.cpp (right): https://codereview.chromium.org/2083883003/diff/1/third_party/WebKit/Source/modules/payments/PaymentRequest.cpp#newcode330 third_party/WebKit/Source/modules/payments/PaymentRequest.cpp:330: return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(InvalidStateError, "Request cancelled")); On ...
4 years, 6 months ago (2016-06-21 21:03:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2083883003/1
4 years, 6 months ago (2016-06-21 21:05:08 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-21 21:18:26 UTC) #7
commit-bot: I haz the power
4 years, 6 months ago (2016-06-21 21:19:54 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3897d84540af80d6f88cc5ecc0b89d722ab366ae
Cr-Commit-Position: refs/heads/master@{#401110}

Powered by Google App Engine
This is Rietveld 408576698