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

Unified Diff: third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js

Issue 2250793003: Separate PaymentRequest initialization and display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update payment-request-mock.js Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js
diff --git a/third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js b/third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js
index 45da1852235eefc75f8ce47ffb63c189ce291fe0..6a41ab427bc48f17b7f0f6f3712a9fdb073f84fe 100644
--- a/third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js
+++ b/third_party/WebKit/LayoutTests/payments/resources/payment-request-mock.js
@@ -27,7 +27,7 @@ let paymentRequestMock = loadMojoModules(
this.paymentRequestRouter_.setIncomingReceiver(this.paymentRequestStub_);
}
- setClient(client) {
+ init(client, supportedMethods, details, options) {
this.client_ = client;
if (this.pendingResponse_) {
let response = this.pendingResponse_;
@@ -36,7 +36,7 @@ let paymentRequestMock = loadMojoModules(
}
}
- show(supportedMethods, details, options, stringifiedData) {
+ show() {
}
updateWith(details) {

Powered by Google App Engine
This is Rietveld 408576698