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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js

Issue 435453002: [ServiceWorker] Update formatting for tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/serviceworker/resources/fetch-request-html-imports-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js
index 962741a6292eea7d7eb56fef6e057c487d45b983..12550abb3b4b2b300f7a787d8a4987452f7dd7f6 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js
@@ -4,21 +4,21 @@ self.addEventListener('fetch', function(event) {
return;
}
var result = 'mode=' + event.request.mode +
- ' credentials=' + event.request.credentials;
+ ' credentials=' + event.request.credentials;
if (url == 'http://127.0.0.1:8000/dummy-dir/same.html') {
event.respondWith(new Response(
- result +
- '<link id="same-same" rel="import" ' +
- 'href="http://127.0.0.1:8000/dummy-dir/same-same.html">' +
- '<link id="same-other" rel="import" ' +
- ' href="http://localhost:8000/dummy-dir/same-other.html">'));
+ result +
+ '<link id="same-same" rel="import" ' +
+ 'href="http://127.0.0.1:8000/dummy-dir/same-same.html">' +
+ '<link id="same-other" rel="import" ' +
+ ' href="http://localhost:8000/dummy-dir/same-other.html">'));
} else if (url == 'http://localhost:8000/dummy-dir/other.html') {
event.respondWith(new Response(
- result +
- '<link id="other-same" rel="import" ' +
- ' href="http://127.0.0.1:8000/dummy-dir/other-same.html">' +
- '<link id="other-other" rel="import" ' +
- ' href="http://localhost:8000/dummy-dir/other-other.html">'));
+ result +
+ '<link id="other-same" rel="import" ' +
+ ' href="http://127.0.0.1:8000/dummy-dir/other-same.html">' +
+ '<link id="other-other" rel="import" ' +
+ ' href="http://localhost:8000/dummy-dir/other-other.html">'));
} else {
event.respondWith(new Response(result));
}

Powered by Google App Engine
This is Rietveld 408576698