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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-client.html

Issue 779133003: [WORK IN PROGRESS] ServiceWorkerClients.openWindow() [Blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 5 years, 11 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 | « no previous file | LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-enumeration-worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-client.html
diff --git a/LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-client.html b/LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-client.html
new file mode 100644
index 0000000000000000000000000000000000000000..b1a0c3b416fcba1c41f730768875fd75d52b2549
--- /dev/null
+++ b/LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-client.html
@@ -0,0 +1,8 @@
+<!DOCTYPE HTML>
+<title>ServiceWorkerClients.openWindow() target</title>
+<script>
+var count = 0;
+window.addEventListener('message', function(e) {
+ window.navigator.serviceWorker.controller.postMessage('ack: ' + e.data + ' - ' + (++count));
+});
+</script>
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/resources/serviceworkerclients-openwindow-enumeration-worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698