LibWeb: Add the EpochTimestamp IDL typedef

This commit is contained in:
Jelle Raaijmakers 2025-06-19 14:13:18 +02:00 committed by Jelle Raaijmakers
commit 63fd4cf9e4
Notes: github-actions[bot] 2025-06-21 08:01:41 +00:00
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/*
* Copyright (c) 2025, Jelle Raaijmakers <jelle@ladybird.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibWeb/WebIDL/Types.h>
namespace Web::HighResolutionTime {
// https://www.w3.org/TR/hr-time-3/#the-epochtimestamp-typedef
using EpochTimeStamp = WebIDL::UnsignedLongLong;
}

View file

@ -0,0 +1,2 @@
// https://www.w3.org/TR/hr-time-3/#the-epochtimestamp-typedef
typedef unsigned long long EpochTimeStamp;