mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-01 00:38:48 +00:00
LibWeb: Add a time origin property for all ESOs
This acts as a baseline for performance related timestamps.
This commit is contained in:
parent
a8904451ff
commit
8963e62a5e
Notes:
github-actions[bot]
2025-01-27 13:54:41 +00:00
Author: https://github.com/tcl3
Commit: 8963e62a5e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3341
9 changed files with 29 additions and 5 deletions
|
@ -16,12 +16,12 @@ EnvironmentSettingsSnapshot::EnvironmentSettingsSnapshot(NonnullOwnPtr<JS::Execu
|
|||
, m_url(serialized_settings.api_base_url)
|
||||
, m_origin(serialized_settings.origin)
|
||||
, m_policy_container(serialized_settings.policy_container)
|
||||
, m_time_origin(serialized_settings.time_origin)
|
||||
{
|
||||
// Why can't we put these in the init list? grandparent class members are strange it seems
|
||||
this->id = serialized_settings.id;
|
||||
this->creation_url = serialized_settings.creation_url;
|
||||
this->top_level_creation_url = serialized_settings.top_level_creation_url;
|
||||
this->top_level_creation_url = serialized_settings.top_level_creation_url;
|
||||
}
|
||||
|
||||
// Out of line to ensure this class has a key function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue