mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +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
13
Userland/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl
Normal file
13
Userland/Libraries/LibWeb/UserTiming/PerformanceMeasure.idl
Normal file
|
@ -0,0 +1,13 @@
|
|||
#import <PerformanceTimeline/PerformanceEntry.idl>
|
||||
|
||||
[Exposed=(Window,Worker), UseNewAKString]
|
||||
interface PerformanceMeasure : PerformanceEntry {
|
||||
readonly attribute any detail;
|
||||
};
|
||||
|
||||
dictionary PerformanceMeasureOptions {
|
||||
any detail;
|
||||
(DOMString or DOMHighResTimeStamp) start;
|
||||
DOMHighResTimeStamp duration;
|
||||
(DOMString or DOMHighResTimeStamp) end;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue