зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1504948 [wpt PR 13945] - Update interfaces/CSP.idl, a=testonly
Automatic update from web-platform-testsUpdate interfaces/CSP.idl (#13945) Source: https://github.com/tidoust/reffy-reports/blob/1cc7aad/whatwg/idl/CSP.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/451237946 -- wpt-commits: 56f275e1e37863da0ea16c941588bcb923857f3e wpt-pr: 13945
This commit is contained in:
Родитель
c734ec11a3
Коммит
e113ab8686
|
@ -10,31 +10,34 @@ enum SecurityPolicyViolationEventDisposition {
|
|||
[Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict),
|
||||
Exposed=(Window,Worker)]
|
||||
interface SecurityPolicyViolationEvent : Event {
|
||||
readonly attribute USVString documentURI;
|
||||
readonly attribute USVString documentURL;
|
||||
readonly attribute USVString documentURI; // historical alias of documentURL
|
||||
readonly attribute USVString referrer;
|
||||
readonly attribute USVString blockedURI;
|
||||
readonly attribute DOMString violatedDirective;
|
||||
readonly attribute USVString blockedURL;
|
||||
readonly attribute USVString blockedURI; // historical alias of blockedURL
|
||||
readonly attribute DOMString effectiveDirective;
|
||||
readonly attribute DOMString violatedDirective; // historical alias of 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;
|
||||
readonly attribute unsigned long lineno;
|
||||
readonly attribute unsigned long lineNumber; // historical alias of lineno
|
||||
readonly attribute unsigned long colno;
|
||||
readonly attribute unsigned long columnNumber; // historical alias of colno
|
||||
};
|
||||
|
||||
dictionary SecurityPolicyViolationEventInit : EventInit {
|
||||
required USVString documentURI;
|
||||
required USVString documentURL;
|
||||
USVString referrer = "";
|
||||
USVString blockedURI = "";
|
||||
required DOMString violatedDirective;
|
||||
USVString blockedURL = "";
|
||||
required DOMString effectiveDirective;
|
||||
required DOMString originalPolicy;
|
||||
USVString sourceFile = "";
|
||||
DOMString sample = "";
|
||||
required SecurityPolicyViolationEventDisposition disposition;
|
||||
required unsigned short statusCode;
|
||||
unsigned long lineNumber = 0;
|
||||
unsigned long columnNumber = 0;
|
||||
unsigned long lineno = 0;
|
||||
unsigned long colno = 0;
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче