mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37: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
|
@ -185,6 +185,7 @@ set(SOURCES
|
|||
Loader/Resource.cpp
|
||||
Loader/ResourceLoader.cpp
|
||||
Namespace.cpp
|
||||
NavigationTiming/PerformanceTiming.cpp
|
||||
OutOfProcessWebView.cpp
|
||||
Page/EventHandler.cpp
|
||||
Page/EditEventHandler.cpp
|
||||
|
@ -365,6 +366,7 @@ libweb_js_wrapper(HTML/HTMLVideoElement)
|
|||
libweb_js_wrapper(HTML/ImageData)
|
||||
libweb_js_wrapper(HTML/SubmitEvent)
|
||||
libweb_js_wrapper(HighResolutionTime/Performance)
|
||||
libweb_js_wrapper(NavigationTiming/PerformanceTiming)
|
||||
libweb_js_wrapper(SVG/SVGElement)
|
||||
libweb_js_wrapper(SVG/SVGGeometryElement)
|
||||
libweb_js_wrapper(SVG/SVGGraphicsElement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue