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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-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-worker.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js b/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js
index c4821f5e1b03cf23ef9d920423ef4615494415d8..5b99dd86b494f9022d7e7ac0dfef225f536ca76d 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-worker.js
@@ -73,7 +73,7 @@ async_test(function(t) {
}, 'Fetch with string body test in ServiceWorkerGlobalScope');
async_test(function(t) {
- var text = "Test ArrayBuffer";
+ var text = 'Test ArrayBuffer';
var array = new Uint8Array(text.length);
for (var i = 0; i < text.length; ++i)
array[i] = text.charCodeAt(i);
@@ -91,7 +91,7 @@ async_test(function(t) {
}, 'Fetch with ArrayBuffer body test in ServiceWorkerGlobalScope');
async_test(function(t) {
- var text = "Test ArrayBufferView";
+ var text = 'Test ArrayBufferView';
var array = new Uint8Array(text.length);
for (var i = 0; i < text.length; ++i)
array[i] = text.charCodeAt(i);
@@ -116,7 +116,7 @@ async_test(function(t) {
formData.append('FileKey',
new File(['file content'], 'file.dat'));
var request = new Request('fetch-access-control.php',
- {method: 'POST', body: formData});
+ {method: 'POST', body: formData});
fetch(request)
.then(function(response) { return response.text(); })
.then(evalJsonp)
@@ -147,4 +147,4 @@ test(function(t) {
runInfiniteFetchLoop();
},
'Destroying the execution context while fetch is happening should not ' +
- 'cause a crash.');
+ 'cause a crash.');

Powered by Google App Engine
This is Rietveld 408576698