mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-09 02:56:10 +00:00
LibWeb: Allow the Performance object to be used by workers
This commit is contained in:
parent
adf061a29c
commit
eebdc7bc88
Notes:
sideshowbarker
2024-07-17 16:42:19 +09:00
Author: https://github.com/tcl3
Commit: eebdc7bc88
Pull-request: https://github.com/SerenityOS/serenity/pull/23771
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/kalenikaliaksandr
Reviewed-by: https://github.com/shannonbooth
15 changed files with 49 additions and 32 deletions
|
@ -1,5 +1,6 @@
|
|||
#import <Fetch/Request.idl>
|
||||
#import <Fetch/Response.idl>
|
||||
#import <HighResolutionTime/Performance.idl>
|
||||
#import <HTML/MessagePort.idl>
|
||||
|
||||
// FIXME: Support VoidFunction in the IDL parser
|
||||
|
@ -38,4 +39,7 @@ interface mixin WindowOrWorkerGlobalScope {
|
|||
|
||||
// https://fetch.spec.whatwg.org/#fetch-method
|
||||
[NewObject] Promise<Response> fetch(RequestInfo input, optional RequestInit init = {});
|
||||
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
[Replaceable] readonly attribute Performance performance;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue