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

Unified Diff: LayoutTests/http/tests/serviceworker/multiple-register.html

Issue 426563003: Fix mistaken use of promise in multiple-register.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm leakexpectation Created 6 years, 5 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 | « LayoutTests/LeakExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/multiple-register.html
diff --git a/LayoutTests/http/tests/serviceworker/multiple-register.html b/LayoutTests/http/tests/serviceworker/multiple-register.html
index 33fb716b5a0af50e607ceeef1f23e0614e2427e4..4e6841925a75b8c717aec21922fc2bb737d6b245 100644
--- a/LayoutTests/http/tests/serviceworker/multiple-register.html
+++ b/LayoutTests/http/tests/serviceworker/multiple-register.html
@@ -22,8 +22,8 @@ async_test(function(t) {
'register should resolve to the same worker');
assert_equals(registered_worker.state, 'activated',
'the worker should be in state "activated"');
+ service_worker_unregister_and_done(t, scope);
})
- .then(service_worker_unregister_and_done(t, scope))
.catch(unreached_rejection(t));
}, 'Subsequent registrations resolve to the same worker');
@@ -45,8 +45,8 @@ async_test(function(t) {
assert_equals(worker, workers[0],
'register should resolve to the same worker');
});
+ service_worker_unregister_and_done(t, scope);
})
- .then(service_worker_unregister_and_done(t, scope))
.catch(unreached_rejection(t));
}, 'Concurrent registrations resolve to the same worker');
</script>
« no previous file with comments | « LayoutTests/LeakExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698