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

Unified Diff: LayoutTests/http/tests/navigatorconnect/resources/echo-worker.js

Issue 1205783004: Update navigator.services API to use the new services.onconnect event [3/3]. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-serviceside
Patch Set: remove extra space Created 5 years, 5 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: LayoutTests/http/tests/navigatorconnect/resources/echo-worker.js
diff --git a/LayoutTests/http/tests/navigatorconnect/resources/echo-worker.js b/LayoutTests/http/tests/navigatorconnect/resources/echo-worker.js
index 0cab9a36f055829690d0764a6d639203c34a13be..fa281ec730929306a6a12aed048e82de2a41713b 100644
--- a/LayoutTests/http/tests/navigatorconnect/resources/echo-worker.js
+++ b/LayoutTests/http/tests/navigatorconnect/resources/echo-worker.js
@@ -1,9 +1,4 @@
var client;
-self.addEventListener('crossoriginconnect', function(event) {
- client = event.client;
- event.acceptConnection(true);
-});
-
self.addEventListener('crossoriginmessage', function(event) {
client.postMessage(event.data, event.ports);
});

Powered by Google App Engine
This is Rietveld 408576698