| OLD | NEW |
| 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 // http://w3c.github.io/webappsec/specs/content-security-policy/#securitypolicyv
iolationevent-interface | 5 // http://w3c.github.io/webappsec/specs/content-security-policy/#securitypolicyv
iolationevent-interface |
| 6 | 6 |
| 7 dictionary SecurityPolicyViolationEventInit : EventInit { | 7 dictionary SecurityPolicyViolationEventInit : EventInit { |
| 8 // TODO(philipj): The spec says "documentURL". | 8 // TODO(philipj): The spec says "documentURL". |
| 9 DOMString documentURI; | 9 DOMString documentURI; |
| 10 DOMString referrer; | 10 DOMString referrer; |
| 11 // TODO(philipj): The spec says "blockedURL". | 11 // TODO(philipj): 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 DOMString sourceFile; | 16 DOMString sourceFile; |
| 17 // FIXME: The spec says "statusCode" is a DOMString. | 17 unsigned short statusCode; |
| 18 long statusCode; | |
| 19 long lineNumber; | 18 long lineNumber; |
| 20 long columnNumber; | 19 long columnNumber; |
| 21 }; | 20 }; |
| OLD | NEW |