Bug 1537693 [wpt PR 15856] - Update interfaces/CSP.idl, a=testonly

Automatic update from web-platform-tests
Update interfaces/CSP.idl (#15856)

Source: https://github.com/tidoust/reffy-reports/blob/e0218fe/whatwg/idl/CSP.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/506822321
--

wpt-commits: 188f55058e37c172cc1e40c359a32e118024a252
wpt-pr: 15856
This commit is contained in:
autofoolip 2019-04-18 11:58:42 +00:00 коммит произвёл James Graham
Родитель e9797543b7
Коммит c7edf02501
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -3,6 +3,20 @@
// (https://github.com/tidoust/reffy-reports)
// Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/)
interface CSPViolationReportBody : ReportBody {
readonly attribute USVString documentURL;
readonly attribute USVString? referrer;
readonly attribute USVString? blockedURL;
readonly attribute DOMString effectiveDirective;
readonly attribute DOMString originalPolicy;
readonly attribute USVString? sourceFile;
readonly attribute DOMString? sample;
readonly attribute SecurityPolicyViolationEventDisposition disposition;
readonly attribute unsigned short statusCode;
readonly attribute unsigned long? lineNumber;
readonly attribute unsigned long? columnNumber;
};
enum SecurityPolicyViolationEventDisposition {
"enforce", "report"
};