tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

performance-timeline.idl (1945B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Performance Timeline (https://w3c.github.io/performance-timeline/)
      5 
      6 partial interface Performance {
      7  PerformanceEntryList getEntries ();
      8  PerformanceEntryList getEntriesByType (DOMString type);
      9  PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type);
     10 };
     11 typedef sequence<PerformanceEntry> PerformanceEntryList;
     12 
     13 [Exposed=(Window,Worker)]
     14 interface PerformanceEntry {
     15  readonly    attribute unsigned long long  id;
     16  readonly    attribute DOMString           name;
     17  readonly    attribute DOMString           entryType;
     18  readonly    attribute DOMHighResTimeStamp startTime;
     19  readonly    attribute DOMHighResTimeStamp duration;
     20  readonly    attribute unsigned long long  navigationId;
     21  [Default] object toJSON();
     22 };
     23 
     24 callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
     25                                             PerformanceObserver observer,
     26                                             optional PerformanceObserverCallbackOptions options = {});
     27 [Exposed=(Window,Worker)]
     28 interface PerformanceObserver {
     29  constructor(PerformanceObserverCallback callback);
     30  undefined observe (optional PerformanceObserverInit options = {});
     31  undefined disconnect ();
     32  PerformanceEntryList takeRecords();
     33  [SameObject] static readonly attribute FrozenArray<DOMString> supportedEntryTypes;
     34 };
     35 
     36 dictionary PerformanceObserverCallbackOptions {
     37  unsigned long long droppedEntriesCount;
     38 };
     39 
     40 dictionary PerformanceObserverInit {
     41  sequence<DOMString> entryTypes;
     42  DOMString type;
     43  boolean buffered;
     44 };
     45 
     46 [Exposed=(Window,Worker)]
     47 interface PerformanceObserverEntryList {
     48  PerformanceEntryList getEntries();
     49  PerformanceEntryList getEntriesByType (DOMString type);
     50  PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type);
     51 };