Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: third_party/WebKit/Source/core/events/SecurityPolicyViolationEventInit.idl

Issue 2436003002: CSP: Add 'script-sample' to violation reports. (Closed)
Patch Set: Rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // https://w3c.github.io/webappsec-csp/#idl-index 5 // https://w3c.github.io/webappsec-csp/#idl-index
6 6
7 dictionary SecurityPolicyViolationEventInit : EventInit { 7 dictionary SecurityPolicyViolationEventInit : EventInit {
8 // TODO(foolip): The spec says "documentURL". 8 // TODO(foolip): The spec says "documentURL".
9 DOMString documentURI; 9 DOMString documentURI;
10 DOMString referrer; 10 DOMString referrer;
11 // TODO(foolip): The spec says "blockedURL". 11 // TODO(foolip): The spec says "blockedURL".
12 DOMString blockedURI; 12 DOMString blockedURI;
13 DOMString violatedDirective; 13 DOMString violatedDirective;
14 DOMString effectiveDirective; 14 DOMString effectiveDirective;
15 DOMString originalPolicy; 15 DOMString originalPolicy;
16 SecurityPolicyViolationEventDisposition disposition; 16 SecurityPolicyViolationEventDisposition disposition;
17 DOMString sourceFile; 17 DOMString sourceFile;
18 unsigned short statusCode; 18 unsigned short statusCode;
19 long lineNumber; 19 long lineNumber;
20 long columnNumber; 20 long columnNumber;
21
22 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] DOMString sample;
21 }; 23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698