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

Unified Diff: content/test/data/service_worker/sync.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_rejected.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/service_worker/sync.js
diff --git a/content/test/data/service_worker/sync.js b/content/test/data/service_worker/sync.js
deleted file mode 100644
index 941ea2de93710030097e7f97825fbe0c9a73e2d1..0000000000000000000000000000000000000000
--- a/content/test/data/service_worker/sync.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2014 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.
-
-var code = 404;
-
-this.onfetch = function(event) {
- response = new Response(new Blob(), {
- status: code,
- statusText: 'OK'
- });
-
- event.respondWith(new Promise(function(r) {
- setTimeout(function() { r(response); }, 5);
- }));
-};
-
-this.onsync = function(event) {
- code = 200;
-};
« no previous file with comments | « content/test/data/background_sync/sync_event_rejected.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698