OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // http://w3c.github.io/performance-timeline/#the-performance-observer-interface | 5 // http://w3c.github.io/performance-timeline/#the-performance-observer-interface |
6 | 6 |
7 [ | 7 [ |
8 RuntimeEnabled=PerformanceObserver, | 8 RuntimeEnabled=PerformanceObserver, |
9 Exposed=(Window,Worker), | 9 Exposed=(Window,Worker), |
10 GarbageCollected, | |
11 ] interface PerformanceObserverEntryList { | 10 ] interface PerformanceObserverEntryList { |
12 // TODO(philipj): getEntries() should take an optional FilterOptions argumen
t. | 11 // TODO(philipj): getEntries() should take an optional FilterOptions argumen
t. |
13 sequence<PerformanceEntry> getEntries(); | 12 sequence<PerformanceEntry> getEntries(); |
14 sequence<PerformanceEntry> getEntriesByType(DOMString entryType); | 13 sequence<PerformanceEntry> getEntriesByType(DOMString entryType); |
15 sequence<PerformanceEntry> getEntriesByName(DOMString name, optional DOMStri
ng entryType = null); | 14 sequence<PerformanceEntry> getEntriesByName(DOMString name, optional DOMStri
ng entryType = null); |
16 }; | 15 }; |
OLD | NEW |