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

Unified Diff: content/test/data/payments/payment_app.js

Issue 2893823004: [Payments] Implement openWindow for service worker based payment handler (Closed)
Patch Set: address comments Created 3 years, 7 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: content/test/data/payments/payment_app.js
diff --git a/content/test/data/payments/payment_app.js b/content/test/data/payments/payment_app.js
index f6b2d38b3b58a6d59de45e71dc583df7eba156de..ea579e3fbf0c3969ad6ac153966d229da8a1196a 100644
--- a/content/test/data/payments/payment_app.js
+++ b/content/test/data/payments/payment_app.js
@@ -44,7 +44,7 @@ self.addEventListener('paymentrequest', e => {
});
// Open a window
- clients.openWindow('payment_app_window.html')
+ e.openWindow('payment_app_window.html')
.then(window_client => {
payment_app_window = window_client;
maybeSendPaymentRequest();

Powered by Google App Engine
This is Rietveld 408576698