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

Unified Diff: content/test/data/background_sync/sync_event_rejected.js

Issue 1282013004: BackgroundSyncManager tracks client registrations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed test Created 5 years, 3 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 | « content/test/data/background_sync/sync_event_interface.js ('k') | content/test/data/service_worker/sync.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/background_sync/sync_event_rejected.js
diff --git a/content/test/data/background_sync/sync_event_rejected.js b/content/test/data/background_sync/sync_event_rejected.js
deleted file mode 100644
index ca697165403279bc42fc75240715ede4fd6972ca..0000000000000000000000000000000000000000
--- a/content/test/data/background_sync/sync_event_rejected.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-this.onsync = function(event) {
- if (!('waitUntil' in event)) {
- console.log("waitUntil missing on event");
- return;
- }
- event.waitUntil(new Promise(function(resolve, reject) {
- setTimeout(function() {
- console.log('Rejecting onsync event');
- reject();
- }, 5);
- }));
-};
« no previous file with comments | « content/test/data/background_sync/sync_event_interface.js ('k') | content/test/data/service_worker/sync.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698