mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
12 lines
308 B
Plaintext
12 lines
308 B
Plaintext
#import <DOM/EventTarget.idl>
|
|
#import <NavigationTiming/PerformanceTiming.idl>
|
|
|
|
// https://w3c.github.io/hr-time/#sec-performance
|
|
[Exposed=(Window, Worker)]
|
|
interface Performance : EventTarget {
|
|
double now();
|
|
readonly attribute double timeOrigin;
|
|
|
|
readonly attribute PerformanceTiming timing;
|
|
};
|