11cb0ef41Sopenharmony_ci// GENERATED CONTENT - DO NOT EDIT 21cb0ef41Sopenharmony_ci// Content was automatically extracted by Reffy into webref 31cb0ef41Sopenharmony_ci// (https://github.com/w3c/webref) 41cb0ef41Sopenharmony_ci// Source: Performance Timeline Level 2 (https://w3c.github.io/performance-timeline/) 51cb0ef41Sopenharmony_ci 61cb0ef41Sopenharmony_cipartial interface Performance { 71cb0ef41Sopenharmony_ci PerformanceEntryList getEntries (); 81cb0ef41Sopenharmony_ci PerformanceEntryList getEntriesByType (DOMString type); 91cb0ef41Sopenharmony_ci PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type); 101cb0ef41Sopenharmony_ci}; 111cb0ef41Sopenharmony_citypedef sequence<PerformanceEntry> PerformanceEntryList; 121cb0ef41Sopenharmony_ci 131cb0ef41Sopenharmony_ci[Exposed=(Window,Worker)] 141cb0ef41Sopenharmony_ciinterface PerformanceEntry { 151cb0ef41Sopenharmony_ci readonly attribute DOMString name; 161cb0ef41Sopenharmony_ci readonly attribute DOMString entryType; 171cb0ef41Sopenharmony_ci readonly attribute DOMHighResTimeStamp startTime; 181cb0ef41Sopenharmony_ci readonly attribute DOMHighResTimeStamp duration; 191cb0ef41Sopenharmony_ci [Default] object toJSON(); 201cb0ef41Sopenharmony_ci}; 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_cicallback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries, 231cb0ef41Sopenharmony_ci PerformanceObserver observer, 241cb0ef41Sopenharmony_ci optional PerformanceObserverCallbackOptions options = {}); 251cb0ef41Sopenharmony_ci[Exposed=(Window,Worker)] 261cb0ef41Sopenharmony_ciinterface PerformanceObserver { 271cb0ef41Sopenharmony_ci constructor(PerformanceObserverCallback callback); 281cb0ef41Sopenharmony_ci undefined observe (optional PerformanceObserverInit options = {}); 291cb0ef41Sopenharmony_ci undefined disconnect (); 301cb0ef41Sopenharmony_ci PerformanceEntryList takeRecords(); 311cb0ef41Sopenharmony_ci [SameObject] static readonly attribute FrozenArray<DOMString> supportedEntryTypes; 321cb0ef41Sopenharmony_ci}; 331cb0ef41Sopenharmony_ci 341cb0ef41Sopenharmony_cidictionary PerformanceObserverCallbackOptions { 351cb0ef41Sopenharmony_ci unsigned long long droppedEntriesCount; 361cb0ef41Sopenharmony_ci}; 371cb0ef41Sopenharmony_ci 381cb0ef41Sopenharmony_cidictionary PerformanceObserverInit { 391cb0ef41Sopenharmony_ci sequence<DOMString> entryTypes; 401cb0ef41Sopenharmony_ci DOMString type; 411cb0ef41Sopenharmony_ci boolean buffered; 421cb0ef41Sopenharmony_ci}; 431cb0ef41Sopenharmony_ci 441cb0ef41Sopenharmony_ci[Exposed=(Window,Worker)] 451cb0ef41Sopenharmony_ciinterface PerformanceObserverEntryList { 461cb0ef41Sopenharmony_ci PerformanceEntryList getEntries(); 471cb0ef41Sopenharmony_ci PerformanceEntryList getEntriesByType (DOMString type); 481cb0ef41Sopenharmony_ci PerformanceEntryList getEntriesByName (DOMString name, optional DOMString type); 491cb0ef41Sopenharmony_ci}; 50