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> |