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.
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 alsoRetroSearch 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