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

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

Issue 2718013004: PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side) (Closed)
Patch Set: PaymentApp: Implement respondWith() in PaymentRequestEvent. (content side) Created 3 years, 9 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
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
index 0ed713f932ccc545fb92cc24d844aa80d1ca48c4..21af1e8a45c3cf29ba1d0044b2969d4b343c216b 100644
--- a/content/test/data/payments/payment_app_window.html
+++ b/content/test/data/payments/payment_app_window.html
@@ -2,9 +2,11 @@
<script>
navigator.serviceWorker.addEventListener('message', e => {
- e.source.postMessage('payment_app_response');
+ e.source.postMessage({ methodName: 'test', details: {} });
window.close();
});
navigator.serviceWorker.controller.postMessage('payment_app_window_ready');
</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698