mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:27:35 +00:00
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.
This commit is contained in:
parent
c99e35485a
commit
9e45594dc8
10 changed files with 176 additions and 2 deletions
|
@ -142,6 +142,10 @@ namespace Web::HighResolutionTime {
|
|||
class Performance;
|
||||
}
|
||||
|
||||
namespace Web::NavigationTiming {
|
||||
class PerformanceTiming;
|
||||
}
|
||||
|
||||
namespace Web::SVG {
|
||||
class SVGElement;
|
||||
class SVGGeometryElement;
|
||||
|
@ -274,6 +278,7 @@ class ImageDataWrapper;
|
|||
class LocationObject;
|
||||
class MouseEventWrapper;
|
||||
class NodeWrapper;
|
||||
class PerformanceTimingWrapper;
|
||||
class PerformanceWrapper;
|
||||
class ScriptExecutionContext;
|
||||
class SubmitEventWrapper;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue