blob: 0d3ae7b0cb1e75851354592c20e60f08a47db718 [file] [log] [blame]
// Copyright 2019 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/LargestContentfulPaint
[Exposed=Window]
interface LargestContentfulPaint : PerformanceEntry {
readonly attribute DOMHighResTimeStamp renderTime;
readonly attribute DOMHighResTimeStamp loadTime;
readonly attribute unsigned long long size;
readonly attribute DOMString id;
readonly attribute DOMString url;
readonly attribute Element? element;
[CallWith=ScriptState, ImplementedAs=toJSONForBinding] object toJSON();
};