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

Unified Diff: Source/core/events/SecurityPolicyViolationEventInit.idl

Issue 1157923004: Sync the SecurityPolicyViolationEvent interface with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use [Measure] Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/events/SecurityPolicyViolationEvent.idl ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/SecurityPolicyViolationEventInit.idl
diff --git a/Source/core/events/SecurityPolicyViolationEventInit.idl b/Source/core/events/SecurityPolicyViolationEventInit.idl
index da5dc669bf07a64e03008c5b73d5943b4eeb6a2e..32ce1ba2350885af24b6fe03771d15e09e847597 100644
--- a/Source/core/events/SecurityPolicyViolationEventInit.idl
+++ b/Source/core/events/SecurityPolicyViolationEventInit.idl
@@ -5,14 +5,17 @@
// http://w3c.github.io/webappsec/specs/content-security-policy/#securitypolicyviolationevent-interface
dictionary SecurityPolicyViolationEventInit : EventInit {
+ // TODO(philipj): The spec says "documentURL".
DOMString documentURI;
DOMString referrer;
+ // TODO(philipj): The spec says "blockedURL".
DOMString blockedURI;
DOMString violatedDirective;
DOMString effectiveDirective;
DOMString originalPolicy;
DOMString sourceFile;
+ // FIXME: The spec says "statusCode" is a DOMString.
+ long statusCode;
long lineNumber;
long columnNumber;
- long statusCode;
};
« no previous file with comments | « Source/core/events/SecurityPolicyViolationEvent.idl ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698