mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:37:47 +00:00
LibWeb: Implement performance.{measure,clearMeasures}
This commit is contained in:
parent
d088619560
commit
036e1e1bcf
10 changed files with 371 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
|||
#import <NavigationTiming/PerformanceTiming.idl>
|
||||
#import <PerformanceTimeline/PerformanceEntry.idl>
|
||||
#import <UserTiming/PerformanceMark.idl>
|
||||
#import <UserTiming/PerformanceMeasure.idl>
|
||||
|
||||
// https://www.w3.org/TR/performance-timeline/#dom-performanceentrylist
|
||||
typedef sequence<PerformanceEntry> PerformanceEntryList;
|
||||
|
@ -19,8 +20,8 @@ interface Performance : EventTarget {
|
|||
// "User Timing" extensions to the Performance interface
|
||||
PerformanceMark mark(DOMString markName, optional PerformanceMarkOptions markOptions = {});
|
||||
undefined clearMarks(optional DOMString markName);
|
||||
// FIXME: PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions = {}, optional DOMString endMark);
|
||||
// FIXME: undefined clearMeasures(optional DOMString measureName);
|
||||
PerformanceMeasure measure(DOMString measureName, optional (DOMString or PerformanceMeasureOptions) startOrMeasureOptions = {}, optional DOMString endMark);
|
||||
undefined clearMeasures(optional DOMString measureName);
|
||||
|
||||
// https://www.w3.org/TR/performance-timeline/#extensions-to-the-performance-interface
|
||||
// "Performance Timeline" extensions to the Performance interface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue