| // 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(); |
| }; |