COOPViolationReportBody: lineNumber property
The lineNumber
read-only property of the COOPViolationReportBody
interface indicates the line number in the source file that triggered the Cross-Origin-Opener-Policy (COEP) violation.
This property is used with COOPViolationReportBody.sourceFile
and COOPViolationReportBody.columnNumber
to indicate the location that triggered the violation.
Value
An integer containing the line number that triggered the violation.
Examples
Specifications
No specification found
No specification data found for api.COOPViolationReportBody.lineNumber
.
Check for problems with this page or contribute a missing spec_url
to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.