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

Side by Side Diff: content/test/data/background_sync/sync_event_interface.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 this.onsync = function(event) {
6 var eventProperties = [
7 // Extract name from toString result: "[object <Class>]"
8 Object.prototype.toString.call(event).match(/\s([a-zA-Z]+)/)[1],
9 (typeof event.waitUntil)
10 ];
11
12 console.log(eventProperties.join('|'));
13 };
OLDNEW
« no previous file with comments | « content/test/data/background_sync/service_worker.js ('k') | content/test/data/background_sync/sync_event_rejected.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698