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

Unified Diff: LayoutTests/http/tests/serviceworker/activation-after-registration.html

Issue 354953002: Promisify Service Worker test unregister_and_register helper function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: patch for landing Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/controller-on-load.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/activation-after-registration.html
diff --git a/LayoutTests/http/tests/serviceworker/activation-after-registration.html b/LayoutTests/http/tests/serviceworker/activation-after-registration.html
index 74a332ca55695570f2e6f481bb2350c85bd1cc5a..b311b3dce725624401b0a1129021170496cc97de 100644
--- a/LayoutTests/http/tests/serviceworker/activation-after-registration.html
+++ b/LayoutTests/http/tests/serviceworker/activation-after-registration.html
@@ -9,7 +9,7 @@ var t = async_test('activation occurs after registration');
t.step(function() {
var scope = 'resources/blank.html';
service_worker_unregister_and_register(
- t, 'resources/worker-no-op.js', scope, onRegister);
+ t, 'resources/worker-no-op.js', scope).then(t.step_func(onRegister));
function onRegister(worker) {
assert_equals(worker.state, 'parsed', 'worker should be in the "parsed" state upon registration');
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/controller-on-load.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698