A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/Report/body below:

Report: body property - Web APIs

Value

A ReportBody object containing the detailed report information. Depending on what type the Report is, the object returned will actually be a DeprecationReportBody, InterventionReportBody, or CSPViolationReportBody. These all inherit from the base ReportBody class — study their reference pages for more information on what the particular report body types contain.

Examples
const options = {
  types: ["deprecation"],
  buffered: true,
};

const observer = new ReportingObserver(([firstReport], observer) => {
  // Log the first report's report body, i.e. a DeprecationReportBody object
  console.log(firstReport.body);
}, options);
Specifications Browser compatibility

Loading…

See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4