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

Unified Diff: LayoutTests/http/tests/serviceworker/extendable-event-waituntil.html

Issue 773153002: ServiceWorker: remove get_newest_worker() helper (cleanup) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove get_newest_worker() Created 6 years 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/postmessage.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/extendable-event-waituntil.html
diff --git a/LayoutTests/http/tests/serviceworker/extendable-event-waituntil.html b/LayoutTests/http/tests/serviceworker/extendable-event-waituntil.html
index 88d4cd5ea8db142264368174ce12199430a957f6..f6b9699a246af7b5f15f7643f8ed9b71ab56e7fd 100644
--- a/LayoutTests/http/tests/serviceworker/extendable-event-waituntil.html
+++ b/LayoutTests/http/tests/serviceworker/extendable-event-waituntil.html
@@ -14,9 +14,8 @@ function runTest(test, scope, onRegister) {
var script = 'resources/extendable-event-waituntil.js';
service_worker_unregister_and_register(test, script, scope)
.then(function(registration) {
- return get_newest_worker(registration);
- })
- .then(test.step_func(onRegister));
+ onRegister(registration.installing);
+ });
}
function syncWorker(test, worker, obj) {
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/postmessage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698