Chromium Code Reviews
DescriptionShow at most one PaymentRequest UI at a time.
If the webpage calls PaymentRequest.show() while another
PaymentRequest UI is already showing, then reject the second
show() promise.
In addition, this patch performs "OK to create
PaymentRequest" checks inside of the PaymentRequestFactory
instead of the PaymentRequestImpl constructor. That way
PaymentRequestImpl is guaranteed to have a valid state.
This allows many variables in PaymentRequestImpl to become
final.
BUG=633610
Committed: https://crrev.com/8401134848abbb32f99de0f188f730f706e9ae42
Cr-Commit-Position: refs/heads/master@{#409371}
Patch Set 1 #
Messages
Total messages: 16 (11 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||