зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1033423 - CSP: Create CSPReport.webidl to generate JSON for CSP reports (r=bholley)
This commit is contained in:
Родитель
3545a68bc5
Коммит
0e466dd9a5
|
@ -0,0 +1,23 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/**
|
||||
* This dictionary holds the parameters used to send
|
||||
* CSP reports in JSON format.
|
||||
*/
|
||||
|
||||
dictionary CSPReportProperties {
|
||||
DOMString document-uri = "";
|
||||
DOMString referrer = "";
|
||||
DOMString blocked-uri = "";
|
||||
DOMString violated-directive = "";
|
||||
DOMString original-policy= "";
|
||||
DOMString source-file;
|
||||
DOMString script-sample;
|
||||
long line-number;
|
||||
};
|
||||
|
||||
dictionary CSPReport {
|
||||
CSPReportProperties csp-report;
|
||||
};
|
|
@ -70,6 +70,7 @@ WEBIDL_FILES = [
|
|||
'Contacts.webidl',
|
||||
'ConvolverNode.webidl',
|
||||
'Coordinates.webidl',
|
||||
'CSPReport.webidl',
|
||||
'CSS.webidl',
|
||||
'CSSPrimitiveValue.webidl',
|
||||
'CSSRuleList.webidl',
|
||||
|
|
Загрузка…
Ссылка в новой задаче