Chromium Code Reviews| OLD | NEW |
|---|---|
| (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 }; | |
| OLD | NEW |