blob: 3a535de0bcc07c7040a47a9c126f2d84ebe62f52 [file] [log] [blame]
// Copyright 2020 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/webappsec-feature-policy/document-policy.html#reporting
[
LegacyNoInterfaceObject
] interface DocumentPolicyViolationReportBody : ReportBody {
readonly attribute DOMString featureId;
readonly attribute DOMString? sourceFile;
readonly attribute unsigned long? lineNumber;
readonly attribute unsigned long? columnNumber;
readonly attribute DOMString disposition;
readonly attribute DOMString? message;
[CallWith=ScriptState] object toJSON();
};