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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js

Issue 2528683002: PaymentApp: Blink side of payment request event dispatching in service worker. (Closed)
Patch Set: PaymentApp: Blink side of payment request event dispatching in service worker. Created 4 years 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/http/tests/payments/resources/payment-request-event.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js b/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js
new file mode 100644
index 0000000000000000000000000000000000000000..0040108ed72b8f86c14f926f21c725969b32b50e
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js
@@ -0,0 +1,8 @@
+importScripts('../../serviceworker/resources/worker-testharness.js');
+
+test(() => {
+ assert_true('PaymentRequestEvent' in self);
+ assert_inherits(PaymentRequestEvent.prototype, 'waitUntil');
+ assert_own_property(PaymentRequestEvent.prototype, 'respondWith');
+ assert_own_property(PaymentRequestEvent.prototype, 'data');
+});

Powered by Google App Engine
This is Rietveld 408576698