mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
User Timing API
This commit is contained in:
parent
f5e23a3a90
commit
8412f5403a
18 changed files with 272 additions and 13 deletions
|
@ -28,3 +28,14 @@ partial interface Performance {
|
|||
PerformanceEntryList getEntriesByName(DOMString name,
|
||||
optional DOMString type);
|
||||
};
|
||||
|
||||
// https://w3c.github.io/user-timing/#extensions-performance-interface
|
||||
[Exposed=(Window,Worker)]
|
||||
partial interface Performance {
|
||||
[Throws]
|
||||
void mark(DOMString markName);
|
||||
void clearMarks(optional DOMString markName);
|
||||
[Throws]
|
||||
void measure(DOMString measureName, optional DOMString startMark, optional DOMString endMark);
|
||||
void clearMeasures(optional DOMString measureName);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue