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.
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)
12 console.log(eventProperties.join('|'));