mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Make Performance Timeline API work in Workers
This commit is contained in:
parent
449ffb23ac
commit
fb843c251a
20 changed files with 146 additions and 128 deletions
|
@ -26,5 +26,11 @@ interface WindowOrWorkerGlobalScope {
|
|||
// ImageBitmapSource image, long sx, long sy, long sw, long sh, optional ImageBitmapOptions options);
|
||||
};
|
||||
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
partial interface WindowOrWorkerGlobalScope {
|
||||
[Replaceable]
|
||||
readonly attribute Performance performance;
|
||||
};
|
||||
|
||||
Window implements WindowOrWorkerGlobalScope;
|
||||
WorkerGlobalScope implements WindowOrWorkerGlobalScope;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue