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 // http://w3c.github.io/performance-timeline/#the-performance-observer-interface |
| 6 |
| 7 [ |
| 8 RuntimeEnabled=PerformanceObserver, |
| 9 Exposed=(Window,Worker), |
| 10 GarbageCollected, |
| 11 ] interface PerformanceObserverEntryList { |
| 12 // TODO(philipj): getEntries() should take an optional FilterOptions argumen
t. |
| 13 sequence<PerformanceEntry> getEntries(); |
| 14 sequence<PerformanceEntry> getEntriesByType(DOMString entryType); |
| 15 sequence<PerformanceEntry> getEntriesByName(DOMString name, optional DOMStri
ng entryType = null); |
| 16 }; |
OLD | NEW |