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

Unified Diff: LayoutTests/http/tests/navigatorconnect/resources/accepting-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/accepting-worker.js
diff --git a/LayoutTests/http/tests/navigatorconnect/resources/accepting-worker.js b/LayoutTests/http/tests/navigatorconnect/resources/accepting-worker.js
index 3580d775c064d13e9641280e3d89fe4b96e6b440..3e8621854bc746d79cd21bf1fe18a288e4a5e479 100644
--- a/LayoutTests/http/tests/navigatorconnect/resources/accepting-worker.js
+++ b/LayoutTests/http/tests/navigatorconnect/resources/accepting-worker.js
@@ -1,7 +1,3 @@
-self.addEventListener('crossoriginconnect', function(event) {
- event.acceptConnection(true);
-});
-
navigator.services.addEventListener('connect', function(event) {
event.respondWith({accept: true});
});

Powered by Google App Engine
This is Rietveld 408576698