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

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

Issue 466723002: ServiceWorker: Enable ServiceWorkerRegistration and update layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@updatefound
Patch Set: rebase 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..4988ce88eb5cb92f509a7004ff805ce0c1dc83c0 100644
--- a/LayoutTests/http/tests/serviceworker/chromium/registration-stress.html
+++ b/LayoutTests/http/tests/serviceworker/chromium/registration-stress.html
@@ -11,10 +11,10 @@ async_test(function(t) {
var url = '../resources/worker-no-op.js';
var frames = [];
- var number_of_workers = 50;
+ var number_of_registrations = 50;
var register_promises = [];
- for (var i = 0; i < number_of_workers; i++) {
+ for (var i = 0; i < number_of_registrations; i++) {
var scope = i;
register_promises.push(with_iframe(scope)
.then(step(function(f) {
@@ -24,9 +24,9 @@ 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++) {
+ for (var i = 0; i < number_of_registrations; i++) {
var scope = i;
frames[i].remove();
unregister_promises.push(
« 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