зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1675331 [wpt PR 26395] - Update interfaces/CSP.idl, a=testonly
Automatic update from web-platform-tests Update interfaces/CSP.idl (#26395) Source: https://github.com/w3c/webref/blob/41c9dd7/ed/idl/CSP.idl Build: https://travis-ci.org/w3c/webref/builds/198293066 -- wpt-commits: 8719553b2dd8f0f39d38253ccac2ee9ab4d6c87b wpt-pr: 26395
This commit is contained in:
Родитель
dd66a0f971
Коммит
73425318ce
|
@ -3,6 +3,7 @@
|
|||
// (https://github.com/w3c/webref)
|
||||
// Source: Content Security Policy Level 3 (https://w3c.github.io/webappsec-csp/)
|
||||
|
||||
[Exposed=Window]
|
||||
interface CSPViolationReportBody : ReportBody {
|
||||
readonly attribute USVString documentURL;
|
||||
readonly attribute USVString? referrer;
|
||||
|
@ -21,9 +22,9 @@ enum SecurityPolicyViolationEventDisposition {
|
|||
"enforce", "report"
|
||||
};
|
||||
|
||||
[Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict),
|
||||
Exposed=(Window,Worker)]
|
||||
[Exposed=(Window,Worker)]
|
||||
interface SecurityPolicyViolationEvent : Event {
|
||||
constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict = {});
|
||||
readonly attribute USVString documentURL;
|
||||
readonly attribute USVString documentURI; // historical alias of documentURL
|
||||
readonly attribute USVString referrer;
|
||||
|
|
Загрузка…
Ссылка в новой задаче