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'); |
+}); |