LibWeb: Define PerformanceEventTiming

https://www.w3.org/TR/event-timing/#sec-performance-event-timing

Add idl, header and stubs for PerformanceEventTiming interface.

Two missing `PerformanceEntry` types that have come up in issues
are the `first-input` and the `event` entryTypes. Those are both
this.

Also, because both of those are this same interface, the static
methods from the parent class are difficult to implement because
of instance-specific details. Might either need subclasses or to
edit the parent and also everything that inherits from it :/
This commit is contained in:
Noah Bright 2024-09-22 15:12:55 -04:00 committed by Alexander Kalenik
commit d30ae92b82
Notes: github-actions[bot] 2024-10-08 01:45:50 +00:00
8 changed files with 217 additions and 0 deletions

View file

@ -4190,6 +4190,7 @@ static void generate_using_namespace_definitions(SourceGenerator& generator)
using namespace Web::DOMURL;
using namespace Web::Encoding;
using namespace Web::EntriesAPI;
using namespace Web::EventTiming;
using namespace Web::Fetch;
using namespace Web::FileAPI;
using namespace Web::Geometry;