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

Side by Side Diff: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 27 matching lines...) Expand all
38 // TODO(foolip): The spec says "blockedURL". 38 // TODO(foolip): The spec says "blockedURL".
39 [Measure] readonly attribute DOMString blockedURI; 39 [Measure] readonly attribute DOMString blockedURI;
40 readonly attribute DOMString violatedDirective; 40 readonly attribute DOMString violatedDirective;
41 readonly attribute DOMString effectiveDirective; 41 readonly attribute DOMString effectiveDirective;
42 readonly attribute DOMString originalPolicy; 42 readonly attribute DOMString originalPolicy;
43 readonly attribute SecurityPolicyViolationEventDisposition disposition; 43 readonly attribute SecurityPolicyViolationEventDisposition disposition;
44 readonly attribute DOMString sourceFile; 44 readonly attribute DOMString sourceFile;
45 [Measure] readonly attribute unsigned short statusCode; 45 [Measure] readonly attribute unsigned short statusCode;
46 readonly attribute long lineNumber; 46 readonly attribute long lineNumber;
47 readonly attribute long columnNumber; 47 readonly attribute long columnNumber;
48
49 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e DOMString sample;
48 }; 50 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698