blob: f1684d5eed1e6bcf09a8517605f4f86f8d968900 [file] [log] [blame]
// Copyright 2017 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://w3c.github.io/longtasks/#sec-TaskAttributionTiming
interface TaskAttributionTiming : PerformanceEntry {
[RuntimeEnabled=LongTaskV2] readonly attribute DOMString scriptURL;
readonly attribute DOMString containerType;
readonly attribute DOMString containerSrc;
readonly attribute DOMString containerId;
readonly attribute DOMString containerName;
// TODO(peria): toJSON is not in spec. https://crbug.com/736332
[CallWith=ScriptState, ImplementedAs=toJSONForBinding] object toJSON();
};