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

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/registration-stress.html

Issue 468753003: SW tests update (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 467133002 and fix test Created 6 years, 4 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/serviceworker/chromium/registration-stress.html
diff --git a/LayoutTests/http/tests/serviceworker/chromium/registration-stress.html b/LayoutTests/http/tests/serviceworker/chromium/registration-stress.html
index cf904e8156bd5e181c64da01deb6e9a81d09f47c..c89b483fb4941e3ff2932602d7905c5cf8e04d85 100644
--- a/LayoutTests/http/tests/serviceworker/chromium/registration-stress.html
+++ b/LayoutTests/http/tests/serviceworker/chromium/registration-stress.html
@@ -24,7 +24,7 @@ async_test(function(t) {
}
Promise.all(register_promises)
- .then(step(function(workers) {
+ .then(step(function(registrations) {
var unregister_promises = [];
for (var i = 0; i < number_of_workers; i++) {
var scope = i;
@@ -34,7 +34,9 @@ async_test(function(t) {
}
return Promise.all(unregister_promises);
}))
- .then(step(function() { t.done(); }))
+ .then(step(function() {
+ t.done();
+ }))
.catch(unreached_rejection(t));
}, 'Registration: stress test');
« no previous file with comments | « LayoutTests/http/tests/serviceworker/active.html ('k') | LayoutTests/http/tests/serviceworker/chromium/service-worker-gc.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698