summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/timing/performance_event_timing.idl
blob: 364422b8d915cf7ee1cf5d7160f0d761bb14ec65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/wicg/event-timing
[
    Exposed=Window,
    RuntimeEnabled=EventTiming
] interface PerformanceEventTiming : PerformanceEntry {
    readonly attribute DOMHighResTimeStamp processingStart;
    readonly attribute DOMHighResTimeStamp processingEnd;
    readonly attribute boolean cancelable;

    // TODO(peria): toJSON is not in spec. https://crbug.com/736332
    [CallWith=ScriptState, ImplementedAs=toJSONForBinding] object toJSON();
};