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

Unified Diff: content/test/data/payments/payment_app_window.html

Issue 2646313002: PaymentApp: Implement invokePaymentApp() in renderer side. (Closed)
Patch Set: address comments Created 3 years, 10 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
« no previous file with comments | « content/test/data/payments/payment_app_invocation.html ('k') | content/test/data/payments/result_queue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/payments/payment_app_window.html
diff --git a/content/test/data/payments/payment_app_window.html b/content/test/data/payments/payment_app_window.html
new file mode 100644
index 0000000000000000000000000000000000000000..0ed713f932ccc545fb92cc24d844aa80d1ca48c4
--- /dev/null
+++ b/content/test/data/payments/payment_app_window.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<script>
+
+navigator.serviceWorker.addEventListener('message', e => {
+ e.source.postMessage('payment_app_response');
+ window.close();
+});
+navigator.serviceWorker.controller.postMessage('payment_app_window_ready');
+
+</script>
« no previous file with comments | « content/test/data/payments/payment_app_invocation.html ('k') | content/test/data/payments/result_queue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698