Chromium Code Reviews| 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..62a5a7f13a05c15d47657cd710fd2a3ef6d90934 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,10 @@ async_test(function(t) { |
| } |
| return Promise.all(unregister_promises); |
| })) |
| - .then(step(function() { t.done(); })) |
| + .then(step(function() { |
| + gc(); |
|
falken
2014/08/14 04:46:11
Can you add a comment explaining why we're calling
horo
2014/08/14 07:11:46
removed
|
| + t.done(); |
| + })) |
| .catch(unreached_rejection(t)); |
| }, 'Registration: stress test'); |