mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:58:11 +00:00
LibWeb: Partially implement 'relative high resolution time' AOs
This commit is contained in:
parent
caa13bf41d
commit
d8ebdef010
2 changed files with 30 additions and 0 deletions
|
@ -7,11 +7,15 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <LibJS/Forward.h>
|
||||
#include <LibWeb/HighResolutionTime/DOMHighResTimeStamp.h>
|
||||
|
||||
namespace Web::HighResolutionTime {
|
||||
|
||||
DOMHighResTimeStamp get_time_origin_timestamp(JS::Object const&);
|
||||
DOMHighResTimeStamp coarsen_time(DOMHighResTimeStamp timestamp, bool cross_origin_isolated_capability = false);
|
||||
DOMHighResTimeStamp relative_high_resolution_time(DOMHighResTimeStamp, JS::Object const&);
|
||||
DOMHighResTimeStamp relative_high_resolution_coarsen_time(DOMHighResTimeStamp, JS::Object const&);
|
||||
DOMHighResTimeStamp coarsened_shared_current_time(bool cross_origin_isolated_capability = false);
|
||||
DOMHighResTimeStamp unsafe_shared_current_time();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue