зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
e9797543b7
Коммит
c7edf02501
|
@ -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"
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче