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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/payments/payment-request-event.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/payments/payment-request-event.html b/third_party/WebKit/LayoutTests/http/tests/payments/payment-request-event.html
new file mode 100644
index 0000000000000000000000000000000000000000..b358ec44e36c145efc65436131968383c7eb029c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/payments/payment-request-event.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<meta charset="utf-8">
+<title>Payment App: Tests for PaymentRequestEvent</title>
+<link rel="help" href="https://w3c.github.io/webpayments-payment-apps-api/#the-paymentrequest-event">
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="../serviceworker/resources/test-helpers.js"></script>
+<script>
+'use strict';
+
+// Tests that the PaymentRequestEvent is in a ServiceWorkerGloablContext and
+// exposes its members (e.g. respondWith, waitUntil and data).
+service_worker_test(
+ 'resources/payment-request-event.js',
+ 'Exposure of the PaymentRequestEvent object in a Service Worker.');
+
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/payments/resources/payment-request-event.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698