mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 17:58:18 +03:00
d4a890080d
NewAKString is effectively the default for any new IDL interface, so let's mark this as the default behavior. It also makes it much easier to figure out whatever interfaces are still left to port over to new AK String.
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
#import <PerformanceTimeline/PerformanceObserverEntryList.idl>
|
|
|
|
// https://w3c.github.io/performance-timeline/#dom-performanceobservercallbackoptions
|
|
dictionary PerformanceObserverCallbackOptions {
|
|
unsigned long long droppedEntriesCount;
|
|
};
|
|
|
|
callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries, PerformanceObserver observer, optional PerformanceObserverCallbackOptions options = {});
|
|
|
|
// https://w3c.github.io/performance-timeline/#dom-performanceobserverinit
|
|
dictionary PerformanceObserverInit {
|
|
sequence<DOMString> entryTypes;
|
|
DOMString type;
|
|
boolean buffered;
|
|
};
|
|
|
|
// https://w3c.github.io/performance-timeline/#dom-performanceobserver
|
|
[Exposed=(Window,Worker)]
|
|
interface PerformanceObserver {
|
|
constructor(PerformanceObserverCallback callback);
|
|
undefined observe(optional PerformanceObserverInit options = {});
|
|
undefined disconnect();
|
|
PerformanceEntryList takeRecords();
|
|
//[SameObject] static readonly attribute sequence<DOMString> supportedEntryTypes;
|
|
};
|