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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html

Issue 1437883002: [Background Sync] Align exposed API with spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src@remove-periodic
Patch Set: Rebase Created 5 years, 1 month 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: third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html b/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html
index 77680084a9a9c0b8a3d0a6b1eeab96e8ff3df9b1..9b35a5ebfab19cd1068d4c1355067c90f465709c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html
+++ b/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot-register-failure-worker-not-activated.html
@@ -17,7 +17,7 @@ async_test(function(test) {
swRegistration = serviceWorkerRegistration;
assert_not_equals(swRegistration.installing, null, 'The worker should be installing');
assert_equals(swRegistration.active, null, 'The worker should not be active yet');
- return swRegistration.sync.register();
+ return swRegistration.sync.register('abcde');
})
.then(function(syncRegistration) {
assert_unreached('sync.register() must not succeed without an active service worker');

Powered by Google App Engine
This is Rietveld 408576698