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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/dummy-shared-worker-interceptor.js

Issue 2897113002: Remove duplicate service wrkr "shared worker" test (Closed)
Patch Set: Re-introduce shared resource file Created 3 years, 7 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 | third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/dummy-shared-worker-interceptor.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/dummy-shared-worker-interceptor.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/dummy-shared-worker-interceptor.js
deleted file mode 100644
index 82b24459b4fe307aea80a08689e115dddbda538e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/dummy-shared-worker-interceptor.js
+++ /dev/null
@@ -1,7 +0,0 @@
-var worker_text = 'onconnect = function(e) { e.ports[0].postMessage("worker loading intercepted by service worker"); };';
-
-self.onfetch = function(event) {
- if (event.request.url.indexOf('dummy-shared-worker.js') != -1)
- event.respondWith(new Response(worker_text));
-};
-
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698