mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Implement performance interface extension for PerformanceResourceTiming
This commit is contained in:
parent
de09c8fb6e
commit
3ca82471c8
21 changed files with 122 additions and 73 deletions
|
@ -34,8 +34,15 @@ partial interface Performance {
|
|||
[Throws]
|
||||
void measure(DOMString measureName, optional DOMString startMark, optional DOMString endMark);
|
||||
void clearMeasures(optional DOMString measureName);
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
//https://w3c.github.io/resource-timing/#sec-extensions-performance-interface
|
||||
partial interface Performance {
|
||||
void clearResourceTimings ();
|
||||
void setResourceTimingBufferSize (unsigned long maxSize);
|
||||
attribute EventHandler onresourcetimingbufferfull;
|
||||
};
|
||||
// FIXME(avada): this should be deprecated, but is currently included for web compat
|
||||
// https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming/Overview.html#performance-timing-attribute
|
||||
[Exposed=(Window)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue