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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.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
Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.js
deleted file mode 100644
index 1ccc2fe3bdbe68ad200f7037fd5c68d768931834..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/shared-worker-controlled.js
+++ /dev/null
@@ -1,8 +0,0 @@
-onconnect = function(e) {
- var port = e.ports[0];
- var xhr = new XMLHttpRequest();
- xhr.onload = function() { port.postMessage(this.responseText); };
- xhr.onerror = function(e) { port.postMessage(e); };
- xhr.open('GET', 'dummy.txt?simple', true);
- xhr.send();
-};

Powered by Google App Engine
This is Rietveld 408576698