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:
autofoolip 2020-11-06 17:39:38 +00:00 коммит произвёл moz-wptsync-bot
Родитель dd66a0f971
Коммит 73425318ce
1 изменённых файлов: 3 добавлений и 2 удалений

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

@ -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;