New issue
Advanced search Search tips

Issue 818819 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Chrome crashes when clicking in Pay button in PaymentRequest sheet

Reported by cas...@mobify.me, Mar 5 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Go to https://googlechrome.github.io/samples/paymentrequest/credit-cards/
2. Click on the Buy button to open the PaymentRequest sheet
3. Click on the Pay button

What is the expected behavior?
The PaymentRequest sheet should prompt me for the CVV.

What went wrong?
The entire browser crashed.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 64.0.3282.186  Channel: stable
OS Version: OS X 10.13.1
Flash Version: 

Crash id: 4f69de0f74cc73e8

This is similar to this issue: https://bugs.chromium.org/p/chromium/issues/detail?id=772706 but the crash occurs when clicking on the Pay button, rather than when the PaymentRequest object is created. I am also able to reproduce this in Chrome 64. If I use Chrome Canary (67.0.3362.0), I don't experience this issue.
 
Cc: anthonyvd@chromium.org
Owner: rouslan@chromium.org
Status: Assigned (was: Unconfirmed)
Thank you for the report! Looking into this now.
Cassie@: Is this in incognito (private browsing) mode?

Stack trace:

SigninManagerBase::AddObserver()
payments::CvcUnmaskViewController::CvcUnmaskViewController()
payments::PaymentRequestDialogView::ShowCvcUnmaskPrompt()
payments::ChromePaymentRequestDelegate::DoFullCardRequest()
payments::AutofillPaymentInstrument::InvokePaymentApp()
payments::PaymentResponseHelper::PaymentResponseHelper()
payments::PaymentRequestState::GeneratePaymentResponse()

Comment 3 by cas...@mobify.me, Mar 5 2018

I believe that crash occurred using a Guest profile but not Incognito. I can also reproduce it in Incognito, though.

Comment 4 by cas...@mobify.me, Mar 5 2018

Just tested it again and I'm not seeing this issue outside of Guest or Incognito.
Thank you for the quick response, Cassie@. The reason why you don't see this in Canary is we've fixed this in Chrome 65 via https://crrev.com/c/926563. 

Unfortunately it's too late to roll the fix into Chrome 64, but you can mitigate this issue by using our shim, which disables PaymentRequest in incognito mode in Chrome 64:

https://github.com/GoogleChromeLabs/payment-request-shim/

I'm very sorry for the inconvenience!
Mergedinto: 813275
Status: Duplicate (was: Assigned)

Comment 7 by cas...@mobify.me, Mar 5 2018

Okay, thanks for the info and the super quick response!

Sign in to add a comment