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

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, 1 month 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/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..7d72f8a37f04939f468ee44d9f6a5ed464531785
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/payments/payment-request-event.html
@@ -0,0 +1,11 @@
+<!doctype html>
please use gerrit instead 2016/11/29 15:10:35 Please follow new layout test guidelines: https:/
zino 2016/11/30 16:09:32 Oh, Thank you for information. Done.
+<script src="../resources/testharness.js"></script>
+<script src="../resources/testharnessreport.js"></script>
+<script src="../serviceworker/resources/test-helpers.js"></script>
+<script>
+ // 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>

Powered by Google App Engine
This is Rietveld 408576698