ladybird/Userland/Libraries/LibWeb/HighResolutionTime/Performance.idl
Andreas Kling 9e45594dc8 LibWeb: Stub out the PerformanceTiming object from Navigation Timing
Just have all the timing functions return 0 for now.

We can now run the Shynet JS on https://linus.dev/ although the XHR
is rejected by our same-origin policy.
2021-01-18 15:11:20 +01:00

6 lines
151 B
Text

interface Performance : EventTarget {
double now();
readonly attribute double timeOrigin;
readonly attribute PerformanceTiming timing;
};