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

Unified Diff: LayoutTests/http/tests/serviceworker/registration-end-to-end.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
Index: LayoutTests/http/tests/serviceworker/registration-end-to-end.html
diff --git a/LayoutTests/http/tests/serviceworker/registration-end-to-end.html b/LayoutTests/http/tests/serviceworker/registration-end-to-end.html
index d04a8cfb6c5c17382a0ea4a0cadfd27768dee838..94dd3bc09c851db9fa032df74d7b0f825e9f016c 100644
--- a/LayoutTests/http/tests/serviceworker/registration-end-to-end.html
+++ b/LayoutTests/http/tests/serviceworker/registration-end-to-end.html
@@ -22,7 +22,7 @@ t.step(function() {
};
service_worker_unregister_and_register(
- t, 'resources/end-to-end-worker.js', scope, onRegister);
+ t, 'resources/end-to-end-worker.js', scope).then(t.step_func(onRegister));
function sendMessagePort(worker, from) {
var messageChannel = new MessageChannel();

Powered by Google App Engine
This is Rietveld 408576698