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

Unified Diff: Source/core/events/SecurityPolicyViolationEvent.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 | « no previous file | Source/core/events/SecurityPolicyViolationEventInit.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/SecurityPolicyViolationEvent.idl
diff --git a/Source/core/events/SecurityPolicyViolationEvent.idl b/Source/core/events/SecurityPolicyViolationEvent.idl
index 2ad7d88ebd8bac608bd52dbb60405d1c8fd55cad..f3984a53cfa267e5d1c2f9832d71e9c652fad73b 100644
--- a/Source/core/events/SecurityPolicyViolationEvent.idl
+++ b/Source/core/events/SecurityPolicyViolationEvent.idl
@@ -27,15 +27,17 @@
[
Constructor(DOMString type, optional SecurityPolicyViolationEventInit eventInitDict),
] interface SecurityPolicyViolationEvent : Event {
- readonly attribute DOMString documentURI;
+ // TODO(philipj): The spec says "documentURL".
+ [Measure] readonly attribute DOMString documentURI;
readonly attribute DOMString referrer;
- readonly attribute DOMString blockedURI;
+ // TODO(philipj): The spec says "blockedURL".
+ [Measure] readonly attribute DOMString blockedURI;
readonly attribute DOMString violatedDirective;
readonly attribute DOMString effectiveDirective;
readonly attribute DOMString originalPolicy;
readonly attribute DOMString sourceFile;
+ // FIXME: The spec says "statusCode" is a DOMString.
+ [Measure] readonly attribute long statusCode;
readonly attribute long lineNumber;
readonly attribute long columnNumber;
- // FIXME: The spec says "statusCode" is a DOMString.
- readonly attribute long statusCode;
};
« no previous file with comments | « no previous file | Source/core/events/SecurityPolicyViolationEventInit.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698