summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/timing/performance_event_timing.idl
blob: 951011e3318a41798a07c6b080c6751156b68a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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]
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();
};