Closed shhnjk closed 9 months ago
Never mind, this has been taken care in the reporting API. https://www.w3.org/TR/reporting-1/#queue-report
Yes, sorry I didn't get to this right away; the outer report envelope has some of the universally-useful information that isn't report-type-specific.
The current report structure has a sourceFile. However, the script might be a third-party library, where the site owner does not know where this script is being executed.
The report should include a document URL, which indicates the URL of the document where the violation occured.