chromium/third_party/blink/renderer/core/timing/performance_long_animation_frame_timing.idl

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/w3c/longtasks/blob/loaf-explainer/loaf-explainer.md
[Exposed=Window, RuntimeEnabled=LongAnimationFrameTiming]
interface PerformanceLongAnimationFrameTiming : PerformanceEntry {
    readonly attribute DOMHighResTimeStamp renderStart;
    readonly attribute DOMHighResTimeStamp styleAndLayoutStart;
    readonly attribute DOMHighResTimeStamp firstUIEventTimestamp;
    readonly attribute DOMHighResTimeStamp blockingDuration;
    [SameObject, SaveSameObject] readonly attribute FrozenArray<PerformanceScriptTiming> scripts;

    [CallWith=ScriptState, ImplementedAs=toJSONForBinding] object toJSON();
};